The Big Spring Sale! Up to 50% off!

html export errors

Thelog
2 Posts
Thelog posted this 22 February 2022
Report a bug

I created a subfolder where I put the pages of my site. In one of these pages I have inserted a form using your php script.

Export to html with relative paths: the form does not work as the script path is generated as
<form action = "scripts / form-bed4.php" and not as it should be <form action = "../ scripts / form-bed4.php"

If I insert some php and use export html the code is normalized as

    <div class = "u-custom-php u-custom-php-1" data-custom-php = "<! - custom_php -> <? php
 echo & quot; Sample PHP & quot ;;

?> <! - / custom_php -> ">

Speaking of export standalone it would be nice to have the css united and a sort of skeleton where to implement the code. When I can I will gladly send you, if you like, an email with what I have in mind (and it could be the boon for those who then program)

I created a subfolder where I put the pages of my site. In one of these pages I have inserted a form using your php script. Export to html with relative paths: the form does not work as the script path is generated as &lt;form action = &quot;scripts / form-bed4.php&quot; and not as it should be &lt;form action = &quot;../ scripts / form-bed4.php&quot; If I insert some php and use export html the code is normalized as <div class = "u-custom-php u-custom-php-1" data-custom-php = "<! - custom_php -> <? php echo & quot; Sample PHP & quot ;; ?> &lt;! - / custom_php -&gt; "> Speaking of export standalone it would be nice to have the css united and a sort of skeleton where to implement the code. When I can I will gladly send you, if you like, an email with what I have in mind (and it could be the boon for those who then program)
Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 25 February 2022

Hi, Marco,

PHP Element is included in the Desktop app in case you want to export your pages and templates to CMS (WordPress and Joomla). Concerning the code itself, Nicepage renders all Elements that can be added to the editor, regardless of their compatibility with HTML. Anyway, we will take your idea into our consideration.

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, Marco, PHP Element is included in the Desktop app in case you want to export your pages and templates to CMS (WordPress and Joomla). Concerning the code itself, Nicepage renders all Elements that can be added to the editor, regardless of their compatibility with HTML. Anyway, we will take your idea into our consideration. 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

Last edited 25 February 2022 by Support Team

Thelog
2 Posts
Thelog posted this 24 February 2022

for php I understand the purpose but I don't understand why leave it then in the html code normalizing it. At that point it becomes a useless thing that remains clear in the code, better not to render the element at all at that point.
This at least my point of view

For the bug pointing to the scripts of the form I hope you can solve otherwise every time I export I have to remember to modify the path by hand, thanks

for php I understand the purpose but I don't understand why leave it then in the html code normalizing it. At that point it becomes a useless thing that remains clear in the code, better not to render the element at all at that point. This at least my point of view For the bug pointing to the scripts of the form I hope you can solve otherwise every time I export I have to remember to modify the path by hand, thanks
Support Team
Support Team posted this 23 February 2022

Hi, Marco,

Sorry for the delay.

Please note that custom PHP scripts are not rendered on static HTML pages. It means that if you add the PHP Element, insert some code, and export the Project to HTML, the PHP code won't be executed. This Element is aimed for use on WordPress and Joomla websites.

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, Marco, Sorry for the delay. Please note that custom PHP scripts are not rendered on static HTML pages. It means that if you add the PHP Element, insert some code, and export the Project to HTML, the PHP code won't be executed. This Element is aimed for use on WordPress and Joomla websites. 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
You must log in or register to leave comments