themes themes
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

themes

Started by pcfreak, October 30, 2003, 10:31:36 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pcfreak

can someone explain the structure of templates to create own theme ?

Zarsky

Quote from: "pcfreak"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
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

pcfreak

Quote from: "zarsky99"
Quote from: "pcfreak"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

rbl

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.

Tarique Sani

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.
SANIsoft PHP applications for E Biz

pcfreak

thanks, that is a usefull anser