WebsiteBaker Community Forum (upd)

WebsiteBaker Support (2.8.x) => Templates, Menus & Design => Topic started by: Anlina on October 18, 2010, 06:43:59 AM

Title: Menu link external issues & using an image in a menu instead of text
Post by: Anlina on October 18, 2010, 06:43:59 AM
Hi there;

I'm having two one issue.

1. I would like to place a link out to an external page on my site. I've added a Page, type Menu Link, on Modify Page I've selected External Link for the Link field & entered the url for my external page in the text box next to the drop down (I've tried both with and without the http://).

Instead of linking out to an external page, WB treats it like a link to a page on my domain. So http://externallink.com becomes http://mydomain.com/pages/externallink.com.php both on my home page and on the Pages page in the admin panel.

Am I doing something wrong here?


Solved. Didn't realize that this was a redirect instead of a direct link to the external page. Is there a way to make this a direct link rather than a redirect? It seems somewhat non-intuitive to me from a user perspective.

2. I've set up a second menu in my template for linking to social networking sites, and I would like to use icons in my menu instead of text. Can I do this with show_menu() or do I need to use show_menu2()? Is there a way to assign a unique image to a menu item in the Admin panel or does it have to be done with CSS?

Thank you!

Title: Re: Menu link external issues & using an image in a menu instead of text
Post by: Argos on October 21, 2010, 06:15:36 PM
Quote from: Anlina on October 18, 2010, 06:43:59 AM
Hi there;

I'm having two one issue.

1. I would like to place a link out to an external page on my site. I've added a Page, type Menu Link, on Modify Page I've selected External Link for the Link field & entered the url for my external page in the text box next to the drop down (I've tried both with and without the http://).

Instead of linking out to an external page, WB treats it like a link to a page on my domain. So http://externallink.com becomes http://mydomain.com/pages/externallink.com.php both on my home page and on the Pages page in the admin panel.

Am I doing something wrong here?


Solved. Didn't realize that this was a redirect instead of a direct link to the external page. Is there a way to make this a direct link rather than a redirect? It seems somewhat non-intuitive to me from a user perspective.

I think there is something wrong with your installation. It should work like a direct link. Technically it's a redirect, but it should open the external link like you expect. You should use full URL's though, so check that please. And external links preferably open in a new window, so you should choose new window as the target.

Quote
2. I've set up a second menu in my template for linking to social networking sites, and I would like to use icons in my menu instead of text. Can I do this with show_menu() or do I need to use show_menu2()? Is there a way to assign a unique image to a menu item in the Admin panel or does it have to be done with CSS?
CSS. There is no easy way to do it with the menu call.