I want to add Home to where the product categories are displayed.
Such as Home | Product Category | Product Category
I have been searching for this but I can not find it.
I want to add Home to where the product categories are displayed.
Such as Home | Product Category | Product Category
I have been searching for this but I can not find it.
admin -> configuration -> layout settings -> Categories-Tabs Menu ON/OFF
This will give you a "new navigation bar" which will list your categories.
Actually that is already on.
I just want to have the Home`link next to the categories.
OK, try this:
in includes/templates/template_default/templates/tpl_modules_categories_tabs.php
find this code:
Just below the <ul> add the following line of code:PHP Code:<div id="navCatTabsWrapper">
<div id="navCatTabs">
<ul>
Save the file to includes/templates/YOUR_TEMPLATE/templates/tpl_modules_categories_tabs.php and upload it to your server.PHP Code:<li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li>
Excellent thank you very much.
Would you also know where to change the CSS so I can change the styling of this area?
find the following declarations in your stylesheet
#navCatTabsWrapper
#navCatTabs
apply the styling you want.
Yeah I was using that before, but the categories are still grey. I also tried changing all the entries that use that to the same color, which was not grey.
Thanks again.
Slightly new variant of the same thing:
You know in the category sidebar?
Categories
-----------
Product Category
Product Category
Product Category
Product Category
etc
I actually would like to have:
Categories
-----------------
Home
Product Category
Product Category
Product Category
Is that possible?
Yes, it can be done as follows:
in includes/templates/template_default/sideboxes
Open tpl_categories.php and find the following line of code:
JUST ABOVE this line add the following:PHP Code:for ($i=0;$i<sizeof($box_categories_array);$i++) {
Save the edited file to includes/templates/YOUR_TEMPLATE/sideboxes/tpl_categories.php and upload to your server.PHP Code:$content .= '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . HEADER_TITLE_CATALOG . '</a>';
I actually have that CSS Menu thing installed, so this has not worked, yet.