toby1 Posted April 29, 2008 Posted April 29, 2008 Hi I have a problem that when my start page loads the navigation bar shows [ HEADER_TITLE_Home] and [HEADER_TITLE_Shop].Instead of just "home" and "Shop" The source looks like this: class="headerNavigation">HEADER_TITLE_Home</a> » <a href="http://www.firststopfurniture.co.uk/catalog/index.php?osCsid=d873623ecae8848a04419ef3c0822429" class="headerNavigation">HEADER_TITLE_Shop</a></td> <td align="right" class="headerNavigation"><a I realise that I have to find the HEADER_TITLE part and erase it. But I can't find where it is?. Can anybody advise? Thanks for looking
♥geoffreywalton Posted April 29, 2008 Posted April 29, 2008 Sounds like you need to look in /includes/languages/english.php Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile Virus Threat Scanner My Contributions Basic install answers. Click here for Contributions / Add Ons. UK your site. Site Move. Basic design info. For links mentioned in old answers that are no longer here follow this link Useful Threads. If this post was useful, click the Like This button over there ======>>>>>.
toby1 Posted April 29, 2008 Author Posted April 29, 2008 Sounds like you need to look in /includes/languages/english.php Hi I have looked there and even erased the [DEFINE_HEADER_TITLE_Home' ; Home] line .... but it still appears on the navigation bar? I have traced it to the Class = "Headernavigation" in the Header.php it inserts <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ? It appears that from looking at the source the part [<?php echo $breadcrumb->trail] is where it inserts the HEADER_TITLE_Home line instead of just Home ...... ditto for shop.
toby1 Posted April 30, 2008 Author Posted April 30, 2008 Hi I have looked there and even erased the [DEFINE_HEADER_TITLE_Home' ; Home] line .... but it still appears on the navigation bar? I have traced it to the Class = "Headernavigation" in the Header.php it inserts <tr class="headerNavigation"> <td class="headerNavigation"> <?php echo $breadcrumb->trail(' » '); ?></td> <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ? It appears that from looking at the source the part [<?php echo $breadcrumb->trail] is where it inserts the HEADER_TITLE_Home line instead of just Home ...... ditto for shop. Is This Uncureable ?
usernamenone Posted April 30, 2008 Posted April 30, 2008 open your includes>header.php and make sure your code on line 64 is: <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> Then open your includes>languages>english.php file and make sure your lines 55 and 56 looks: define('HEADER_TITLE_TOP', 'Home'); define('HEADER_TITLE_CATALOG', 'Shop');
toby1 Posted April 30, 2008 Author Posted April 30, 2008 open your includes>header.php and make sure your code on line 64 is: <td align="right" class="headerNavigation"><?php if (tep_session_is_registered('customer_id')) { ?><a href="<?php echo tep_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_LOGOFF; ?></a> | <?php } ?><a href="<?php echo tep_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a> | <a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a> | <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>" class="headerNavigation"><?php echo HEADER_TITLE_CHECKOUT; ?></a> </td> Then open your includes>languages>english.php file and make sure your lines 55 and 56 looks: define('HEADER_TITLE_TOP', 'Home'); define('HEADER_TITLE_CATALOG', 'Shop'); Thank you Lola ..... all that checks out fine. The English php file showed HEADER_TITLE_HOME for 'Home'. Changing this to TOP has made no difference and even still shows HEADER_TITLE_HOME in the frontpage source code.??
toby1 Posted April 30, 2008 Author Posted April 30, 2008 Thank you Lola ..... all that checks out fine. The English php file showed HEADER_TITLE_HOME for 'Home'. Changing this to TOP has made no difference and even still shows HEADER_TITLE_HOME in the frontpage source code.?? The problem can be clearly seen at www.Firststopfurniture.co.uk ........... Thanks
toby1 Posted April 30, 2008 Author Posted April 30, 2008 The problem can be clearly seen at www.Firststopfurniture.co.uk ........... Thanks Surely it can't be uncureable ..........
jaybee1960 Posted April 30, 2008 Posted April 30, 2008 Surely it can't be uncureable .......... You can always delete the header by writing over it altogether This will cure the problem for you Open up header.php and simply delete all that is in it Then add the following <center> <IMG SRC="http://www.firststopfurniture.co.uk/catalog/images/Furn.gif" border=0> </center> This will display your header banner, but without the annoying text under it MAKE SURE TO BACK UP YOUR ORIGINAL FILE
peuge Posted April 30, 2008 Posted April 30, 2008 Change in it application_top.php Around Line 479: $breadcrumb->add(HEADER_TITLE_TOP, HTTP_SERVER); $breadcrumb->add(HEADER_TITLE_CATALOG, tep_href_link(FILENAME_DEFAULT)); Is that like the above?
Guest Posted April 30, 2008 Posted April 30, 2008 please do not use any hard links to your site, it will only give you headaches on trying to find the problem when you start using an ssl certificate, let osCommerce handle the http/https portion, you just handle the images section. look in your source code, you can replase the reference to an image very easily if you read the code on the specific page.
usernamenone Posted May 1, 2008 Posted May 1, 2008 Then you have deleted language files and folder other than english. Replace those language folders and you have fixed you header text issues.
toby1 Posted May 1, 2008 Author Posted May 1, 2008 Then you have deleted language files and folder other than english. Replace those language folders and you have fixed you header text issues. Thank you peuge changing the application top php solved the problem. Again many thanks to all who replied.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.