Skip to content Skip to sidebar Skip to footer

How To Include An External Php File Into A Joomla Article?

So basically, I have a single article that I would like to load a PHP file into. This PHP file has a bunch of PHP and Javascript, along with HTML. I need to include this full PHP f

Solution 1:

Try this ,

Create a module that have your forms. For module development tutorial

And create an article and set the module inside that like.

{loadposition contact_form_pos}

Inside your article just mention the module position like above for more

Solution 2:

Using extensions is the only way to do that. If you don't want to use a plugin that allows PHP into articles, you would have to write your own custom component to show that php page in your own menu item, out of an article.

Solution 3:

It's a little hard to answer when you haven't said if you want to just do this one time in one specific article or you want to be able to put it into any article.

Post a Comment for "How To Include An External Php File Into A Joomla Article?"