forum.coppermine-gallery.net
Support => cpg1.6.x Support => cpg1.6 themes (visuals) => Topic started by: Hanna. on March 30, 2023, 05:12:30 pm
-
I'm trying to add this:
<?php include "./welcome.php";?>
into template.html but it won't display. I need to be able to include/import php files in the template to save myself each time I change the theme colors/layout.
Please advise.
-
You can not run PHP code from an .html file.
See here (https://coppermine-gallery.net/docs/curr/en/php-content.htm#php-content_header_footer) for adding custom PHP code.
-
You can close this topic. I was able to locate the plugin that you provided me a while back in regards to this. Thanks!
-
Link to thread (https://forum.coppermine-gallery.net/index.php/topic,79828.msg386797.html#msg386797)