anjellenee Posted December 30, 2006 Share Posted December 30, 2006 Hi, Somethings gone wrong with the language printout for my index page. See: http://shopatindigo.com/index.php?cPath=1_...17762b2d4qd4ko5 and notice how the HEADER_TITLE is not displayign the header text. It works fine if you are not in the nested category. Ive done a file compare with a stock file and dont see the differenc yet. If anyone can help please do Link to comment Share on other sites More sharing options...
Barbie Posted December 30, 2006 Share Posted December 30, 2006 Hi,Somethings gone wrong with the language printout for my index page. See: http://shopatindigo.com/index.php?cPath=1_...17762b2d4qd4ko5 and notice how the HEADER_TITLE is not displayign the header text. It works fine if you are not in the nested category. Ive done a file compare with a stock file and dont see the differenc yet. If anyone can help please do Looking at it it seems you haven't defined in (catalog)/includes/languages/english/index.php those terms, as the main index page looks for the definitions for those fields in each language file. Your catalog index page has this : <!-- left_navigation_eof //--> </table></td> <!-- body_text //--> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="10" cellpadding="10"> <tr> <td class="pageHeading">HEADING_TITLE</td> <td align="right"></td> </tr> </table></td> </tr> <tr> <td><img src="images/pixel_trans.gif" width="1" height="1" border="0" alt=" "></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2" class="productListing"> <tr class="productListing-odd"> <td class="productListing-data">TEXT_NO_PRODUCTS</td> ...which is looking for those elements HEADING_TITLE and TEXT_NO_PRODUCTS defined in the language files. Once you go to (catalog)/includes/languages/english/index.php you will find all the "defines" to complete. Link to comment Share on other sites More sharing options...
anjellenee Posted December 31, 2006 Author Share Posted December 31, 2006 I dont think thats the problem because the definitions work everywhere else but there. For example BOX_WIDTH is a defined param, but it comes across, as do the directory names. Looking at it it seems you haven't defined in (catalog)/includes/languages/english/index.php those terms, as the main index page looks for the definitions for those fields in each language file. Your catalog index page has this : Link to comment Share on other sites More sharing options...
anjellenee Posted December 31, 2006 Author Share Posted December 31, 2006 I found the problem to be in my language file. Where it said: if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) { I had a typo in there. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.