Negative, it has to replace the default LOGO Link Line in your
theme/template/common/header.tpl File.
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Code: Select all
<?php
/******************************************************
* @package Pav Opencart Theme Framework for Opencart 1.5.x
* @version 1.1
* @author http://www.pavothemes.com
* @copyright Copyright (C) Augus 2013 PavoThemes.com <@emai:pavothemes@gmail.com>.All rights reserved.
* @license GNU General Public License version 2
*******************************************************/
// $this->language->load('module/themecontrol');
$themeName = $sconfig->get('theme_default_directory');
$themeConfig = array_merge( array('header' => ''), $sconfig->get('themecontrol') );
/* Add scripts files */
$helper->addScript( 'catalog/view/javascript/jquery/jquery-2.1.1.min.js' );
$helper->addScript('catalog/view/javascript/jquery/magnific/jquery.magnific-popup.min.js');
$helper->addScript( 'catalog/view/javascript/bootstrap/js/bootstrap.min.js' );
$helper->addScript( 'catalog/view/javascript/common.js' );
$helper->addScript( 'catalog/view/theme/'.$themeName.'/javascript/common.js' );
$helper->addScript('catalog/view/javascript/jquery/owl-carousel/owl.carousel.min.js');
$helper->addScript('catalog/view/javascript/pavdeals/countdown.js');
if( isset($themeConfig['catalog_mode']) && $themeConfig['catalog_mode'] ){
$cart = null;
}
$logoType = $helper->getConfig('logo_type','logo-theme');
$headerlayout = $helper->getConfig('header');
$template_layout = $helper->getConfig('template_layout');
$skin = $helper->getConfig('skin');
if( $helper->getConfig('enable_paneltool') ){
if( $helper->getParam('headerlayout') ){
$headerlayout = $helper->getParam('headerlayout');
}
if($helper->getParam('layout')){
$template_layout = $helper->getParam('layout');
}
$helper->addCss( 'catalog/view/theme/'.$themeName.'/stylesheet/paneltool.css' );
$helper->addScript( 'catalog/view/javascript/jquery/colorpicker/js/colorpicker.js' );
$helper->addCss( 'catalog/view/javascript/jquery/colorpicker/css/colorpicker.css' );
}
$helper->addScriptList( $scripts );
$ctheme=$helper->getConfig('customize_theme');
if( file_exists(DIR_TEMPLATE.$themeName.'/stylesheet/customize/'.$ctheme.'.css') ) {
$helper->addCss( 'catalog/view/theme/'.$themeName.'/stylesheet/customize/'.$ctheme.'.css' );
}
$helper->addCss( 'catalog/view/javascript/font-awesome/css/font-awesome.min.css' );
if( file_exists(DIR_TEMPLATE.$themeName.'/stylesheet/animate.css') ) {
$helper->addCss( 'catalog/view/theme/'.$themeName.'/stylesheet/animate.css' );
}
$helper->addCss('catalog/view/javascript/jquery/magnific/magnific-popup.css');
$helper->addCss('catalog/view/javascript/jquery/owl-carousel/owl.carousel.css');
$helper->addCss( 'catalog/view/theme/'.$themeName.'/stylesheet/fonts.css' );
$helper->addCssList( $styles );
$logoType = $helper->getConfig('logo_type','logo-theme');
?>
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="<?php echo $direction; ?>" lang="<?php echo $lang; ?>" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="<?php echo $helper->getDirection(); ?>" class="<?php echo $helper->getDirection(); ?>" lang="<?php echo $lang; ?>">
<!--<![endif]-->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title><?php echo $title; ?></title>
<link href='https://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/material-design-iconic-font/2.2.0/css/material-design-iconic-font.min.css">
<base href="https://www.lovesuperstore.co.uk/"><?php echo $base; ?>
<?php if ($description) { ?>
<meta name="description" content="<?php echo $description; ?>
<?php } ?>
<?php if ($keywords) { ?>
<meta name="keywords" content= "<?php echo $keywords; ?>" />
<?php } ?>
<?php foreach ($links as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<?php foreach ($helper->getCssLinks() as $link) { ?>
<link href="<?php echo $link['href']; ?>" rel="<?php echo $link['rel']; ?>" />
<?php } ?>
<?php foreach( $helper->getScriptFiles() as $script ) { ?>
<script type="text/javascript" src="<?php echo $script; ?>"></script>
<?php } ?>
<!-- FONT -->
<?php
if( isset($themeConfig['enable_customfont']) && $themeConfig['enable_customfont'] ){
$css=array();
$link = array();
for( $i=1; $i<=3; $i++ ){
if( trim($themeConfig['google_url'.$i]) && $themeConfig['type_fonts'.$i] == 'google' ){
$link[] = '<link rel="stylesheet" type="text/css" href="'.trim($themeConfig['google_url'.$i]) .'"/>';
$themeConfig['normal_fonts'.$i] = $themeConfig['google_family'.$i];
}
}
echo implode( "\r\n",$link );
?>
<style>
body {font-family: <?php echo $themeConfig['normal_fonts1']; ?>; font-size: <?php echo $themeConfig['fontsize1']; ?>}
#header-main {font-family: <?php echo $themeConfig['normal_fonts2']; ?>; font-size: <?php echo $themeConfig['fontsize2']; ?>}
#module-container {font-family: <?php echo $themeConfig['normal_fonts3']; ?>; font-size: <?php echo $themeConfig['fontsize3']; ?>}
<?php
if( trim($themeConfig['body_selector4']) && trim($themeConfig['normal_fonts4']) ){
$css[]= trim($themeConfig['body_selector4'])." {font-family:".str_replace("'",'"',htmlspecialchars_decode(trim($themeConfig['normal_fonts4'])))."}\r\n" ;
}
echo implode("\r\n",$css);
?>
</style>
<?php } ?>
<!-- FONT -->
<?php foreach ($analytics as $analytic) { ?>
<?php echo $analytic; ?>
<?php } ?>
<?php if( isset($themeConfig['theme_width']) && $themeConfig['theme_width'] && $themeConfig['theme_width'] != 'auto' ) { ?>
<style> #page .container{max-width:<?php echo $themeConfig['theme_width'];?>; width:auto;} </style>
<?php } ?>
</head>
<body class="<?php echo $class; ?> <?php echo $helper->getPageClass();?>">
<div class="row-offcanvas row-offcanvas-left layout-<?php echo $template_layout; ?>">
<div id="page">
<!-- header -->
<?php
if( file_exists($helper->getLayoutPath('common/header/'.$headerlayout.'.tpl')) ) {
require( $helper->getLayoutPath('common/header/'.$headerlayout.'.tpl') );
}else {
require( ThemeControlHelper::getLayoutPath( 'common/header/version-1.tpl' ) );
}
?>
<!-- /header -->
<!-- sys-notification -->
<div id="sys-notification">
<div class="container">
<div id="notification"></div>
</div>
</div>
<!-- /sys-notification -->
<?php
/**
* Showcase modules
* $ospans allow overrides width of columns base on thiers indexs. format array( column-index=>span number ), example array( 1=> 3 )[value from 1->12]
*/
//$modules = $helper->getCloneModulesInLayout( $blockid, $layoutID );
$blockid = 'slideshow';
$blockcls = "hidden-xs hidden-sm";
$ospans = array(1=>12);
require( ThemeControlHelper::getLayoutPath( 'common/block-cols.tpl' ) );
?>
<?php
/**
* Showcase modules
* $ospans allow overrides width of columns base on thiers indexs. format array( column-index=>span number ), example array( 1=> 3 )[value from 1->12]
*/
$blockid = 'showcase';
$blockcls = 'hidden-xs hidden-sm';
$ospans = array(1=>12);
require( ThemeControlHelper::getLayoutPath( 'common/block-cols.tpl' ) );
?>
<?php
/**
* promotion modules
* $ospans allow overrides width of columns base on thiers indexs. format array( column-index=>span number ), example array( 1=> 3 )[value from 1->12]
*/
$blockid = 'promotion';
$blockcls = "hidden-xs hidden-sm";
$ospans = array(1=>12, 2=>12);
require( ThemeControlHelper::getLayoutPath( 'common/block-cols.tpl' ) );
?>
Google says my sitemap has come up with 4,370 errors which are listed:
URL: image/cache/data/products/W11015011x1-0-1-1-500x500.jpg
Parent tag: image
Tag: loc
1
Jul 28, 2017
URL: image/cache/catalog/Sales/074730x1-500x500-0-1-1-500x500.jpg
Parent tag: image
Tag: loc
1
Jul 28, 2017
URL: image/cache/data/products/SE-0088-10-3x1-0-1-1-500x500.jpg
Parent tag: image
Tag: loc
1
Jul 28, 2017
Any ideas guys?
Looks like my other thread got deleted
So on google sitemaps i am getting this?
Invalid URL
This is not a valid URL. Please correct it and resubmit.
4,374
I've cleaned out each cache possible? Any ideas?
So on google sitemaps i am getting this?
Invalid URL
This is not a valid URL. Please correct it and resubmit.
4,374
I've cleaned out each cache possible? Any ideas?
Attachments
imageerror.jpg (52.7 KiB) Viewed 784 times
Well, Google cannot find the images, because the Image links do NOT reflect a full
valid URL, but exist only as "image/cache/demo/whatever_image.xxx" Link,
missing the "http:// www. site url / shopsubname/" part of this href-link.
---
But you better contact Pavo-Themes about such, they have their very unique way, to
build their OC Extensions, so, only one could assist, beeing familiar with such a
rather unique Way of coding custom OC Extensions/Themes.
Good Luck
Ernie
valid URL, but exist only as "image/cache/demo/whatever_image.xxx" Link,
missing the "http:// www. site url / shopsubname/" part of this href-link.
---
But you better contact Pavo-Themes about such, they have their very unique way, to
build their OC Extensions, so, only one could assist, beeing familiar with such a
rather unique Way of coding custom OC Extensions/Themes.
Good Luck
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Who is online
Users browsing this forum: Bing [Bot], FazalFariz and 109 guests