Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 02:23:06 PM

Login with username, password and session length
Search:     Advanced search
Wollen Sie dem WebsiteBaker Team beitreten?
Nähere Informationen finden Sie unter hier und auf unserer neuen Webseite.
155539 Posts in 21712 Topics by 7737 Members
Latest Member: deanmacullam
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: menu link with parameters  (Read 711 times)
peturkirke

Offline Offline

Posts: 16


« on: August 24, 2010, 08: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
Logged
snark
Guest
« Reply #1 on: August 24, 2010, 08: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>
Logged
peturkirke

Offline Offline

Posts: 16


« Reply #2 on: August 25, 2010, 12: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
Logged
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #3 on: August 25, 2010, 09: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.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
peturkirke

Offline Offline

Posts: 16


« Reply #4 on: August 26, 2010, 06:01:12 PM »

I think i solved this problem. The solution was very simple. I used the option "External link".
Logged
Argos
Moderator
**
Offline Offline

Posts: 2161


WWW
« Reply #5 on: August 26, 2010, 06:12:43 PM »

Where did you find that option??
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!