1
Hi, new user...
Been going through the forums and faqs and haven't been able to find the answer.
I want to be able to drop in html and php code when creating pages eg.) in Sections.
For example, if I want to drop in a link to another page or call in an image. I know I can do this with straight html
eg) <a href="http://localhost/site/modules/sections/index.php?op=viewarticle&artid=2"> link</a>
But, I want this to work on localhost as well as the production server.
eg) <a href="<php echo XOOPS_URL . ('/modules/sections/index.php?op=viewarticle&artid=2'); ?>">link</a>
Unfortunately, it doesn't render the php code.
Any ideas ? Suggestions?