Jump to content

New Box containing PHP


Guest fsecchi

Recommended Posts

Guest fsecchi

Hi,

It has been a while since I have had to do anything with my cart.

After a revamp of what my partner was wanting I am need of a liitle help.

I am trying to add a new content box - this far I have managed it is the next part which is getting me.

With in the box I am needed to call firstly a PHP script and if possible a small JAVA script (not indispensible).

I have had a look at the construct and logic behind Cubecart and I have manged to gather that it is possible but I seen to be at a loss as to how and where it can be done. I have created a new .php doc in the includes directory and I have created a new box in the skin templates. The script does not seem to run.

I have tried just editing one of the existing boxes with the code but the inclusion of a PHP in a .tpl seems to correctly put the text but it does not run the script.

Are there any suggestions...

Thanks

Link to comment
Share on other sites

With in the box I am needed to call firstly a PHP script
Not possible in current CubeCart however you can assign template variable as your PHP code result.

and if possible a small JAVA script (not indispensible).
Yes, this is possible.

Remember, template is a HTML page you are able use things for HTML generated page only.

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