Jump to content

PHP In Site Documents>


Guest Lyconal

Recommended Posts

Guest Lyconal

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

Link to comment
Share on other sites

Guest Brivtech

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.

Link to comment
Share on other sites

Guest Lyconal

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 :wacko:

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).

:unsure:

** 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 :)

Link to comment
Share on other sites

Guest madshears

** 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 :homestar:

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...