![]() |
Adding Edit Templates Shortcut to Left Menu in AdminCP
How this can be done.
Its just a waste of time maximum no. of times to goto Style manager select from list menu edit templates and then it appears Is there a simpe way to add a shortcut for same directly on left menu ? I am just using the default vb3 style. i am sure, this lil trick will help lots of users, saving ample of time :) Like I have Add New Phrase on left menu @ the moment under Phrase Manager Group. i am sure i am not asking about modiying the code. i just want to display Edit Templates on my left menu @ the moment i have to do 3 clicks everytime to get that. and it is used very frequently by me. adopted from here -> http://www.vbulletin.com/forum/showthread.php?t=107245 thnx. Sandy... |
Yeah that is handy. I have it set up that way in my admincp. :) It does require a single file edit.
In admincp/index.php find: Code:
construct_nav_option($vbphrase['search_in_templates'], 'template.php?do=search', '<br />'); Code:
construct_nav_option($vbphrase['edittplates'], 'template.php?s=&do=modify&expandset=3&group=all', '<br />'); Dewayne |
1 Attachment(s)
Quote:
it works fine. ;) here is my code: Code:
construct_nav_option($vbphrase['edit_templates'], 'template.php?s=&do=modify&expandset=2&group=all', '<br />'); check the attachment. the words Edit Template dont appear in my admincp this code comes in handy :) Thnx. Sandy... |
Sandy,
You'll need to add a new phrase called "edit_templates" and it will show up. ;) Admin CP >> Languages & Phrases >> Add new phrase: varname: edit_templates Text: Edit Templates |
Quote:
now clicking ok left menu directly opens those templates on right ^_^ i saved 3 clicks everytime i have 2 go there Thnx. Sandy... |
Quote:
all the settings are same, but not sure why is it not working. |
Has anyone got a solution for this problem Sandeep described in vB 3.0.3?
|
All times are GMT. The time now is 01:22 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|