iJay
iJay

Reputation: 4293

Add new project as an Article in joomla 1.5

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

Answers (2)

mr.soroush
mr.soroush

Reputation: 1130

Use Sourcerer to place any code anywhere. This module is very useful and solve TinyMCE editor problems!

view this: Sourcerer

Upvotes: 1

Lodder
Lodder

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

Related Questions