Log in

View Full Version : When adding new templates


RixiuS
07-13-2003, 09:27 PM
how to i make a template "group"

like you have the Forum Home Templates, then it expands n stuff

how to do this? my templates pretty clutttered, lol

Gary King
07-13-2003, 11:59 PM
It's in the admin/template.php

Find $only['showgroup'] = 'Show Groups';


and below that, add the following (replace the CAPS with your own values)

$only['PREFIX_OF_TEMPLATES']="NAME OF TEMPLATE GROUP";

Then, you'll have to change the templatesetid value in the database in the template table, to -1 (this will move it in the template group, BUT will also make this a global variable, meaning that it appears in all template sets!)

RixiuS
07-14-2003, 12:12 AM
thank you.

Gary King
07-14-2003, 12:23 AM
No problem :)

SmEdD
07-14-2003, 02:44 PM
you have to run a db query to useally. or at least i did

Gary King
07-14-2003, 03:05 PM
I already said that.

Then, you'll have to change the templatesetid value in the database in the template table, to -1

;)