Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 07:40:56 PM
1 Hour
1 Day
1 Week
1 Month
Forever
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
.
155551
Posts in
21715
Topics by
7737
Members
Latest Member:
gx-world
WebsiteBaker Community Forum
English
Help & Support
(Moderators:
Argos
,
badknight
)
First menu item not linking
Pages: [
1
]
Go Down
Author
Topic: First menu item not linking (Read 310 times)
daydreamer
Offline
Posts: 253
First menu item not linking
«
on:
August 11, 2011, 11:01:42 AM »
Hi,
My first menu/page is not adding a link see below, please help
<li><span class="menu_current"><a href="" target="_top" class="menu_current">Home</a></span>
</li>
<li><span class="menu_default"><a href="/pages/contact-us.php" target="_top" class="menu_default">Contact Us</a></span>
Thanks
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2297
Re: First menu item not linking
«
Reply #1 on:
August 11, 2011, 11:08:55 AM »
Could it be your config.php does not have the WB_URL setting?
Code:
define('WB_URL', 'http://www.yourwebsite.com');
Logged
Professional WebsiteBaker Solutions
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #2 on:
August 11, 2011, 11:10:31 AM »
That was the first thing I checked but is all fine.
Logged
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #3 on:
August 11, 2011, 11:24:43 AM »
The first menu "Home" links to the last menu item added.
Logged
Ruud
WebsiteBaker Org e.V.
Offline
Posts: 2297
Re: First menu item not linking
«
Reply #4 on:
August 11, 2011, 11:27:59 AM »
links generated by show_menu or show_menu2 will always have the WB_URL part included.
In your example it is not.
So if WB_URL is correctly set could you show what show_menu() call you are using to generate the menu?
Logged
Professional WebsiteBaker Solutions
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #5 on:
August 11, 2011, 11:31:35 AM »
Hi Rudd,
I have tried these with no joy
<?php show_menu(1, 0, -1, true,
'<li><span [class]>[a][menu_title][/a]</span>', '</li>',
'<ul>', '</ul>', 'class="menu_default"', 'class="menu_current"', 0
);
?>
<?php show_menu(); ?>
<?php show_menu(1); ?>
Logged
badknight
Moderator
Offline
Posts: 246
Re: First menu item not linking
«
Reply #6 on:
August 11, 2011, 11:33:30 AM »
use the show_menu2
Logged
Ich würde gern die Welt verändern, doch Gott gibt mir den Quellcode nicht...
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #7 on:
August 11, 2011, 11:51:07 AM »
Still same problem with show_menu2
Logged
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #8 on:
August 11, 2011, 12:01:42 PM »
My mistake sorry, show_menu2 works fine
Thanks
Logged
daydreamer
Offline
Posts: 253
Re: First menu item not linking
«
Reply #9 on:
August 11, 2011, 12:05:59 PM »
Not sure what happened to menu 1, but show menu 2 works as normal.
Thanks guys for the fast help, never thought to use menu 2... been a long day already.
Thanks
Again
Logged
Pages: [
1
]
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
=> Security Announcements
=> Documentation
=> WebsiteBaker Website Showcase
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
=====> Modules / Extensions
===> Suggestions
===> Software bugs
=> Help & Support
=> Modules
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
=> jQuery
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
=> Archive (posts up to 2007)
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
=====> Module / Extensions
===> Vorschläge
===> Softwarefehler
===> Erfahrungs und Testberichte
=> Hilfe/Support
=> Module & Snippets
=> Templates & Design
=> Tutorials
=> jQuery
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...