PDA

View Full Version : Where are the templates located?


ticky
02-17-2005, 11:28 PM
I've been trying to locate where the templates are stored. My best guess is probably within the database?

Also if I want to create a new template group how would I do that?

Thanks!

Zachery
02-17-2005, 11:30 PM
I've been trying to locate where the templates are stored. My best guess is probably within the database?

Also if I want to create a new template group how would I do that?

Thanks!
2 things

1. why do you want to edit the templates in the database? very very bad idea

2. You would edit adminfunctions_Templates.php near the bottom :)

ticky
02-17-2005, 11:41 PM
2 things

1. why do you want to edit the templates in the database? very very bad idea


woah who said anything about editing templates directly? I just wanted to know if that is where they are stored! =P

Thanks for the info!

I edited adminfunctions_Templates.php

I added this:

'testtmp' => $vbphrase['group_testtmp'],

Ofcourse I also added the phrase 'group_testtmp'. But when I go into the Stlyle Manager and click on << >> (expand templates), I do not see my new template group.

do I need to somehow recompile this script or am I missing something?

Marco van Herwaarden
02-18-2005, 03:26 AM
To what phrase group did you add 'group_testtmp'?