Embedded PHP Code

john44822
4 Posts
john44822 posted this 06 March 2025
Ask a Question

I have been using PHP code to auto-populate a window with the items that are inside the folder in that it resides. This is kind of a dynamic file listing PHP code so when an item is added to a folder, it shows up listed on the website automatically is it possible to embed that same code with the PHP module in a Nicepage website?

I added an example of what the file list looks like. Thank you.

Vote to pay developers attention to this features or issue.
3 Replies
Order By: Standard | Newest
Support Team
Support Team posted this 07 March 2025

Hi,

Thanks for being our customer!

Yes, Nicepage allows adding PHP codes using our PHP Element. Please note that this element works only on CMS websites (WordPress, Joomla). PHP codes are not rendered on HTML 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

john44822
4 Posts
john44822 posted this 07 March 2025

Thanks for the answer. As I am learning this new client to me I am finding that it is closely linked to the CMS system.I put together small websites for an architecture company that just needs to broadcast a list of available documents (PDF Files) for consumption by contractors to use. Having a dynamic listing code that allows the Arch Firm to upload new documents to their project folders and then the website reflects the new files in the listing is the basic requirement of the site.

Support Team
Support Team posted this 10 March 2025

Hi,

We are sorry for the delay.

We understand your requirement. As there is no such built-in feature on Nicepage, we suggest using a custom PHP or HTML code that implements it. If you already have a PHP code, you can enter it using our PHP Element, but it will work only on CMS websites as I mentioned above.

Please 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