The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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... |
#2
|
||||
|
||||
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 |
#3
|
||||
|
||||
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... |
#4
|
||||
|
||||
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 |
#5
|
||||
|
||||
Quote:
now clicking ok left menu directly opens those templates on right ^_^ i saved 3 clicks everytime i have 2 go there Thnx. Sandy... |
#6
|
||||
|
||||
Quote:
all the settings are same, but not sure why is it not working. |
#7
|
||||
|
||||
Has anyone got a solution for this problem Sandeep described in vB 3.0.3?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|