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: template.html  (Read 2889 times)

0 Members and 1 Guest are viewing this topic.

unknown12

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
template.html
« on: October 08, 2005, 10:09:15 pm »

How would I include a PHP file into a part in the template file?

thanks.
Logged

EverybodyHatesMe

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: template.html
« Reply #1 on: October 08, 2005, 10:15:00 pm »

Its not directly possible.

You could always include the file in theme.php and then assign the variables you need so you can access them in template.html
Logged

unknown12

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: template.html
« Reply #2 on: October 08, 2005, 11:16:50 pm »

How would I do that?
Logged

Stramm

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: template.html
« Reply #3 on: October 08, 2005, 11:59:30 pm »

if you only need it in the index then use the anycontent block
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.