Keyword
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.

Problem with simple image gallery PRO and greek chars

  • August Paschalidis
  • August Paschalidis's Avatar Topic Author
  • Offline
  • New Member
More
16 years 6 months ago - 16 years 6 months ago #18965 by August Paschalidis
Problem with simple image gallery PRO and greek chars was created by August Paschalidis
I have the following problem: While I save the label text file as utf-8 the Greek characters present with strange symbols.  Ηος it can be corrected? Thanks

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 6 months ago #18966 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Problem with simple image gallery PRO and greek chars
Hi there!

Could you post a direct link to the gallery?
If you know a bit of coding, please open the jwsigpro.php file and find the lines 324
if($download_link)
   $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>';
else 
   $html .= '<b>'.htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES).'</b>';
and remove the htmlentinties function
if($download_link)
   $html .= '<a href=\''.$mosConfig_live_site.$rootfolder.$_images_dir_.'/'.$images[$a].'\' target=\'_blank\'><b>'.$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])].'</b></a>';
else 
   $html .= '<b>'.$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])].'</b>';

Do the same with the line 353
$final_caption = htmlentities($labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])],ENT_QUOTES);
$final_caption = $labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_.'/'.$images[$a])];

Thank you!

Please Log in or Create an account to join the conversation.

More
16 years 4 months ago - 16 years 4 months ago #18967 by Kotsolis
edit: Sorry, wrong application :-(

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum