How to put the one manu item as opened default

Replied by olejan on topic Re: How to put the one manu item as opened default

Posted 11 years 3 months ago #7846
Hi, remind you) if you have time of course)
by olejan

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: How to put the one manu item as opened default

Posted 11 years 3 months ago #7860
ok, but now I can't. don't hesitate to remind me again in 1 week :)

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by shtukafen on topic Re: How to put the one manu item as opened default

Posted 11 years 1 month ago #9742
Thanks for the great extension! Now having the same problem as olejan. Need to make one of the menu items always expanded. Is there any way to do so? Unfortunately my site is on local machine so I can't give the URL. Thank you in advance!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Re: How to put the one manu item as opened default

Posted 11 years 1 month ago #9752
Hi
if your link is not in the active tree, this is not possible for now.
As said, remember me in few days if I can add such option.
CEd

Joomlack Webmaster and Developer

by ced1870

Please Log in or Create an account to join the conversation.

Replied by Ihvar on topic Re: How to put the one manu item as opened default

Posted 11 years 1 week ago #10365
Hi, ced1870!
I'm another man who wants to thank you and also to REMIND about making some option for default item to be opened :)
by Ihvar

Please Log in or Create an account to join the conversation.

Replied by Ihvar on topic How to put the one manu item as opened default

Posted 11 years 1 week ago #10369
I've got a decision:

1) Put this code into your template
Code:
<?php if($this->countModules('template3')) : ?> <script type="text/javascript"> jQuery(document).ready(function($){ $('#item-xxx a').not('.open').parent().children('.content_1').css('height', 'auto').parent().children('a').addClass('open'); }); </script> <?php endif; ?>

where item-xxx is an item which you want to be opened in frontpage

2) Make changes to templateDetails.xml, adding
Code:
<position>template3</position>

3) Create dummy module with any HTML code and put it to position "template3"
4) Assign module to homepage only
by Ihvar

Please Log in or Create an account to join the conversation.

Time to create page: 0.671 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 269 guests and no members online