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?

<?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
carl101lee
View Replies:
carl101lee replied on at Permalink Reply
carl101lee
HI Their,

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
TeKnoZiz replied on at Permalink Reply
TeKnoZiz
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?
sebastienj replied on at Permalink Reply
sebastienj
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 :

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.