great little mambot. Can be very usefull, for example I'm using Joomla Business Directory and wanted a way to use one template that I can later change for all businesses in the directory.
The solution is using Imbed PHP, setting the business info into variables and use include file to format and output the HTML code.
be aware that you need to change the mambot a bit to support multi line php statements. I've added on line 58:
// remove line breaks added by JCE
$matches[1] = str_replace(' ', ' ', $matches[1]);
$matches[1] = str_replace('
', ' ', $matches[1]);
$matches[1] = str_replace('
', ' ', $matches[1]);
John Kenney 2007-07-14 09:28:41
Partners
Joomla Books
Joomla Hacks is a Joomla Components, Joomla Modules, Joomla Templates, & Joomla Mambots resource portal. None of the text or images in this public website may be copied without the expressed written consent of the authors. Copyright 2005 by JoomlaHacks.com. Powered by Joomla. All rights reserved.
Terms of Use