Quote:
Originally Posted by TheSpecialist
Okay, in /includes/adminfunctions_template.php there is an array at the very end of the file:
PHP Code:
// template groups
$only = array
(
// phrased groups
'buddylist' => $vbphrase['group_buddy_list'],
'calendar' => $vbphrase['group_calendar'],
'faq' => $vbphrase['group_faq'],
...
Each of these creates a 'folder' into the template manager to oraganize your templates. You can add your own in using the above format (left part is the prefix, right part is the 'folder' Name (which automatically adds Templates to the end).
Example:
PHP Code:
'attachmentlist' => $vbphrase['group_attachment_list'],
'subscription' => $vbphrase['group_paid_subscriptions'],
'league' => 'League', // I added this one
'aaa' => 'AAA Old Backup'
|
Your a star, that works great and I created a new line called:
'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?