Raised This Month: $ Target: $400
 0% 

need help with menu strings


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 01-06-2011 , 15:59   Re: need help with menu strings
Reply With Quote #9

What you should do in the first place is making the country names properly to a global array, like that creating the menu is much cleaner in a loop ( Even you didn't have more than two countries which I doubt ). After we've followed good habits it's easy to get the name with the item index in the handler so that no menu_item_getinfo is needed. All the benefits of using indexes for countries included.

Last edited by SnoW; 01-06-2011 at 16:02.
SnoW is offline
Send a message via MSN to SnoW
 



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

Forum Jump


All times are GMT -4. The time now is 02:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode