You can add separators between Navgroups, but AFAIK it's not possible to add Spearators between Nav Options.
|
Thanks Kirby. :)
I am SO happy to see this addition to Beta3. :D |
Quote:
|
This one is not directly related to the subject, but it also is, somehow.
In the past, I modified the AdminCP menu of a hack of mine, depending on a parameter the user entered, adding or removing a line in the menu. If the condition of this parameter was changed, then I forced a reload of admincp, by redirecting the program to admincp/index.php. Obviously this method can no longer be used, and I have to have two different cpnav_xxx.xml files, one with the additional line and one with out it, and copy the one I need to the /includes/xml directory. However, my php knowledge is not that extensive, so can some one please tell me how I can do something like (in pseudo code): Code:
if (parameter==1) Thanks for your help. |
I believe this can easily be solved by offering the else-excluded option anyways, and then have this parameter check before any other code in the section in the file, and print out a cp message in the event that the option would not have been shown on the old menu.
|
Great tutorial again, thanks mate.
|
It would be really nice to be able to add options to existing groups. It's just much more organized than forcing every tiny little hack to have its own group. Any chance of this being added in the future?
|
Already possible since Beta 3 ...
|
How do I add my own options into the modcp?
|
Hook mod_index_navigation
|
All times are GMT. The time now is 02:31 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|