What is jdoc:include type=message?
Tagged in Untagged
If you using Joomla 1.5 RC4, the chances are that your site visitors are not getting all the information they need. Prior to RC4, many messages such as when you register "Your account has been created and an activation link has been sent to the e-mail" where output to the mainbody, not any longer.
There is now a new jdoc with the syntax <jdoc:include type="message" /> which now serves as the output of many system messages... think of it as a specialized module.
For your site visitors to see these messages, this include HAS to be somewhere in the template. Check if your template has it, and if is doesn't add it to the index.php. A good place would be just before <jdoc:include type="component" />.
While you are in the index.php, make sure you add the css styles that will give these messages some style and color. To do this add the following lines to your <head> to call in Joomla 1.5's system CSS:
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" />
<link rel="stylesheet" href="/<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
Its likely that component developers will start taking advantage of this include to provide system messages. make sure its in your templates!

Welcome to the new Compass Designs website, powered by Joomla 1.5! The goal of this new site is to be the place to bookmark if you are looking for quality Joomla tutorials, news and tips.


