forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: pcfreak on October 30, 2003, 10:31:36 pm
-
can someone explain the structure of templates to create own theme ?
-
can someone explain the structure of templates to create own theme ?
Check this thread...damysterious exlpains very basically about half way down the thread:
http://forum.coppermine-gallery.net/viewtopic.php?p=3809&highlight=#3809
-
can someone explain the structure of templates to create own theme ?
Check this thread...damysterious exlpains very basically about half way down the thread:
http://forum.coppermine-gallery.net/viewtopic.php?p=3809&highlight=#3809
yes, it is very basically :lol:
iam search about explanations of theme.php
what i'm looking for is to write a complete website in the same theme, so iam need explanation of the basic structure of the parse system of coppermine.
somone have a example ? how do i create a welcome page ? using the templates of coppermine
-
If you want to make static pages from the theme you are using, you should not mess with theme.php code. There's too much logic code in there and you only need the presentation one.
Just copy the outputed html and remove the excedent markup, i.e., open your gallery homepage, view source, copy html and paste in your html editor.
-
All theme related functions are prefixed theme_ and template related functions are prefixed template_
that said - CPG template engine is not mature enough to be used as a general purpose templating system.
-
thanks, that is a usefull anser