Guest Lyconal Posted April 24, 2008 Share Posted April 24, 2008 Can PHP be added into Site Documents or embedded into Site Documents? Cheers Ok, so I have determined that I cannot add it directly, as it strips any INCLUDEs or PHP tags out. Is there a way to indirectly achieve this? (I am wanting to add custom contact form, and anther form in 2 documents, but both require PHP scripting to function correctly). Cheers Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted April 25, 2008 Share Posted April 25, 2008 In theory, you could add an inline frame (HTML), and within that call the PHP. But then you have a messy inline frame. on the page, and it mucks up indexing, however, as your application if for an specialised online form, then that probably doesn't matter. Quote Link to comment Share on other sites More sharing options...
cb2004 Posted April 25, 2008 Share Posted April 25, 2008 Or you could link to the site document as a PHP file and run it from there. Unfortunately when you change the skin this file will not change though. Quote Link to comment Share on other sites More sharing options...
Guest Lyconal Posted April 25, 2008 Share Posted April 25, 2008 In theory, you could add an inline frame (HTML), and within that call the PHP. But then you have a messy inline frame. on the page, and it mucks up indexing, however, as your application if for an specialised online form, then that probably doesn't matter. Works a treat Mucking up the indexing is a good side effect of this, as I didn't want search engines etc seeing and indexing the form anyhow (Was going to stop them via robots.txt). ** NEW QUESTION ** Is there a way to create a Site Document and not have it display with the rest of the Site Documents? (Or even dispay a PHP page in a custom area where product information etc normally is?) Cheers :) Quote Link to comment Share on other sites More sharing options...
Guest madshears Posted April 28, 2008 Share Posted April 28, 2008 ** NEW QUESTION ** Is there a way to create a Site Document and not have it display with the rest of the Site Documents? (Or even dispay a PHP page in a custom area where product information etc normally is?) Cheers In the cubecartforums.org forum under the free mods for cc4, there is a post called hide site docs. it has been updated, so there is another post under the original by someone named cpmike that is what I use in both of my stores to hide extra site docs. I will also PM this to you incase I get punished for helping you with a link even though they link to the forum from the index on this one. Quote Link to comment Share on other sites More sharing options...
kinetic Posted April 30, 2008 Share Posted April 30, 2008 go over to the http://cubecartforums.org and look up convicts show hide sort site docs ANY Wheremod no cubecart store should be without it Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.