How to insert php code into the page? - Pages
How to insert php code into the page?
Is there a way that I can integrate php code into it somehow.
The pages go as "mywebsite/app.php/custompage"
I can't find the custompage anywhere in my file manager to manually edit it. It seem's to be hidden or something.
-
- Registered User
- Posts: 8
- Joined: Tue May 28, 2019 9:23 pm
- Contact:
Re: How to insert php code into the page?
- MattF
- Extensions Development Coordinator
- Posts: 5859
- Joined: Sat Jan 17, 2009 9:37 am
- Location: Los Angeles, CA
- Name: Matt Friedman
- Contact:
Re: How to insert php code into the page?
There is nothing there that answer's my question.VSE wrote:please read the https://www.phpbb.com/customise/db/exte ... d37526989c
-
- Registered User
- Posts: 8
- Joined: Tue May 28, 2019 9:23 pm
- Contact:
Re: How to insert php code into the page?
-
- Registered User
- Posts: 330
- Joined: Mon Dec 13, 2010 7:57 pm
- Contact:
Re: How to insert php code into the page?
I don't really understand what you're trying to say here.Ozo wrote:Without not really using this ext but just a wild stab; [How-To] Custom Page Templates + allowing PHP in templates from admin control panel options (not the extension)
-
- Registered User
- Posts: 8
- Joined: Tue May 28, 2019 9:23 pm
- Contact:
Re: How to insert php code into the page?
First, enable the "Allow php in templates" option in the ACP > Security settings.
Second, put code like the following:
Code: Select all
Time: <!-- PHP --> echo time(); <!-- ENDPHP -->
- yehors
- Registered User
- Posts: 32
- Joined: Sat Jun 01, 2019 2:33 pm
- Name: Yehor Smoliakov
- Contact: