How to add custom PHP in Joomla?

Bimba Shrestha picture Bimba Shrestha · Apr 30, 2013 · Viewed 28.6k times · Source

I'm having a very difficult time putting custom code into my first Joomla website. Is Joomla seriously limited to only the extensions and modules that they already provide? How can I customize it with my own PHP code?

Answer

Tom picture Tom · Apr 30, 2013

Is joomla seriously limited to only the extensions and modules that they already provide.

Absolutely not. Joomla is quite rich when it comes to customization. All those extensions and modules is something that people have created using the rich interfaces available.

The wealth of information is here.

In terms of customization there are 3 main things to look at:

Plugins - event driven and fairly easy to do

Modules - where you put small capabilities across your website; very easy to do

Components - definitely the most complex (don't start with this) but this will create the main functional unit. I use this for more complex applications

Your php experience will be put to good use.