Sorry for being dim, but where is this .php file? The only .php file I can find for simple gallery is sigpro_engine.php in the folder /public_html/cfc/mambots/content/plugin_jw_sigpro
I am using v. 1.0.15
Thanks.
according to vinikey in earlier post all you need to do for joomla 1.5 version is:
1. Open jwsigpro.php found in your \joomla!_root_folder\plugins\content [for you, that will be:
/public_html/cfc/mambots/content/jwsigpro.php] with your favourite text editor, preferable one with good search functionality. (would be good If you make a backup)
2. On line 162, replace this string:
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] = $temp[1];
With:
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] ['intro']= $temp[1];
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] ['main']= $temp[2];
Note your line numbers may have changed by now, search function of your editor would be usefull
3. On line 322 or find
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]!="") {
Replace with:
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]['main']!="") {
4. On line 324 or find
$html .= '<a href=\''.$mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a].'\' target=\'_blank\'><b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES).'</b></a>';
Replace with:
$html .= '<a href=\''.$mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a].'\' target=\'_blank\'><b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]['main'],ENT_QUOTES).'</b></a>';
5. On line 326, find
$html .= '<b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES).'</b>';
Replace with:
$html .= '<b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]['main'],ENT_QUOTES).'</b>';
6. On line 345, find
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]!="") {
Replace with:
if (@$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]['intro']!="") {
7. On line 351
$final_caption = htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES);
Replace with:
$final_caption = htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])]['intro'],ENT_QUOTES);
That should do it! ;D