I want to make one of my categories unable to show a drowdown menu for his subcategories.
Is this possible?
|
|
Hi,
Unfortunately, for the moment only top level categories could be hidden from the main menu e.g.
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
We may consider adding this, as an option for future versions.
Best regards,
ThemeBurn team
|
|
Ah okey I see!
Is it possible that after I hide the category I just add an link in one of the files pointing to that exact category?
|
|
Hi,
In a matter of truth, you could
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
Best regards,
ThemeBurn team
|
|
That works all the way until I realized I don’t get the text on the link translated if a user change the language. >.<
But it could work anyway. But is there no way of hiding the Information page?
In the next update it would be great if this is an option
I don't want to mess up to much so I might just use the regular categories with the dropdown.
|
|
will it be alright if I just add <?php /* at the beginning of the file and */ ?> right before my custom link?
-
This reply was modified 4620 days ago by andrixx.
|
|
Won’t be a problem. Doing so will comment everything before your menu. Just be sure, not to have nested php comments.
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
Best regards,
ThemeBurn team
|
|
Thanks alot for your help!
I did what I think you asked me to do. But I get an error message:
Notice: Undefined property: Document::$category_color_name in
/home/chickise/public_html/catalog/view/theme/shoppica/template/module/shoppica_information_menu.tpl on line 36
This is my code in shoppica_information_menu.tp around line 36, where the link is on line 36:
<!-- use this if you want to add another custom menu -->
<li id="custom_menu_id">
<a href="/color" style="margin-left:0px;"><?php echo $this->document->category_color_name; ?></a>
<li>
This is my translation in catalog/language/swedish/module/shoppica.php:
// Main Menu
$_['shoppica_menu_inside'] = 'Inside %s';
$_['shoppica_menu_brands'] = '%s Märken';
$_['shoppica_menu_information'] = 'Information';
$_['category_color_name'] = 'Färger!';
Thanks again for your help! And I am sorry as I am a bit rookie on the subject. But I can’t see what I did wrong.
-
This reply was modified 4618 days ago by andrixx.
|
|
Ah, I changed the entire “shoppica_text_your_variable” I left the shoppica in the beginning and it works
Thanks alot for the help with both the category AND translation!
|
|
Glad, you’ve managed to solve the problem
|
|