1
ibzan
XoopsGallery multilingual?!?
  • 2003/12/5 12:50

  • ibzan

  • Just popping in

  • Posts: 48

  • Since: 2003/8/31


I sork of worked out a hack to XoopsGallery to allow it multilingual functions - still testing it out to see if there is more.

In the view_album.php file after:
function showChoice
global $gallery;

Add:

$myts =& MyTextSanitizer::getInstance();

Then down further down there is the line:
$caption['title'] = $gallery->album->getCaption($i);

Change that to this:
$caption['title'] = $myts->makeTboxData4Show($gallery->album->getCaption($i));

This will allow you to have different captions based on the languages you have installed and set up.

There may be more...

Blessings,

Chris

Login

Who's Online

256 user(s) are online (166 user(s) are browsing Support Forums)


Members: 0


Guests: 256


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits