Members: 16,996
Threads: 38,845
Posts: 159,389
Online: 17

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse

Go Back   Mambers.com > Development > Module 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 23.12.2004, 06:54   #1 (permalink)
Baby Mamber
 
Join Date: Sep 2004
Posts: 3
meek is on a distinguished road
Default Main Menu Hack... Anyone have an idea about this? Thanks!

Here is a question / situation that I am hoping someone has an idea for.
Before I go in and hack away at the core, I'd rather bounce this off of the board to see if anything sticks!

I have a web site with 2 templates. The first template is for only the "homepage". This "Homepage" will only load by default when "Home" is in the main menu as the first item. The homepage main menu does not need a link for "home" because the user is already on the "home" page. I'd like to make the homepage load, without having to have the first menu item be "home".
I hope that makes sense.

The second template is for the sub-pages of the site. These pages DO need a "home" link in the main menu. Because of this, if I can get the homepage menu to display properly, then I will probably go about creating a copy of the main menu within the administration tool and assign this menu to the pages that use the secondary template, however THIS menu must have "home" as the top item.

I was going to attempt to locate where mambo is writing out the main menu and then check the URL or page location that is being displayed, and if it is the homepage, try to "comment out" the "home" menu item.

I don't really want to go this route because it really doesn't seem like the right way to do it.

Anyway, if anyone has any ideas, suggestions or comments... PLEASE let me know! Also, if anyone knows how to accomplish this and is a "hired gun", let me know what it would cost for you to accomplish this task.

Thanks all!
meek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 27.02.2005, 01:41   #2 (permalink)
Baby Mamber
 
AnnDH's Avatar
 
Join Date: Jan 2005
Location: Belgium
Posts: 20
AnnDH is on a distinguished road
Default Re: Main Menu Hack... Anyone have an idea about this? Thanks!

Not sure if I get what you mean ... I suppose you have one page with the whole menu except 'home' and then all the other pages with the 'home'. Right ?

Just keep it simple. Make 2 menus, one with only 'home' and one with all the other links. Don't show the first menu on the homepage, but do so on the others (you can define this in the modules list). The second menu should be shown on all pages. Problem solved (if that was indeed your problem).
AnnDH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to add new menu item in Main Menu Max Kaar Mambo 4.5 Installation and Upgrades 8 06.09.2006 04:02
How do I use Main Menu to display only sub areas? chambers777 Mambo 4.5 'How Do I' Questions 7 21.02.2005 17:48
3 Level deep Main menu thomas9 Mambo 4.5.1 'How Do I' Questions 4 15.12.2004 00:33
How to show up both main level and sub level menu item? wood_flower Mambo 4.5 'How Do I' Questions 4 12.07.2004 17:21
linking direct from main menu to main body mikeh1980 Mambo 4.5 'How Do I' Questions 7 17.06.2004 16:52


All times are GMT +2. The time now is 08:53.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.