Kunena Menu
How to put the one manu item as opened default
13 years 10 months ago #7846
by olejan
Replied by olejan on topic Re: How to put the one manu item as opened default
Hi, remind you) if you have time of course)
Please Log in or Create an account to join the conversation.
13 years 10 months ago #7860
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: How to put the one manu item as opened default
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.
13 years 7 months ago #9742
by shtukafen
Replied by shtukafen on topic Re: How to put the one manu item as opened default
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.
13 years 7 months ago #9752
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Re: How to put the one manu item as opened default
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
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.
13 years 6 months ago #10365
by Ihvar
Replied by Ihvar on topic Re: How to put the one manu item as opened default
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
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.
13 years 6 months ago #10369
by Ihvar
Replied by Ihvar on topic How to put the one manu item as opened default
I've got a decision:
1) Put this code into your template
where item-xxx is an item which you want to be opened in frontpage
2) Make changes to templateDetails.xml, adding
3) Create dummy module with any HTML code and put it to position "template3"
4) Assign module to homepage only
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



