use php in index.html use php in index.html
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

use php in index.html

Started by atmorell, September 08, 2007, 07:58:19 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

atmorell

Hello,

I have a single page (displayimage.php) where I would like to strip everything. (Header, menu and footer) Now that should be pretty easy to control in index.html - but if I do a small php test <?php echo "test"; ?> in index.html I don't get anything echoed. It looks like coppermine ignoes my php in that file.

Any ideas?

Best regards.
Asbjørn Morell.

Nibbler


atmorell

themes\mytheme\index.html

it's the layout of my site.

Best regards.
Asbjørn Morell.

atmorell

Hello,

Sorry but I have typed the wrong filename :( I am trying to use php in www.domain.com/themes/mytheme/theme.html Hmmmm that is also the reason I could not find the answer in this forum. http://forum.coppermine-gallery.net/index.php?topic=35937.0 It looks like it is not possible. However I could move the stuff from theme.html to a custom header page. (header.php) Will try that tomorrow.

Best regards.
Asbjørn Morell

atmorell

Hello,

I am so close from having this working! The only problem I have is that my {PLACEHOLDERS} does not get resolved in my custom_header.php and custom_footer.php file. Don't know if I should open a new thread. (1 question/thread) Is there a function to fetch the placeholder result?

Best regards.
Asbjørn Morell.

Stramm

please start a new thread and attach the code you have in your custom header