miniBB Support Forums | 15 years on The Web
miniBB ®


 | Forums | Register | Reply | Search | Statistics | Manual |
FAQ miniBB Support Forums / FAQ /   

What does each of array's $l_menu[] elements mean?

Author Jeremy
#1 | Posted: 28 Feb 2002 07:38 | Edited by: Admin 
I'm fiddling with the templates and I was wondering whether you had a list somewhere (or could tell me) what each of the menu things were,

like $l_menu[0], $l_menu[7], $l_menu[3] etc.

I'm guessing that the first one is Home, but it seems like there is a different number of them up the top of this forum then there is that template, so I don't know exactly which one is which..

i'm just curious so I can make the template moddifying a little better, arranging it how I want.

Author Team
#2 | Posted: 28 Feb 2002 10:20 
Of course, all menu items are in main_header, you're right :) So the idea is - menu items are displayed "dynamically", fitting, what we really need, f.e., if you are in the home, HOME is not displayed, if in Register, REGISTER is not displayed, if in topics list, NEW TOPIC is displayed etc.

Here is an explanation of every menu item (like they are in header):

$l_menu[0] = Home
$l_menu[7] = New topic
$l_menu[3] = Statistics
$l_menu[2] = Registration
$l_menu[1] = Search
$l_menu[4] = FAQ
$l_menu[5] = Preferences
$l_menu[8] = Language
$l_menu[6] = Logout

Author Jeremy
#3 | Posted: 28 Feb 2002 13:57 
Just what I wanted,
thanks heaps.

Author Team
#4 | Posted: 28 Feb 2002 15:43 
You can always check out language menus(discover what is what) through your language packs.

Author Jeremy
#5 | Posted: 1 Mar 2002 01:25 
ahh.. good idea.

FAQ miniBB Support Forums / FAQ /
 What does each of array's $l_menu[] elements mean?
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.

Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.

miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the Captcha add-on: protect your miniBB-forums from the automated spam and flood.