Home arrow Downloads
gohome.png Main Repository Page  arrow Administrator / Webmaster Tools arrow phpAdsNew
 
File icon 

Imbed PHP 2.0

  download_trans.gifdownload


Compatibility:    Mambo 4.5.x Joomla 1.0.x
Description:    Allows for the placement of PHP code in content items.
Submitted On:    25 Jul 2006
Submitted By:    Editor (cowboy) (admin)
File Date:    25 Jul 2006
File Author:    John (konlong) Long
File Version:    2.0
File Size:    2.72Kb
File Type:    zip
File HomePage:    www.idealagent.com...
Screenshot:  
Rating:    stars/4.gifTotal Votes:20 
 
Your Vote:  
Comments:   yair   2006-08-24 05:21:09
   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
  
  
 

 

 
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