Log in

View Full Version : Need lil XML / Admincp template editing help


nirvana43
07-31-2009, 01:42 AM
Hello

http://img378.imageshack.us/img378/3055/admincpmenu.jpg

I want to have custom link in admincp as shown in above pic.
I have "settings.php" file located under forums/admincp/ folder. I wanna have link to that file in admincp.... when its clicked, it doesn't take you off admincp but it should display that page on right side frame.. I hope i'm explaining it rite...
Can somebody tell me the code or edit :o


Regards
Aditya

HMBeaty
07-31-2009, 01:45 AM
https://vborg.vbsupport.ru/showthread.php?t=82698&highlight=admincp+menu

https://vborg.vbsupport.ru/showthread.php?t=83122&highlight=admincp+menu

nirvana43
07-31-2009, 02:28 AM
https://vborg.vbsupport.ru/showthread.php?t=82698&highlight=admincp+menu

https://vborg.vbsupport.ru/showthread.php?t=83122&highlight=admincp+menu

I'm running on 3.7.. I already referred those 2 topics... in fact i used 'em to design my custom pages... But when i import XML written as follows, it gives me invalid file error :

<?xml version="1.0" encoding="ISO-8859-1"?>
<navgroups product="vbulletin">
<navgroup phrase="forums_and_moderators" displayorder="60">
<navoption displayorder="1">
<text>My Test Settings</text>
<link>settings.php?do=foo</link>
</navoption>
</navgroup>
</navgroups>

Marco van Herwaarden
07-31-2009, 01:54 PM
How do you try to import this? :confused:

nirvana43
07-31-2009, 02:27 PM
How do you try to import this? :confused:

from add/import products... am i missing something? :o

Marco van Herwaarden
07-31-2009, 02:54 PM
This is a cpnav file, you don't import these you just place the XML-file (with the correct name, ie: cpnav_<productid>.xml) in the ./includes/xml directory.

PS There is probably an article on AdminCP menu's in our articles section.

nirvana43
07-31-2009, 03:32 PM
Thanks a lot for reply marco... i strongly appreciate that...
I found solution in afternoon only... sorry i forgot to mention that here..
I referred :
http://www.vbulletin.com/forum/showthread.php?t=234240

And

http://search.code-head.com/F-Admin-CP-VBulletin-For-Dummies-1199444

Google is really my friend!! haha http://img33.imageshack.us/img33/7453/biglaugh.gif