Joomla! Template Developer Must Fix Their Joomla! Template Bug
Sunday, 30 October 2011 23:06
Today, I want to mention an ugly bug that many of the Joomla! templates has. This is a clear bug of Joomla! templates. You can say "<jdoc:include type="message" />" bug to this

<jdoc:include type="message" />
You can give many example for this. There is a login box on the right side of this page. If you hit the 'Login' button without writing anything, You will see a mesage like below "Username and password do not match or you do not have an account yet." . This is a system message of Joomla! . That message will not appear , if this element is not part of your global Joomla! template
Missing <jdoc:include type="message" /> is a problem for the template user and Missing <jdoc:include type="message" /> is a problem extension (mostly component developers) too .
Joomla! users are mostly non-technical people. They will not be find what's the reason of missing 'Joomla! System Messages' and They will start to blame the extension developer like "Your extension does not shows any message"
We also expect more Joomla! template developer add this element to their templates
Last modified on Monday, 31 October 2011 06:48
What is <jdoc:include type="message" />?
I want to quote what it is from the Official Joomla! Documention . See http://docs.joomla.org/Jdoc_statements#Message
<jdoc:include type="message" />
This element should only appear once in the <body> element of the Template to render system and error messages that occurred in the request.
CSS styles for system messages can be found in templates\system\css\system.css
It's a Joomla! template element which shows the system messages.What can be a system messages?
You can give many example for this. There is a login box on the right side of this page. If you hit the 'Login' button without writing anything, You will see a mesage like below "Username and password do not match or you do not have an account yet." . This is a system message of Joomla! . That message will not appear , if this element is not part of your global Joomla! templateMissing <jdoc:include type="message" /> is a problem for the template user and Missing <jdoc:include type="message" /> is a problem extension (mostly component developers) too .
Joomla! users are mostly non-technical people. They will not be find what's the reason of missing 'Joomla! System Messages' and They will start to blame the extension developer like "Your extension does not shows any message"
Why Did i write this blog post?
Many of the Joomla! users are not aware of this. I expect more Joomla! users to be informed about this issue. We also think that some of the official Joomla! Extension Directory guys are not aware of this too (I hope they do not get pissed off because of this because we have seen more than one extension review like our example above )We also expect more Joomla! template developer add this element to their templates
One Clarification
I did not mean ALL templates has this bug. But our experience shows us that there are many Joomla! templates with missing "<jdoc:include type="message" />" .Last modified on Monday, 31 October 2011 06:48
Leave a comment
Make sure you enter the (*) required information where indicated.
Basic HTML code is allowed.






