HTML and PHP

rsklein33
20 Posts
rsklein33 posted this 16 December 2022
Ask a Question

Is there a way, using html /ftp publish to add php code before the page header and in table cells or grids? I don’t mind writing my own code. I used to do this with NetObjects Fusion and I need a replacement tool.

Is there a way, using html /ftp publish to add php code before the page header and in table cells or grids? I don’t mind writing my own code. I used to do this with NetObjects Fusion and I need a replacement tool.
Vote to pay developers attention to this features or issue.
9 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 19 December 2022

Hi, Richard,

Sorry for the delay.

You can add a PHP code using the PHP Element. However, please note that PHP codes do not work with the HTML export. Use an HTML code instead, if possible.

Let us know if you need our further help!
...................................................
Sincerely,
Paul C.
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, Richard, Sorry for the delay. You can add a PHP code using the PHP Element. However, please note that PHP codes do not work with the HTML export. Use an HTML code instead, if possible. Let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
rsklein33
20 Posts
rsklein33 posted this 20 December 2022

I want to use HTML export only and I need to be able to connect to a database and manage data to and from the database. To do this, I need a way to enter code before the HTML header and to enter it into a Table cell or a Grid cell. I then can ftp the HTML output to my hoster who is running a MySql server. There I can debug my code. If you can't do it, are you going to do it in the future or can you recommend software that can do this, preferably compatible with NicePage. NicePage is great as far as it goes but I am needing a replacement for NetObjects Fusion which allowed me to do this using a third party tool called REDFusion. Of all the tools that were available, the one I need is the PHP tool. It had the ability for me to place the code I generated by entering it directly or calling a file with code put into it. I had the option to place it where the tool was placed or at the top of the HTML file.

I want to use HTML export only and I need to be able to connect to a database and manage data to and from the database. To do this, I need a way to enter code before the HTML header and to enter it into a Table cell or a Grid cell. I then can ftp the HTML output to my hoster who is running a MySql server. There I can debug my code. If you can't do it, are you going to do it in the future or can you recommend software that can do this, preferably compatible with NicePage. NicePage is great as far as it goes but I am needing a replacement for NetObjects Fusion which allowed me to do this using a third party tool called REDFusion. Of all the tools that were available, the one I need is the PHP tool. It had the ability for me to place the code I generated by entering it directly or calling a file with code put into it. I had the option to place it where the tool was placed or at the top of the HTML file.
Support Team
Support Team posted this 20 December 2022

Hi, Richard,

Unfortunately, Nicepage supports PHP only with WordPress and Joomla. We have added to our wishlist the support of PHP for static HTML sites.

I can only suggest editing the code after the HTML export. Have you tried to do so?
...................................................
Sincerely,
Paul C.
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, Richard, Unfortunately, Nicepage supports PHP only with WordPress and Joomla. We have added to our wishlist the support of PHP for static HTML sites. I can only suggest editing the code after the HTML export. Have you tried to do so? ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
rsklein33
20 Posts
rsklein33 posted this 20 December 2022

Some of my data driven sites have hundreds of lines of PHP code which would be unmanageable to edit or recreate if I made changes to a page. Simply changing one word and republishing would require all that code to be redone. No, it is vital to see the code while editing NicePage, or be able to see the link to the file that will be published and where it will be placed on the page.

Some of my data driven sites have hundreds of lines of PHP code which would be unmanageable to edit or recreate if I made changes to a page. Simply changing one word and republishing would require all that code to be redone. No, it is vital to see the code while editing NicePage, or be able to see the link to the file that will be published and where it will be placed on the page.
Support Team
Support Team posted this 21 December 2022

Hi, Richard,

We will consider your suggestion and we hope that we will implement it one day. Anyway, let us know if you need our further help!
...................................................
Sincerely,
Paul C.
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, Richard, We will consider your suggestion and we hope that we will implement it one day. Anyway, let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
rsklein33
20 Posts
rsklein33 posted this 12 September 2023

I am still waiting for the implementation of a way to write code myself that will allow filling a form element or grid element with data from a database of my choosing. I want to be able to open a database of my choosing and write my own php and mysql code and need a way to insert it from a text editer or from a file insert. This capability may allow some third partyies to create some java based code elements that can be easily inserted as I did with NetObjects.

I am still waiting for the implementation of a way to write code myself that will allow filling a form element or grid element with data from a database of my choosing. I want to be able to open a database of my choosing and write my own php and mysql code and need a way to insert it from a text editer or from a file insert. This capability may allow some third partyies to create some java based code elements that can be easily inserted as I did with NetObjects.
Support Team
Support Team posted this 13 September 2023

Hi, Richard,

Unfortunately, it has not been implemented yet, but we hope that we will add this feature one day.

Let us know if you need our further help!
...................................................
Sincerely,
Paul C.
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, Richard, Unfortunately, it has not been implemented yet, but we hope that we will add this feature one day. Let us know if you need our further help! ................................................... Sincerely, Paul C. Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
fsbisinsserv
12 Posts
fsbisinsserv posted this 2 weeks ago

Nope that doesn't work, just get error (see attached) I need to add this to the header for the entire site: <?php include 'verify_membership.php';?>

Nope that doesn't work, just get error (see attached) I need to add this to the header for the entire site: &lt;?php include &#39;verify_membership.php&#39;;?&gt;
Support Team
Support Team posted this 2 weeks ago

Hi, fsbisinsserv,

We see that you already created a topic with this issue. Please stick to it. Thank you.
...................................................
Sincerely,
Paul C.
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, *fsbisinsserv*, We see that you already created a topic with this issue. Please stick to it. Thank you. ................................................... Sincerely, Paul C. 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