Can we enter PHP code on pages?

User 10077 Photo


Senior Advisor
1,095 posts

Is it possible to enter PHP code on pages in SCCP? For example, I could do an include of a file containing the code generated by menu builder:

include('includes/inc_nav_upper.php');

In the shop settings, I can include links to the css and js files for the menu. If there is a way to enter the php, that would make it very simple to add a menu builder navigation menu.
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 187934 Photo


Senior Advisor
20,192 posts

Not if your shop is hosted on S-Drive. Otherwise You could place the code on your page and use a little css or jquery to render it correctly. You may have to alter you .htaccess to parse php inside html.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 10077 Photo


Senior Advisor
1,095 posts

Does S-Drive support PHP and MySQL?
ASK ME ANYTHING
I provide personalized help for Coffeecup Users including personal or group training for Site Designer, Web Form Builder and more via Zoom.
Email me at support@uscni.org or call 865-687-7698.

Did you know that Web Form Builder can be used for both simple and complicated forms and that it's not limited to the default fonts and buttons? Take a look at a form we developed for WindowTinting.com.
https://forms.windowtinting.com/forms/w … ppingcart/
User 38401 Photo


Senior Advisor
10,951 posts

Brian Durfee wrote:
Does S-Drive support PHP and MySQL?


Only for internal systems Brian, it doesn't support user uploads of any. You can use CC software such as Form Builder and Shopping Cart, but the PHP that is utilized is internally written by CC itself, you cannot upload, embellish etc. any of that code at this time. Not sure if they plan to free that up later or not, rumors have it that it will be, but not sure if that's true or when it would happen if it is true.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.