WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: peturkirke on August 24, 2010, 09:36:21 PM

Title: menu link with parameters
Post by: peturkirke on August 24, 2010, 09:36:21 PM
how can i create a menu link with parameters ?

When i go to "Pages" choosing "Add page" of type "Menu link", then how can i link it to one page with parameters, for example like this:

page.php?type=4&region=7
Title: Re: menu link with parameters
Post by: snark on August 24, 2010, 09:44:30 PM
you can use a code section and put in


<script language="JavaScript">
<!--
window.location="http://www.domain.com/pages/page.php#anchorname";
//-->
</script>
Title: Re: menu link with parameters
Post by: peturkirke on August 25, 2010, 01:14:04 AM
its not working

it just open a page called newpage.php (with the same name as my newpage)

seems like the javascript is not active
Title: Re: menu link with parameters
Post by: Argos on August 25, 2010, 10:34:09 AM
Not tested and very crude, but it may work: create a menu link to an imaginary url without parameters and use htaccess redirect permanent to redirect to url with parameters. Of course this is not elegant and not suited for clients.
Title: Re: menu link with parameters
Post by: peturkirke on August 26, 2010, 07:01:12 PM
I think i solved this problem. The solution was very simple. I used the option "External link".
Title: Re: menu link with parameters
Post by: Argos on August 26, 2010, 07:12:43 PM
Where did you find that option??