HTML/PHP code in content Topic is solved

General project discussion. NOT for help questions.
Post Reply
jj

HTML/PHP code in content

Post by jj »

How can I add php and html "code" to the content. It looks like everything is translated as "text"...  for instance if I want to test with in the content page, how do I go about it.

Thanks a lot
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: HTML/PHP code in content

Post by Ted »

To put php code into CMSMS, you either need to:

1. turn on use_smarty_php_tags in config.php and then do {php}phpinfo();{/php}

2. (the more accepted way) go to plugin management, click New User Defined Tag, put phpinfo(); into the code, name it phpinfo and put {phpinfo} into your template/content.
jj

Re: HTML/PHP code in content

Post by jj »

beautiful... thx wishy :)
Post Reply

Return to “General Discussion”