Save page as *.php

jesus078
4 Posts
jesus078 posted this 15 June 2021
Ask a Question

Hello!) How can i save pages as *.php?
Thanks.

Hello!) How can i save pages as *.php? Thanks.
Vote to pay developers attention to this features or issue.
11 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 15 June 2021

Hello Ilia,
Thank you for using Nicepage!

Unfortunately, there's no such possibility in Nicepage for now, but we'll take it into considiration.

...................................................
Sincerely,
Lilioneta
Nicepage Support Team

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

Hello Ilia, Thank you for using Nicepage! Unfortunately, there's no such possibility in Nicepage for now, but we'll take it into considiration. ................................................... Sincerely, Lilioneta Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
jesus078
4 Posts
jesus078 posted this 15 June 2021

This capability is urgently needed. In a post dated 08 February 2020, the question was asked - the support said will add to the wishlist. 99.9% of sites use php scripts.
Are there any deadlines for implementation?
P.S.
Now you have to replace the extension after creating the site in all the code and on all pages. It's horrible.

This capability is urgently needed. In a post dated 08 February 2020, the question was asked - the support said will add to the wishlist. 99.9% of sites use php scripts. Are there any deadlines for implementation? P.S. Now you have to replace the extension after creating the site in all the code and on all pages. It's horrible.
jesus078
4 Posts
jesus078 posted this 15 June 2021

https://nicepage.com/questions/61205/save-page-as-php
1,5 years ago...

https://nicepage.com/questions/61205/save-page-as-php 1,5 years ago...
Support Team
Support Team posted this 15 June 2021

Hi Ilia,

Unfortunately, we're not aware of the execution time for these features, due to the fact that our developers work on implementing very important functions and fixes first.

Your understanding and patience are greatly appreciated.
...................................................
Sincerely,
Lilioneta
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 Ilia, Unfortunately, we're not aware of the execution time for these features, due to the fact that our developers work on implementing very important functions and fixes first. Your understanding and patience are greatly appreciated. ................................................... Sincerely, Lilioneta Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
ted.yates
8 Posts
ted.yates posted this 06 December 2021

This IS an important function that does not work as advertised. https://nicepage.com/features/c/custom-code says that PHP can be used for websites, but that is seriously misleading. That feature does not work today.

A PHP extension is not a feature. Embedding PHP in a page is a feature and it is broken. That makes it a bug.

Nicepage Ultimate 4.1.0

This IS an important function that does not work as advertised. https://nicepage.com/features/c/custom-code says that PHP can be used for websites, but that is seriously misleading. That feature does not work today. A PHP extension is not a feature. Embedding PHP in a page is a feature and it is broken. That makes it a bug. *Nicepage Ultimate 4.1.0*
Support Team
Support Team posted this 07 December 2021

Hi,

Please explain the problem in details. What exact code you have inserted and how it should work. Are you sure that this is a working code?
Please note that the code will be processed only on the live site when exported if your site is configured to deal with the PHP code.

...................................................
Sincerely,
Hella
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, Please explain the problem in details. What exact code you have inserted and how it should work. Are you sure that this is a working code? Please note that the code will be processed only on the live site when exported if your site is configured to deal with the PHP code. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
ted.yates
8 Posts
ted.yates posted this 07 December 2021

Hi,

The problem details:

According to the nicepage website at https://nicepage.com/features/c/custom-code, PHP can be used for websites. There is no mention of WordPress or Joomla or any restrictions.

Using the PHP block, it is possible to embed PHP code like:

<?php echo "PHP is working"; ?>

But, when exporting the site, the only option for a stand-alone site (no WordPress or anything) is .html. When saved as an .html file, the PHP code is displayed instead of executed. Renaming the file with a .php extension is required so the PHP will work.

So every page with PHP has to be manually renamed. Every page must be manually updated so the menu and other links point to the new name. When a minor change is made to the site, all of that renaming and editing has to be repeated. Any mistakes in that manual process will result in a broken website.

The desired solution: allow exporting with a .php extension. Then the PHP blocks will work, the pages won't need to be renamed, no editing files after exporting. It just works.

