Compassdesigns.net

Teaching - Web - Sailing

  • Home
  • Services

What is jdoc:include type=message?

December 26, 2007 By barrie@compassdesigns.net Leave a Comment

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!

Filed Under: Uncategorized

The Skinny

I am an entrepreneur, web consultant, author and educator.

I have been involved in starting a K-12 School District, a Private High School, and three web tech companies. I also wrote one of the original and best selling books on Joomla.

And I like sailing with kids.

Recent Posts

  • Teenager Invents New Type of Hunting Camo Suit
  • A Parent’s Guide to Proficiency Based Learning
  • Proficiency/Competency Based Learning in NGSS Classrooms
  • Hunting Camouflage Website Launched
  • Get More Email Newsletter Signups With These Easy Tips
  • Proficiency Based Learning Resources
  • Social Media Redux
  • How to turn off WordPress Comments if you use Disqus
  • The API was Yesterday. The Tomorrow is iPaaS
  • Left Hook Digital Named Zapier’s First Integration Developer Partner

Top Posts

  • Just another Blog Post by Louis Landry
  • How to set up a Joomla website for a School in under 30 seconds

Blogroll

See3D Camo

Blaze Orange Camo

Vermont CPR

Copyright © 2023 Compass Designs ยท Musings on Education, Life, Joomla and the Web by Barrie North