Hi,
I have downloaded, installed and started to deploy my CMS Made Simple!!
I must say very good, clean and easy to use!!
However I have struggling to find where I can insert
Simple PHP code..
If I try to do this in the TNY Editor it replaces these with
<?
?>
I NEED HELP...
Trip to Barbados for the person whom can inform me what to do!!
I am lost (This must be simple...)
Where do you insert native PHP code in the CMS Made Simple Editor!!!
--- (Trip 2 Barbados for the Answer) ---
-
- New Member
- Posts: 3
- Joined: Thu Jun 05, 2008 9:16 am
Re: --- (Trip 2 Barbados for the Answer) ---
so what about the other trip... are you going to just keep giving trips away here.... why not just pay someone to do it and be done with it? It'd be cheaper 

- snafu
- Forum Members
- Posts: 29
- Joined: Mon Oct 29, 2007 5:56 pm
- Location: Kawartha Lakes, Ontario, Canada
Re: --- (Trip 2 Barbados for the Answer) ---
Code can be injected in to a page by making sure "Turn WYSIWYG on/off" is unchecked.
You may also wish to consider creating User Defined Tags, per this User Handbook/Admin Panel/Extensions/User Defined Tags
You may also wish to consider creating User Defined Tags, per this User Handbook/Admin Panel/Extensions/User Defined Tags
"Catch a man a fish and he'll have fish for a day, teach a man to fish and he'll have fish for a lifetime"-Chinese Proverb
Re: --- (Trip 2 Barbados for the Answer) ---
Please dont cry too loud.
And it's a lot easier (and safer) to use userdefined tags (Admin panel, Extensions > Userdefined Tags)
http://wiki.cmsmadesimple.org/index.php ... fined_Tags
There are some informations how to use it.
When can I get my trip
?
And it's a lot easier (and safer) to use userdefined tags (Admin panel, Extensions > Userdefined Tags)
http://wiki.cmsmadesimple.org/index.php ... fined_Tags
There are some informations how to use it.
When can I get my trip


-
- Forum Members
- Posts: 18
- Joined: Tue Jan 29, 2008 11:29 pm
Re: --- (Trip 2 Barbados for the Answer) ---
If I understand your question correctly, then all you need to do it replace with {php}...{/php}
I find some problems with some quotes throwing errors, but I get around them by putting all of my php in includes an referring to those includes in the code above.
Good luck.
I find some problems with some quotes throwing errors, but I get around them by putting all of my php in includes an referring to those includes in the code above.
Good luck.
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
- Location: USA
Re: --- (Trip 2 Barbados for the Answer) ---
You also have to set this to true in your config.php file:
Barbados, here I come! WooHooo!
Code: Select all
$config['use_smarty_php_tags'] = true;
Take a penny, leave a penny.