PDA

View Full Version : Custom phase not showing up in AdminCP Nav


jim6763nva
10-02-2007, 08:53 PM
Hi everyone,

I'm working on a lottery addon for my Warcraft guild site and I'm having a few issues I'm hoping someone can point me in the right direction. I'm doing this also to learn more about vbulletin programming and hopefully be able to give back to the vb community some day. :)

Ok.. enough background.. here is what I'm running into:

I've created an XML file: cpnav_wowlottery.xml in the forum/includes/xml/ folder. Here is the contents:


<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="wowlottery" master="true">
<navgroup text="WoWLottery" displayorder="1">
<navoption displayorder="1">
<phrase>lottery_settings</phrase>
<link>lotteryadmin.php</link>
</navoption>
</navgroup>
</navgroups>


I also created a Product and a custom Phrase type to put any related phrases under. Below are some screen shots of what I'm seeing. Any ideas why the nav drop down isn't showing my custom phrase?

Thanks in advance,
Jim

Analogpoint
10-03-2007, 12:33 AM
Change the phrase type for your custom phrase to Control panel global and it'll work. :)