Quote:
Originally Posted by Craxor
So you are basicaly want to create Menu Inside menu .
1.There is no point in using an Array, il show you later .
2. I still see no point in hacking item number 8, after all, you hae 7 items per page and then the user will go on next page right? So, why do you wanna so hard to modify the item number 8? Even if you do , you have EFFx reply, i already told you to check it .
3. I see no point in using the old menu at all . If im not wrong in effx link, arkshine show an example using the neu menus
Edit: if you wann set 8 as Back thats also pointlrss, 0 Become back when you go to next page and Exit when.you are on the main page . So why??
|
I already know about it before from this
tutorial but they are talking about how to make the menu appear more items and if you read my first post, i typed i want to use array with replacing an item instead of category number 8 and I tried some methods with the new menu style but it didn't work so the link you are talking about won't help me.
Quote:
Originally Posted by CrazY.
menu_additem doesn't actually add an item to the menu, it just stores it to a list of items to be used later when you call menu_display.
The problem with the oldmenu approach is that it assumes all items to be available in the menu when calculating the pagination, no matter the location, for that reason, skipping an item from being added won't behave as newmenus.
To get that done, you first have to define which items should be skipped. A solution would be to loop through all items and store the indexes of the ones to be added in a temporary array and use that array to create the menu instead of the g_menuItems one.
|
I know but I have no idea how to do it anyway I will test your code.
Edit: Thanks Crazy it's fixed
__________________