Others asking for the same:
https://nicepage.com/questions/190361/how-to-use-php-code-in-nicepage
https://nicepage.com/questions/74877/exported-project-functions-php-file
https://nicepage.com/questions/61205/save-page-as-php
https://nicepage.com/questions/98950/modal-pop-up-does-not-process-the-php-code
https://nicepage.com/questions/219357/php-snippets-wp-joomla-templates-do-not-work-without-manual-editing-need-php-extension
https://nicepage.com/questions/167625/php

Hi, The problem details: According to the nicepage website at [https://nicepage.com/features/c/custom-code][1], PHP can be used for websites. There is no mention of WordPress or Joomla or any restrictions. Using the PHP block, it is possible to embed PHP code like: <?php echo "PHP is working"; ?> But, when exporting the site, the only option for a stand-alone site (no WordPress or anything) is .html. When saved as an .html file, the PHP code is displayed instead of executed. Renaming the file with a .php extension is required so the PHP will work. So every page with PHP has to be manually renamed. Every page must be manually updated so the menu and other links point to the new name. When a minor change is made to the site, all of that renaming and editing has to be repeated. Any mistakes in that manual process will result in a broken website. The desired solution: allow exporting with a .php extension. Then the PHP blocks will work, the pages won't need to be renamed, no editing files after exporting. It just works. Others asking for the same: https://nicepage.com/questions/190361/how-to-use-php-code-in-nicepage https://nicepage.com/questions/74877/exported-project-functions-php-file https://nicepage.com/questions/61205/save-page-as-php https://nicepage.com/questions/98950/modal-pop-up-does-not-process-the-php-code https://nicepage.com/questions/219357/php-snippets-wp-joomla-templates-do-not-work-without-manual-editing-need-php-extension https://nicepage.com/questions/167625/php [1]: https://nicepage.com/features/c/custom-code
Support Team
Support Team posted this 08 December 2021

Hi,

We indeed have the Custom PHP code feature and we explain more about using it in our documentation:
https://nicepage.com/doc/164390/php-element

It explains where and how it will work. Using PHP in HTML requires not only the renaming of the file extensions, but also the correct configuration of the server where the site is hosted in order to process the PHP code.

In any case, your suggestion is considered for our wishlist.

...................................................
Sincerely,
Hella
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, We indeed have the Custom PHP code feature and we explain more about using it in our documentation: https://nicepage.com/doc/164390/php-element It explains where and how it will work. Using PHP in HTML requires not only the renaming of the file extensions, but also the correct configuration of the server where the site is hosted in order to process the PHP code. In any case, your suggestion is considered for our wishlist. ................................................... Sincerely, Hella Nicepage Support Team Please subscribe to our YouTube channel: http://youtube.com/nicepage?sub_confirmation=1 Follow us on Facebook: http://facebook.com/nicepageapp
shizzart90
6 Posts
shizzart90 posted this 22 December 2022

I really wonder if your staff have ever tried the possibility. Cause it doesn't work. The whole function makes no sense at all. codes like " are converted to " (Log in admins and check how i write it)

What's in it for me? it messes up the whole coding. There are quite a few in it!

I really wonder if your staff have ever tried the possibility. Cause it doesn't work. The whole function makes no sense at all. codes like " are converted to &quot; (Log in admins and check how i write it) What's in it for me? it messes up the whole coding. There are quite a few in it!

Last edited 22 December 2022 by shizzart90

shizzart90
6 Posts
shizzart90 posted this 22 December 2022

By the way ... this feature is very important! I miss it so much... Please speed it up. After years it is still not there.

By the way ... this feature is very important! I miss it so much... Please speed it up. After years it is still not there.
Support Team
Support Team posted this 23 December 2022

Hello,

PHP element works ok on our side. But please note that it is for CMS export only. It does not work for HTML export.
This request is still on our wish list. Unfortunately, it is not really popular.

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

Hello, PHP element works ok on our side. But please note that it is for CMS export only. It does not work for HTML export. This request is still on our wish list. Unfortunately, it is not really popular. ................................................... 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