global.php
Find PHP Code:
PHP Code:
|
Thanks :)
Didn't work :( |
I have a question, how can you create the template so it uses it own custom folder to store the template in, so the option is there to restore the template to original state.
Just like all the other vb templates use there own folders. Like FORUMHOME stores all the forumhome templates for example, if you understand what I mean to tidy things up much better in the admin template section. |
I hate to reply to myself - but anybody got an answer to the above question? :surprised:
|
Quote:
|
To create the categories to store them in edit adminfunctions_template.php, at the very end add to the array.
PHP Code:
To be able to revert it, you must add it into the MASTER STYLE {requires being in debug mode}. |
Quote:
- Sid |
Quote:
|
Okay, in /includes/adminfunctions_template.php there is an array at the very end of the file:
PHP Code:
Example: PHP Code:
|
Quote:
'vbindex' => 'vBindex', And it moved all my loose vbindex templates into the folder so everything is nice and neat now. I have one other question though that I also hope you can help me with the finish it off. By default when you go into a templates folder and view a template there, there is an option to view the default template code in-case you mess up. So you can copy and paste that code back intoi the box and save. I noticed even though I now have all my vbindex templates in there own folder under default template, the option to view default template just shows me a blank white box with no code in it. Is it possible to make that show the default code for all my vbindex templates when clicked for each one? |
All times are GMT. The time now is 01:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|