I need more information on what you have and what you did to advise correctly. Can I see it live?
It might just be a case of removing the logo div from /includes/templates/your_template/common/tpl_header.php.
I need more information on what you have and what you did to advise correctly. Can I see it live?
It might just be a case of removing the logo div from /includes/templates/your_template/common/tpl_header.php.
Last edited by gjh42; 18 Mar 2014 at 07:12 PM.
Thanks for the reply Glenn,
My site is currently set at "down for maintenance" so it only shows the main page. I'll have to make it live when I get in this evening. In the meantime, here's the link: f o x x y d i v a dot com /fashions
Glen - loving the mod thank you - and just so people know this works on my new 1.5.4 shop :)
Anyway I was wondering if it is possible to make it work with sub-cats - or rather what is happening is that if I go via menu I get a _448 sub cat - works! but if I go via home page the sub cat is actually 7_448 and therefore doesn't show it, or rather is looking for the banner _7 not _7_448
Is it possible to have _448 & 7_448 both showing same banner?
Oh code I am using:
this just adds a large banner to the relevant page - no CSS needed :)PHP Code:<?php
//Smart Backgrounds
$smart_image = '';
if (($current_page_base == 'index' and $_GET[cPath] != 0) or $current_page_base == 'product_info') { //add _ and top cat id to js filename
$smart_image = '_' . (int)$_GET[cPath];
}
// /Smart Backgrounds
?>
<?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . 'smartbanners' . smart_backgrounds('.jpg', 'sidebox') . $smart_image . '.jpg', '');?></div>
Not sure if you are still modding this plugin :) if not I will apply more brain power tomorrow
Thanks
Sarah
just to say - all sorted :)
code below incase anyone else needs it
Great mod thank you! I will give it a whirl trying to fit with banner module too - to save FTP'ing new images but that isn't such a big deal :)PHP Code:<?php
$smart_image = (file_exists(DIR_WS_TEMPLATE_IMAGES . 'smartbanners_' . $_GET['cPath'] . '.jpg'))?'_' . $_GET['cPath']:'';
?>
<?php echo zen_image(DIR_WS_TEMPLATE_IMAGES . 'smartbanners' . smart_backgrounds('.jpg', 'sidebox') . $smart_image . '.jpg', '');?></div>
Sarah