PDA

View Full Version : AdminCP


Khoori7
02-07-2014, 08:44 PM
Ozzy <3!

ozzy47
02-07-2014, 09:05 PM
Add a cpnav file to your includes/xml directory, you can view any of them in there to get a idea how to do it.

Khoori7
02-07-2014, 09:29 PM
Tried..

<?xml version="1.0" encoding="ISO-8859-1"?>

<navgroups product="web_panel">

<navgroup phrase="web_panel" permissions="canadminthreads" displayorder="82">

<navoption displayorder="10">
<phrase>Test1</phrase>
<link></link>
</navoption>

<navoption displayorder="20">
<phrase>test2</phrase>
<link></link>
</navoption>

<navoption displayorder="30">
<phrase>test3</phrase>
<link></link>
</navoption>

</navgroup>

</navgroups>


Didn't show up, am i doing anything wrong?

ozzy47
02-07-2014, 09:50 PM
Does the product web_panel exist?

Also change all instances of <phrase> </phrase> to <text> </text> unless of course you actually created the phrases.

So something like this:

<?xml version="1.0" encoding="ISO-8859-1"?>

<navgroups product="vbulletin">

<navgroup text="Menu Name" permissions="canadminthreads" displayorder="82">

<navoption displayorder="10">
<text>Test1</text>
<link></link>
</navoption>

<navoption displayorder="20">
<text>test2</text>
<link></link>
</navoption>

<navoption displayorder="30">
<text>test3</text>
<link></link>
</navoption>

</navgroup>

</navgroups>