Reputation: 4293
I have a joomla project now currently running on.I need to add a separate php project to my joomla project as an article.here what i tried on article;
<?php
// You can place PHP like this
include "newprojectfolder/index.php?m=projects&uname=admin&pass=passwd";
?>
When I run stand alone new project on that joomla folder it works fine.
http://server/Joomlaproject/newprojectfolder/index.php?m=projects&uname=admin&pass=passwd
but when it using as a joomla article, it not shows anything...
how can i go through this? thanks
Upvotes: 0
Views: 108
Reputation: 1130
Use Sourcerer
to place any code anywhere. This module is very useful and solve TinyMCE editor problems!
view this: Sourcerer
Upvotes: 1
Reputation: 19743
Joomla uses the TinyMCE editor which doesn't support writing pure PHP. Therefore you will need to download an extension that allows you to do so. Personally, if it's just PHP you want to use in an article, then I would recommend using PHP Direct
Upvotes: 1