Two different "Home Menu Links" in BxBaseMenu.php

Hi community,

 

I need some help, again :-)

I need two different "Home Menu Links". One for members who already logged in and one for the visitors on the splash page.

 

I  guess i found the file and code... but i have no idea how to code the function (sessions? Cookies?

templates\base\scripts\BxBaseMenu.php

function genBreadcrumb($aPath = array()) {

$sRootItem = '<a href="' . $this->sSiteUrl . '">' . _t('_Home') . '</a>';

 

what i need is

<a href="member.php">' . _t('_Home')

and in case that nobody is logged in

<a href="splash.php">' . _t('_Home')

 

THX again and if there is a paypal donate button in the correct answer I would use it ;-)

Quote · 25 Feb 2011

You can use the menu builder to do this. Each item in there has an option to show visitors and an option to show members. You can customize it so that some menu items are visible to both, some are visible only to visitors and some show only to members.

Quote · 26 Feb 2011

THX for the answer but this is not really what i was looking for.

Quote · 5 Mar 2011

 

THX for the answer but this is not really what i was looking for.

Going by your opening post, I would say that is exactly what you're looking for. You can add another menu item from the navigation menu builder and set the link and visibility as needed, then make any needed changes to the other home menu item. If this isn't what you're trying to do, you might want to explain yourself further.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 5 Mar 2011

It is much easier than you think - as the guys said above. Set the current Home link to Member and create a NEW ITEM and call it Home too but set the url to splash.php and Guest in 'Visible for:'... simple as that.

Quote · 5 Mar 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.