Advanced search  

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]

Pages: [1]   Go Down

Author Topic: themes  (Read 3658 times)

0 Members and 1 Guest are viewing this topic.

pcfreak

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
themes
« on: October 30, 2003, 10:31:36 pm »

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

Zarsky

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 268
    • Zerr Family Website
Re: themes
« Reply #1 on: October 30, 2003, 10:46:48 pm »

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
Logged
Read the Online DOCs, FAQ, and SEARCH the board BEFORE posting questions for help.

pcfreak

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
Re: themes
« Reply #2 on: October 30, 2003, 10:58:31 pm »

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
Logged

rbl

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Posts: 60
    • http://lomoblog.com/
themes
« Reply #3 on: October 31, 2003, 01:44:19 am »

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.
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
themes
« Reply #4 on: October 31, 2003, 03:39:21 am »

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

pcfreak

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 31
themes
« Reply #5 on: October 31, 2003, 08:52:31 pm »

thanks, that is a usefull anser
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 18 queries.