News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

How to call other .php files into template.html

Started by Hanna., March 30, 2023, 05:12:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Hanna.

I'm trying to add this:

Quote<?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.

ron4mac

You can not run PHP code from an .html file.

See here for adding custom PHP code.

Hanna.

You can close this topic. I was able to locate the plugin that you provided me a while back in regards to this. Thanks!

Hanna.