Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 33

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 > Component 'How Do I' Questions

Reply
 
LinkBack Thread Tools Display Modes
Old 18.04.2004, 17:18   #1 (permalink)
Mamber
 
web2xs's Avatar
 
Join Date: Apr 2004
Location: Luxembourg
Posts: 69
web2xs is on a distinguished road
Send a message via MSN to web2xs
Question Admin Backend -> showing more than 20 components

Hi,

Is it possible to change the maximum amount of entries in the administration/components menu. When you have over 20 components installed the menu then breaks to a 'more components' item at the end.

Thanks

Web2XS
__________________
The 1 Who Dies With The Most Toys ___Wins......
web2xs is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 19.04.2004, 08:58   #2 (permalink)
Expert Mamber
 
visualdensity's Avatar
 
Join Date: Apr 2004
Location: Melbourne
Posts: 385
visualdensity is on a distinguished road
Send a message via ICQ to visualdensity Send a message via MSN to visualdensity
Default Re: Change Number of Menu Items

Yes you can, however it is not advisable because 19 components is the maximum number in which users can view when they use 800x600 res screens.

Anways, if you insist ... file: /administrator/menubar.php
Go to line 115 (or somewhere there) and you'll see the following:

Code:
...
		$topLevelLimit = 19; //You can get 19 top levels on a 800x600 Resolution
		$topLevelCount = 0;
		foreach ($comps as $row) {
...
Change the value for $topLevelLimit to the number of components you want to display before breaking it to "More Components...".

PS: I haven't tried this before. Just checked it for you. I think it should work.

HTH.
__________________
"If you cannot win, make the one ahead of you break the record."
| Visualdensity.com |
visualdensity is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 19.04.2004, 21:49   #3 (permalink)
Mamber
 
web2xs's Avatar
 
Join Date: Apr 2004
Location: Luxembourg
Posts: 69
web2xs is on a distinguished road
Send a message via MSN to web2xs
Thumbs up Re: Change Number of Menu Items

Many Thanks.

This worked a treat.

Cheers

Rob
__________________
The 1 Who Dies With The Most Toys ___Wins......
web2xs 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
I need to change the amount of displayed items. Dragon4678 Module Development 1 18.04.2004 19:17
how do I show the number of item in each entry in main menu ? kixvn Mambo 4.5 'How Do I' Questions 6 12.04.2004 20:21
How to link content items to main menu afru Mambo 4.5 'How Do I' Questions 3 11.04.2004 15:16
How do I change the number of items that the Content Category shows in one page? reele Mambo 4.5 'How Do I' Questions 3 09.04.2004 04:42
How to limit number of items in horizontal menu (included in some templates)? BennieBlanco Mambo 4.5 'How Do I' Questions 5 07.04.2004 18:55


All times are GMT +2. The time now is 01:45.

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.