
Originally Posted by
briandroberts
I have seen several questions in this forum about how to turn off the Header Sales Text. My problem is that I cannot turn it on.
In "includes/languages/english/MY TEMPLATE/header.php", I have included this:
define('HEADER_SALES_TEXT', 'Phone +44 (1273) xxx xxx');
I want this text to appear to the right of the Brats logo in
http://d157011.u42.jswebconsole.co.uk/ but it does not appear anywhere.
I'd be grateful for any help.
open includes/templates/YOUR_TEMPLATE/common/tpl_header.php
make sure the following section of code is present.
PHP Code:
<?php if (HEADER_SALES_TEXT != '' || (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2))) { ?>
<div id="taglineWrapper">
<?php
if (HEADER_SALES_TEXT != '') {
?>
<div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
<?php
}
?>
<?php
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
?>
<div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
<?php
}
}
?>
</div>
<?php } // no HEADER_SALES_TEXT or SHOW_BANNERS_GROUP_SET2 ?>