Link to open accord menu in URl
Permalink Browser Info Environment
Hi their I have used your simple menu to open close tabs on a page, which works. How ever I have an issue where i need to link back to the page with a url and open a specific section of the menu like when u select a n open tab on page load?
I tried using a URL variable ?open=#1 in the url link and the below code on the page to link to the $open variable used to show if a page is set to open but i seem to have this wrong somewhere?
How can i do this?
Also I need to add this to the page defaults but can't as you can't add layout in page defaults? can i code it directly into the page? to get around this?
Thanks for your help
Carl lee
I tried using a URL variable ?open=#1 in the url link and the below code on the page to link to the $open variable used to show if a page is set to open but i seem to have this wrong somewhere?
<?php if (isset($_GET['open'])) { $open = $_GET['open']; } ?>
How can i do this?
Also I need to add this to the page defaults but can't as you can't add layout in page defaults? can i code it directly into the page? to get around this?
Thanks for your help
Carl lee
Type: | Discussion |
---|---|
Status: | New |
I would love a way to do this so all I need to do is add a ?tab=title to the URL or something like that. Is this possible?
HI,
This will be a great addition to easy accordion. I have issue with my internet connection, so i can't help you now but hope on saturday. Please send me a pm to refresh my mind.
Seb
Envoyé de mon iPhone
Le 25 févr. 2014 à 22:58, concrete5 Community <discussions@concretecms.com> a écrit :
This will be a great addition to easy accordion. I have issue with my internet connection, so i can't help you now but hope on saturday. Please send me a pm to refresh my mind.
Seb
Envoyé de mon iPhone
Le 25 févr. 2014 à 22:58, concrete5 Community <discussions@concretecms.com> a écrit :
I have managed to hack this to work by setting variables in the url and pulling them in and setting the default open tab.
Pm me if you require any help as its quite complex. As I have had no response form the designer so had to do this my self. (so its probably really bad way of doing it.
Carl