thesubroot
thesubroot

Reputation: 438

render a php application inside Joomla article

I have a folder containing a php booking system,that i want to render as un article and add it to the main menu of the site. The solution that i end with, is to use the joomla URL Wrapper. But it brokes my design as it render it inside an iframe.

Is there another way to do that?

Upvotes: 0

Views: 380

Answers (2)

Vasyl Zhuk
Vasyl Zhuk

Reputation: 106

That requires an integration work. At least you'd rather think of the way to give some Jooml Component wrapper to your booking sysytem. which at least involves creating a com_yourcomname folder, and a yourcomname.php that will dispatch your actions to the actions of the booking component and, perhaps, filter the urls in the output so that they match the Joomla url building convetions. If do this properly, your app will appear as a page content (not an article)

Upvotes: 0

BackSlash
BackSlash

Reputation: 22233

Use Jumi, it includes PHP files into articles, without iframes.

Usage:

{jumi [path/to/file.php]}

Jumi website

Upvotes: 1

Related Questions