forum.coppermine-gallery.net

Support => Older/other versions => cpg1.3.x Support => Topic started by: unknown12 on October 08, 2005, 10:09:15 pm

Title: template.html
Post by: unknown12 on October 08, 2005, 10:09:15 pm
How would I include a PHP file into a part in the template file?

thanks.
Title: Re: template.html
Post by: EverybodyHatesMe 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
Title: Re: template.html
Post by: unknown12 on October 08, 2005, 11:16:50 pm
How would I do that?
Title: Re: template.html
Post by: Stramm on October 08, 2005, 11:59:30 pm
if you only need it in the index then use the anycontent block