Softaculous


Topic : Add custom PHP script


Posted By: arumpsp on October 13, 2017, 5:07 am
Hi,

I just started building a website with SitePad (integrated with CPanel). Is there any way I can edit/add custom PHP script to the webpage? If the option isn't available, I'll have to opt for manual website design.

Any help is very appreciated. Thank you!

Posted By: aakash_softac on October 16, 2017, 6:21 am | Post: 1
Hi,

Currently, we do not provide any option to add custom PHP script as the final website that is published are static web pages ie HTML, JS, CSS. So you will not be able to execute the PHP script.

Do let us know if you need any other information.

-----------------------
Aakash Gupta
SitePad Developer

Follow us for faster updates
Twitter: https://twitter.com/sitepad_editor
Facebook: https://facebook.com/SitePad

Posted By: arumpsp on October 17, 2017, 1:00 am | Post: 2
Thanks for the reply, Aakash!

Yes, by now I've realized that I can't add dynamic content while building the website, but I wonder if it can be added manually after publishing? Do I need to install any add-on? Btw SitePad has saved me a lot of time designing the webpage. Thank you!

Posted By: aakash_softac on October 17, 2017, 6:38 am | Post: 3
Hi,

You can store all your PHP file in a folder and then in SitePad editor you can create iframe tag using embed and add the source to the given folder and PHP file that you want to load the page. So through the iframe tag, you will be able to load your PHP content on the page that you want.

Do let us know if you face any issue.

-----------------------
Aakash Gupta
SitePad Developer

Follow us for faster updates
Twitter: https://twitter.com/sitepad_editor
Facebook: https://facebook.com/SitePad

Posted By: arumpsp on October 19, 2017, 3:59 am | Post: 4
Hi,

Thanks for your suggestion, now I am able to load php contents on my webpage. But there are some minor issues: iframe adds white space under it's element. How can I solve this? Thank you!

Posted By: Brijesh on October 23, 2017, 12:22 pm | Post: 5
Hi,

You can use Custom HTML to overwrite the margin or padding as per your preference :
http://sitepad.com/wiki/Custom_HTML

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.