How to make plugins process Sections and Categories

E-mail
Written by Henrik, Tuesday, 23 September 2008 Last Updated ( Tuesday, 24 February 2009 19:47 )
I thought plugins processed the Category and Seciton texts also, if you used blog layouts.

This is not the case, and it was a bit annoying before I found out how to get it fixed!

Anyway, after some googling, I found a really good article on how to accomplish this! (Google is your friend!)

For those of you not familiar with PHP coding, or just lazy enough to do it yourselfs ( :-) ), I have compiled a zipfile containg the changes. Just upload and replace your original Joomla installation.

As always, you should be very careful doing this, make sure you just replace the two files, and not all content. MAKE A BACKUP first! I take no responsibility for _your actions.
I would also like to add a limitation in this hack; it will only process plugins with a onPrepareContent event.

You can get the file here!

Like this Joomla template?

As many other things on this site it is completely free! In collaboration with Midsjö AB are we releasing it into the public domain under the GNU/GPL version 2 license. You will find this template and other extensions under the Labs section then Joomla!. Good luck and happy Joomling!