Hey all,
Heres my problem. I have a premade php/javascript script that serves as a user registration field that sends data to my database. The script works, but i cant seem to find how to integrate it into CMSMS. Here is location of the problem page:
http://winecountrybride.com/index.php/r ... gistration
I know you can use literal tags to make the javascript work as it should... and i tried it, but to no avail.
Im thinking, do i need to create my own module? or can i just use the code in the pages? I have everything built i just need to integrate it. Notice on the page how the javascript and PHP are visibile... is there a way to make these not parse as text but as proper code?
Thank for you help!!
PHP/JavaScript Problems!!!
-
calguy1000
- Support Guru

- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: PHP/JavaScript Problems!!!
a) checkout the frontendusers, customcontent, and selfregistration modules, they will probably do what you want.
if they don't work for you, I'd enjoy hearing why.
b) barring that, you can put your php stuff into user defined tags, and then call them with {tagname} in your page.
c) you can turn on use_smarty_php_tags in the config.php and then use {php} and {/php} to delimit your php code.
if they don't work for you, I'd enjoy hearing why.
b) barring that, you can put your php stuff into user defined tags, and then call them with {tagname} in your page.
c) you can turn on use_smarty_php_tags in the config.php and then use {php} and {/php} to delimit your php code.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
