where does theme.php go? where does theme.php go?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

where does theme.php go?

Started by gymnastdude182, February 27, 2005, 11:13:10 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gymnastdude182

i have the template.html file , and the style.css file, but i dont see where the theme.php comes in, can some1 PLEASE help me?

Tranz

Please provide more background information.

gymnastdude182

like i made a template.html file, and a style.css file, and i HAVE a theme.php file, but i dont see where it says theme.php in either the template or css in even the default templates, how do u even edit the theme.php and have it show up on the template

Tranz

Please specify exactly what you want to do so we can tell you what and where to edit.

donnoman

I think hes saying he doesn't see any interaction between them.

when you ask for a coppermine page, it INCLUDES init.inc.php;
init.inc.php reads the database and request vars determines the theme;
init.inc.php then reads the themes template.html into memory
init.inc.php INCLUDES the themes theme.php
from then on out the coppermine script calls the functions in theme.php which produce html output based
on the in-memory template.html and its own internal templates..

only half of your theme is in template.html, all of the guts of the theme are in theme.php; ie: all of your menu buttons, etc.

and to answer the title, the theme.php goes right beside your template.html in the theme directory. Look at the default themes for examples.



gymnastdude182

o awesome , i think i understand! thanks!