PHP Pages and CMS

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
bcsweb1
Forum Members
Forum Members
Posts: 54
Joined: Tue Nov 13, 2007 2:39 pm

PHP Pages and CMS

Post by bcsweb1 »

Yes, I did the search - came up with one page of PHP related issues....I read the manuals and I tried different things :(

I like to put that up front because many people will jump on you for asking a question if you do not spend at least 1 hour looking for it in the forums..which after 1 hour I figure it is time to ask the question...sorry..

I have a php that works great.

Put in the CMS and it does not work.....

Code: Select all

string(356) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: CheckAField(document.icpsignup.fields_alist); var alistVal = document.icpsignup.fields_alist.value; if (alistVal == "") { document.icpsignup.fields_alist.focus(); alert("The A-List Number is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(227) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: document.icpsignup.fields_alist.focus(); alert("The A-List Number does not validate."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(173) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Email field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(178) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The First Name field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(177) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Last Name field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(177) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Address 1 field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(172) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The City field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(173) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The State field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(171) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Zip field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(181) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The A-List Number field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(307) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: //force the format of the fields_DOB to have the same format Such as MM-DD-YY var dt=document.icpsignup.fields_DOB; if (isDate(dt.value)==false){ dt.focus(); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(183) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Expiration Date field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(178) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("The Gender field is required."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(187) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: alert("You Must Choose An A-List To Subscribe To."); return false; (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)" string(198) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag: // alert("You Must Choose An A-List To Subscribe To."); // return false; // (Smarty_Compiler.class.php, line 446)" string(117) "Smarty error: [in content:content_en line 1]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"   
 '; ?>            

So, I searched for info on how to use a PHP page in the CMS and could not find a way to do it - I am sure it is simple - but as you can see by the error - not too simple for me...

Thanks
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: PHP Pages and CMS

Post by calguy1000 »

Huh.... it only took me 1 minute...

did a forum search for 'include php'.
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.
bcsweb1
Forum Members
Forum Members
Posts: 54
Joined: Tue Nov 13, 2007 2:39 pm

Re: PHP Pages and CMS

Post by bcsweb1 »

Sorry, I did not know it was called "include php"....

I did a search for php and php and cms
Post Reply

Return to “Layout and Design (CSS & HTML)”