Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 02:24:45 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Two questions over the menu (naviagation)  (Read 502 times)
Shefra

Offline Offline

Posts: 76


« on: January 14, 2010, 08:13:56 PM »

Hi,

1. Is it possible to redirect a menu option to another page? The naviagation at the first level doesn't have any function, so i want to redirect this option.

2. Maybe a stupid questio, but is it possible that two different menu options open the same page?  rolleyes

Thanks is advance
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #1 on: January 14, 2010, 09:36:51 PM »

Just create pages of the type "menu item".

So your site structure could look like this:

blah [menu item, pointing to blahblah]
-- blahblah [wysywig or wahatever]
-- blubblub [wysywig or wahatever]
-- blahblub [menu item, pointing to blahblah]
etc.



Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #2 on: January 14, 2010, 10:56:21 PM »

Hi,

please read help documentation: http://help.websitebaker.org/pages/en/advanced-docu/designer-guide/multiple-menus.php
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Shefra

Offline Offline

Posts: 76


« Reply #3 on: January 15, 2010, 08:09:05 AM »

Thanks, live can be easy  afro

One small question:  I like to change the function of menu option on level 1 from WYSIWYG to a menu link. Is there a way to change this without create a hole new menu structure ? I can't add the menulink as a section.

Thanks again.....
Logged
instantflorian
Betatester
*
Offline Offline

Posts: 804



WWW
« Reply #4 on: January 15, 2010, 09:09:05 AM »

There is no easy way* to change a page into a menu item, and because a menu item is not a real page, you can't add a menu item section.

You should rename the wysiwyg page you want to become a menu item and create a menu item with the old name. Then move all pages which where beyound the wysiwyg page beyond the menu item (change settings > parent).

* I have read once something about this here in the forum, but don't know anymore where;  but it was quite complicated (modifying data base entries directly etc.)
Logged
crnogorac081
AddOn Development
*
Offline Offline

Posts: 1706



« Reply #5 on: January 15, 2010, 09:53:14 AM »

What you can do is to manualy delete content from for example blah.php and add following code:

Code:

<?php
header
("Location: http://www.your_site.com/blah/blahblah.php"); /* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
?>


You can make redirection to the first (or any other) page in the sub level.. This is just how I do it, and by doing this (removing WB code from .php file ) you lose option to menage this page via backend..

cheers
Logged

Wow, I coded something myself: PM Messanger Modul ,Searchbox with suggestions
Shefra

Offline Offline

Posts: 76


« Reply #6 on: January 15, 2010, 11:20:42 AM »

I made a change in the database. I'm not sure this is enough:

1. Find the page ID the pages table;
2. Change the page ID in table mod_menu_link to the link i found in step 1;
3. remove the page ID from mod_wysiwyg table;

But i'm not sure this is enough. So i will do it your way to be sure....

Thanks again.
Logged
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!