PDA

View Full Version : Modifying Admin Side Navigation - Phrases



rocknbil
Sat 11th Oct '08, 6:26pm
I found the documentation for modifying the navigation via the XML file, but for some reason the vb phrase list_new_registrations displays as *
[list_new_registrations]* instead of "List New Registrations."



<navoption displayorder="9">
<phrase>list_new_registrations</phrase>
<link>user.php?do=find&amp;orderby=joindate&amp;direction=DESC&amp;l imitnumber=30</link>
</navoption>


Serched the docs, searched this board, no luck. What did I miss?

The reason: I have spammers trying to access the board (testing their captcha hacks, no doubt) it's faster to hit the link right at login than two clicks through Search for Users. Link works fine.

David Grove
Sun 12th Oct '08, 2:17am
This is because list_new_registrations is a Control Panel User Management phrase instead of a Control Panel Global phrase.

If you want a quick and easy fix, change <phrase>list_new_registrations</phrase> to <text>List New Registrations</text>, or create a new Control Panel Global phrase for this.

rocknbil
Sun 12th Oct '08, 11:56am
Thank you, adding to Control Panel Global did it, I wasn't sure what group it should be in. I was expecting to find phrases specific to the admin control panel.