How to put the one manu item as opened default

More
13 years 10 months ago #7846 by olejan
Hi, remind you) if you have time of course)

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

More
13 years 10 months ago #7860 by ced1870
ok, but now I can't. don't hesitate to remind me again in 1 week :)

Joomlack Webmaster and Developer

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

More
13 years 7 months ago #9742 by shtukafen
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.

More
13 years 7 months ago #9752 by ced1870
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

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

More
13 years 6 months ago #10365 by Ihvar
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 :)

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

More
13 years 6 months ago #10369 by Ihvar
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

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

Time to create page: 0.216 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 829 guests and one member online