Re: Categories Dressing. Why cant rename the Major&Minor Heading?
HI,
I have depart my categories into several categories as fellow on my website:
1.Top Brands;
2.Mens & Women Shop;
3.Shoes Styles;
4.Others Shoes;
All the categories show normally except 2.Mens & Women Shop.
It always show Major Heading Minor Heading.
I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.
But it still show Major Heading Minor Heading.:blink:
Pls tell me how to do.:smile:
Tks.
Re: Categories Dressing. Why cant rename the Major&Minor Heading?
HI,
I have depart my categories into several categories as fellow on my website:
1.Top Brands;
2.Mens & Women Shop;
3.Shoes Styles;
4.Others Shoes;
All the categories show normally except 2.Mens & Women Shop.
It always show Major Heading Minor Heading.
I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.
But it still show Major Heading Minor Heading.
Pls tell me how to do.:smile:
Tks.
Re: Categories Dressing. Why cant rename the Major&Minor Heading?
Let me see your website so I can tell what the cause of your problem is.
Quote:
I have rename them at:define ('CAT_BOX_HEADING_3','1|0|||Major Heading|1|Minor Heading|2');//new list - text headings - multiple levels - styles 1 & 2.
But it still show Major Heading Minor Heading.
So what does the define for CAT_BOX_HEADING_3 look like now?
Re: Categories Dressing. Why cant rename the Major&Minor Heading?
Quote:
Originally Posted by
gjh42
Let me see your website so I can tell what the cause of your problem is.So what does the define for CAT_BOX_HEADING_3 look like now?
Tks
CAT_BOX_HEADING_3 now is:
define ('CAT_BOX_HEADING_3','0|0|||Mens & Women & Kids Shop|1');//no list break - divider and text heading - style 1
This is my website:http://www.bestfty.com
:smile:
Re: Categories Dressing. Why cant rename the Major&Minor Heading?
You have other custom headings working there, so all I can say is that that particular define did not make it into the file version on the server. Or you might still have the original definition above the new one so that the new definition would fail to be processed.
Re: Categories Dressing. Why cant rename the Major&Minor Heading?
Quote:
Originally Posted by
gjh42
You have other custom headings working there, so all I can say is that that particular define did not make it into the file version on the server. Or you might still have the original definition above the new one so that the new definition would fail to be processed.
Thank you.
I would find it out.:cool:
How to unlink the top level category
Hi guys,
I am using the Uncollapsed Categories Tree. All is working fine. What I would like to do is 'unlink' the top level category, which I don't really need. Currently, if I click on the top level category a page load and lists each subcategory in thumbnail format. It's a bit redundant, as the sub cats are always showing anyway.
Any ideas ? Note that this mod includes a new tpl_categories file
adam
Re: How to unlink the top level category
You would need to apply the code described by jackie.taferner in the other thread to v2.7.3's tpl_categories.php, line 51:
PHP Code:
$content .= ' <li class="cat-' . $new_style . '"><a class="cat-' . $active_class . $cat_name_display[0] . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
and line 62:
PHP Code:
$content .= '</a>';
Change to
PHP Code:
if ($box_categories_array[$i]['top'] == 'true') {
$content .= ' <li class="cat-' . $new_style . '"><span class="cat-' . $active_class . $cat_name_display[0] . '">';
} else {
$content .= ' <li class="cat-' . $new_style . '"><a class="cat-' . $active_class . $cat_name_display[0] . '" href="' . zen_href_link(FILENAME_DEFAULT, $box_categories_array[$i]['path']) . '">';
}
and
PHP Code:
if ($box_categories_array[$i]['top'] == 'true') {
$content .= '</span>';
} else {
$content .= '</a>';
}
You would also need to do some styling to make these spans look as you want, since some of the <a> styling will no longer apply.