TIP: if you have installed joomla in a sub-directory, not at the root level of your domain,
add the name of this directory to the path in the "relectionjp.php" file | Code: |
function botreflectionjp_replacer ( &$matches ) {
$thisParams = explode("|",$matches[1]);
//parameters instructions
// if (sizeof($thisParams) != 2) return "Not enough parameters! You must have 3 parameters
separated by \"|\" : e.g.
image
";
//parameters
$img = $thisParams[0];
$float = $thisParams[1];
//$width = $thisParams[2];
$img = "$mosConfig_live_site/directory_name/images/stories/$img";
$imgurl = "<img style=\"float:$float;margin:5px;\" class=\"reflect\" xsrc=\"$img\" alt=\"image\" hspace=\"5\" vspace=\"5\" />";
return $imgurl;
}
|
this worked in my situation where joomla is
installed "mydomain.com/cms2"
for instance, in the above code, i replaced
"directory_name" with "cms2"
thanx, with some help from the
JoomlaProdigy
i was able to identify the problem.
sWitt--OUT
Post edited by: switt, at: 2007/02/22 21:08