4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Caelestis on March 30, 2003, 12:20:55 PM
-
does anyone know where the sql statement that sets the templates dir. is located or am i wrong about how that setting is set?
-
there's no setting for templates. all sub-directories under /templates/ are determined automatically
-
there's no setting for templates. all sub-directories under /templates/ are determined automatically
how does it know to look at templates/temp1 rather than templates/temp2? it is set in the mysql database i just need to find the statement that set and retrieves it...
-
does anyone know where the sql statement that sets the templates dir. is located or am i wrong about how that setting is set?
in /includes/constants.php define('TEMPLATE_DIR', 'templates');
this set the name of "templates" folder itself, then, when go to 4images settings in ACP, it will check what folders are exist in "templates" folder and give u the list of what templates are avalable, u chose the one u want.
-
does anyone know where the sql statement that sets the templates dir. is located or am i wrong about how that setting is set?
in /includes/constants.php define('TEMPLATE_DIR', 'templates');
this set the name of "templates" folder itself, then, when go to 4images settings in ACP, it will check what folders are exist in "templates" folder and give u the list of what templates are avalable, u chose the one u want.
ok you've both missed the point... the name of the template you are using is stored in the mysql database i need to know where the sql query that finds the field it is stored in is located, i'm working on a mod so that users can have more than one template...
EDIT: nvm... i found what i was looking for... so maybe tonight or tommarrow i'll have a change template mod...
and v@no you did answer my question... kinda just not fully i guess...
-
hmm... probably you're looking for template_dir which is currently selected? then it's in the 4images_settings table