WebsiteBaker Community Forum

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: trippnicki on January 07, 2008, 10:48:06 AM

Title: MenuLink to page within own site
Post by: trippnicki on January 07, 2008, 10:48:06 AM
Hi,

Thanks for helping an idiot.

I have been trying to find a way to make a "Menu Link" page to a page within my own site.  (for use in a side menu that doesn't follow the normal tree structure).

Menu Link works great for external pages, but I can't get it to work consistently within my own site, without repeating the top banner etc....

Many thanks for help before I pull all my hair out.

Title: Re: MenuLink to page within own site
Post by: ruebenwurzel on January 07, 2008, 11:30:28 AM
Hello,

use for external pages the full URL: "http://www.example.com"
and for internal pages only the pagename: "/example" without "http://www" and without page Extension "com" or "php". If you have subdirectories call it like "/subdirectory/example".

Thats all

Matthias
Title: Re: MenuLink to page within own site
Post by: trippnicki on January 08, 2008, 04:13:33 AM
Still struggling...

"/subdirectory/examplepage.php" works fine but repeats the top banner in the body.

"/subdirectory/examplepage" gives Not Found error in the body.

Thnaks for any thoughts...
Title: Re: MenuLink to page within own site
Post by: ruebenwurzel on January 08, 2008, 04:46:15 AM
Hello,

1.) You really mean the page type "menu link" wit wich you work?
2.) Did you change your page extension in advanced settings of WB?

Matthias
Title: Re: MenuLink to page within own site
Post by: trippnicki on January 08, 2008, 07:00:37 AM
Hi again,

b. Page Extention setting in advanced settings is: php

a. The situation:  I have a template that has a sidebar menu showing all child pages.  On page "A" I want in that sidebar menu to show a link for a child page from different parent "B" (not its own).  So, I have added a page under Parent "A" which is a MenuLink type which goes to the child page under Parent "B".   I think my thinking is OK, in fact on viewing the link is on the right place on parent A page, just it does not go there...

Sorry if that is not clear... I am a newbie of course...
Title: Re: MenuLink to page within own site
Post by: ruebenwurzel on January 08, 2008, 07:21:12 AM
Hello,

tested right now again the menu-link modul and it exaktly works as i describe above. If you use links to internal pages you only need the page name withaout extension.

But menu link modul is already buggy. I hope we can fix this. One bug is if you create a page and then make a menu link to this page and then delete the menulink the page is also deleted.

Matthias
Title: Re: MenuLink to page within own site
Post by: trippnicki on January 08, 2008, 05:06:30 PM
Hi,

Maybe a stupid question, but is it possible to reinstall only the Menu Link module?
Title: Re: MenuLink to page within own site
Post by: ruebenwurzel on January 09, 2008, 04:49:05 AM
Hello,

got to WB package modules dir. Zip the menulink modul. !Only the files within the module, not the whole directory;. Install the zipped menulink via WB Backend.

Matthias
Title: Re: MenuLink to page within own site
Post by: maxxis on July 18, 2008, 10:20:42 AM
Is it possible to use menu link to trigger javascript events?

I want to use javascript:showDiv() to show a div containing flash media but I can't seem to create the trigger with the menu system in WB.

Any help?
Title: Re: MenuLink to page within own site
Post by: Argos on July 21, 2008, 08:36:23 PM
Is it possible to use menu link to trigger javascript events?

I want to use javascript:showDiv() to show a div containing flash media but I can't seem to create the trigger with the menu system in WB.

Any help?

Try creating a hidden page with an HTML section (the HTML code section module, not the WYSIWYG), and refer to that with the menu link.