TROOZERS talking joomla!

Currently updating all components and mambots to Joomla 1.0.x, these will be available soon.

 
Home arrow Joomla arrow Mambots arrow mambots Anywhere
Spacer
spacer
Talking Joomla Spacer Spacer
Troozers
mambots Anywhere
Sunday, 25 July 2004
Article Index
mambots Anywhere
Page 2
Page 3
In our categories description example, this is done by editing the component/com_content/content.html.php file, and replacing

line 67

      <?php echo $title->description;

 

with


      <?php echo mosbot( $title->description );

 

Thats it!  If you know what you are doing, you can now go around the component codes and wrapping the output variables with the mosbot(...) function to make them fully mambot aware. 

This has certainly been tested with category descriptions, contacts, Events and couple of other components sucessfully.  However, I haven't tested all the mambots with these and am somewhat unsure how a category description will react if a mospagebreak is included in there (just cos you can do it, does not necessarily mean you should).

Drop me a line if you find this useful, or get any problems and we can work together to get them resolved.  Remember, always backup your files before you make any changes.

I will probably update the forum to include a mosbot_me section, to highlight code snippets of other components to include this functionality - or you can, to show how it's done.

Enjoy :-)



 
< Prev   Next >
Spacer
Latest News
Partner Sites
jh design! banner

 RocketTheme Banner

Projects Completed
Amazon Ad
Bottom
Copyright © 2006, Andy Stewart. All Rights Reserved. Joomla! design by jh! design
Spacer Footer