New Zenner
- Join Date:
- Aug 2005
- Posts:
- 29
- Plugin Contributions:
- 0
Started by digi on 21 Oct 2008, 4:37 PM · Views: 1,746
New Zenner
Totally Zenned
Find strings such as these using:-
ADMIN...TOOLS...DEVELOPERS TOOL KIT
There you will see various input fields - I generally use the last one. Type in the text string to search for, select what file sets (catalog, admin, or both) you wish to include in the search, and click the button.
If the text exists as you typed, the results will show what PHP files contain it, and their paths.
20 years a Zencart User
Black Belt
I can't tell for sure without an actual link to your site, but it looks like you have installed Categories Dressing and then disabled most of its features. The default installation includes demo headings in the category and link sections.
If you don't want to use any of Cat Dressing, you should delete the tpl_categories.php in
/includes/templates/your_template/sideboxes/ (not the one in
/includes/templates/template_default/sideboxes/).
If you just want to eliminate the "Link Heading", find near the bottom of tpl_categories.php```php
if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
$show_this = $db->Execute("select products_id from " . TABLE_FEATURED . " where status= 1 limit 1");
if ($show_this->RecordCount() > 0) {
//$content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES . 'cathead-featured.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES . 'cathead-featured.gif') . '</span>':'Link Heading</span>' . $disp_block_head) . "\n";// categories dressing - uncomment this line for heading above link
$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS . '</a>' . $disp_block . "\n";
}
}
if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
$content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES . 'cathead-all.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES . 'cathead-all.gif') . '</span>':'Link Heading</span>' . $disp_block_head) . "\n";// categories dressing - uncomment this line for heading above link
$content .= '<a class="category-links" href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a>' . "\n";
}
Comment out the last catBoxHeading1 line like the one above it:```php
//$content .= '<span class="catBoxHeading1">' . (file_exists(DIR_WS_TEMPLATE_IMAGES . 'cathead-all.gif') ? zen_image(DIR_WS_TEMPLATE_IMAGES . 'cathead-all.gif') . '</span>':'Link Heading</span>' . $disp_block_head) . "\n";// categories dressing - uncomment this line for heading above link
New Zenner
Thank you very much. That was the issue.:hug:
Jan
Tell staff why this post should be reviewed.