Edit a text file

gkobler
7 Posts
gkobler posted this 21 September 2021
Ask a Question

Hello

At the moment i try to integrate the functionality of the attached php file. At the moment i call contact.php with a button with the follow link "config.php?fn=myFilename.conf"

But the form looks ugly and not integreated in my template.

I tryed to put the code to a html and also to a php block. But in the html block, all the php command are remarked as comment, and the php block are not executed on my webhosted site.

My you have me a hint? May nicepage have an integrated text editor?

Best regards
Gregor

Hello At the moment i try to integrate the functionality of the attached php file. At the moment i call contact.php with a button with the follow link "config.php?fn=myFilename.conf" But the form looks ugly and not integreated in my template. I tryed to put the code to a html and also to a php block. But in the html block, all the php command are remarked as comment, and the php block are not executed on my webhosted site. My you have me a hint? May nicepage have an integrated text editor? Best regards Gregor
Vote to pay developers attention to this features or issue.
1 Reply
Order By: Standard | Newest
Support Team
Support Team posted this 23 September 2021

Hi Gregor,

Nicepage does not provide the option to insert PHP code in HTML websites. The PHP element is for CMS export only. The HTML element is for HTML, css and js only.
The attached file is a complete webpage with PHP code.
In general, you can edit the exported website manually, add the required code, and change the extension to .php.

...................................................
Sincerely,
Olivia
Nicepage Support Team

Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1
Follow us on Facebook: http://facebook.com/nicepageapp

Hi Gregor, Nicepage does not provide the option to insert PHP code in HTML websites. The PHP element is for CMS export only. The HTML element is for HTML, css and js only. The attached file is a complete webpage with PHP code. In general, you can edit the exported website manually, add the required code, and change the extension to .php. ................................................... Sincerely, Olivia Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
You must log in or register to leave comments