|
Developing for Joomla 1.5 can be a pain in the ar5e |
|
|
|
Written by Dean Beedell
|
|
Tuesday, 20 December 2011 |
|
One thing I have learnt about developing for Joomla 1.5 is that parts of
the Joomla 1.5 installation routines are a pain in the ar5e. In Joomla
1.0 you could add a lot of rich text HTML in the description field by
wrapping it in a <[CDATA tag. This meant you can have a pretty
description with links &c. In Joomla 1.5, this functionality is
removed and you have to add language files plus an equivalent text tag
for each line of rich text you want to appear. Frankly, it is overly-complicated and I can't be arsed... It isn't just me though,
I looked at 40 x Joomla 1.5 plugins that were installed on one of my
Joomla 1.5 sites and not one of the developers could be bothered to do
this, not one had rich text in the description. I tried mind you, I
tried to get it to work, I looked for documentation with examples and
clearly because I have only half a brain, I failed. When the Joomla
developers make something too complicated to be useful then implementing
it just becomes a chore.
They added this line to /root/administrator/components/com_plugins/views/plugin/tmpl/form.php at line 15:
JFilterOutput::objectHTMLSafe( $this->plugin, ENT_QUOTES, '' );
This explicitly removes the capability to display HTML. I wish they'd
have left some of this well alone or given us the option to use the
previous method as well as language strings.
|
|
Last Updated ( Tuesday, 20 December 2011 )
|