darkeye78x Posted April 12, 2007 Posted April 12, 2007 Hello, in the adminarea I wrote text into the field 'Header Tags Categories Description'. But the text don't appears on my shop in the category-site. Where could be the problem? Greetz Dan Quote
Jack_mcs Posted April 12, 2007 Posted April 12, 2007 If you go back and look in the admin->Catalog section and can see the change you made, then the problem would have to be in the index.php file. Either you didn't make the code change or it is not made correctly. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
darkeye78x Posted April 12, 2007 Author Posted April 12, 2007 (edited) Thanks for the answer! I remember, I had problems with replacing some codes in the index.php. Some codes I couldn'd find... I had problems with these both codes: Around line 78: Find <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> and replace it with <td><h1><?php echo $category['categories_htc_title_tag']; ?></h1></td> <td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . $category['categories_image'], $category['categories_name'], HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> <?php if (tep_not_null($category['categories_htc_description'])) { ?> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><h2><?php echo $category['categories_htc_description']; ?></h2></td> </tr> <?php } ?> ============================================= Around line 247: Find ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> and replace it with if (isset($HTTP_GET_VARS['manufacturers_id'])) $db_query = tep_db_query("select manufacturers_htc_title_tag as htc_title, manufacturers_htc_description as htc_description from " . TABLE_MANUFACTURERS_INFO . " where languages_id = '" . (int)$languages_id . "' and manufacturers_id = '" . (int)$HTTP_GET_VARS['manufacturers_id'] . "'"); else $db_query = tep_db_query("select categories_htc_title_tag as htc_title, categories_htc_description as htc_description from " . TABLE_CATEGORIES_DESCRIPTION . " where categories_id = '" . (int)$current_category_id . "' and language_id = '" . (int)$languages_id . "'"); $htc = tep_db_fetch_array($db_query); ?> <td width="100%" valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><h1><?php echo $htc['htc_title']; ?></h1></td> This is actually my index.php -> http://www.shop.tischfussball-online.com/index.txt Can u please take a look and say where the problem lies? THX! Edited April 12, 2007 by darkeye78x Quote
Jack_mcs Posted April 12, 2007 Posted April 12, 2007 You haven't made the required changes to that file but there have been changes made to it having to do with the code needing to be changed. I suggest starting with a clean index file to remove the changes made fo rthat code. You will need to compare it to your to be sure you don't erase any other changes that you may want to keep. Then apply the new changes to that file and you should be OK. Jack Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.