[TYPO3-english] After update photo_gal Extension not loading in FE

HocomAdvies [ Wiechert Hooghwinkel ] info at hocom-advies.nl
Tue Feb 7 09:48:52 CET 2012


Stil looking for a nice way to solve this:)

Wiechert.
Op 3 feb. 2012, om 11:19 heeft HocomAdvies [ Wiechert Hooghwinkel ] het volgende geschreven:

> Jigal,
> 
> first of all thanks for your help. I had a look at the mentioned file and changed the settings accordingly. Without the desired effect :)
> Now when I was looking into all the files etc. before I came across a js file which is loaded:
> typo3conf/ext/mbkdimagelightbox/res/js/galleriffic-2.0/js/galleriffic_starter.js 
> 
> And I am afraid the prevous / next part is handled by that file ? So my original clever idea was telling tx_mbkdimagelightbox not to use taht file and have it using my adapted file instead, just as I did with the css file. Now the thing is that there is not an part in the TS Object Browser where i can overwrite that part?
> This is what it looks now:
> 
> [js]
> [smarty]
> [lightbox]
> [smoothgallery]
> [thumbzoomer]
> [contentflow]
> [popeye]
> [jqueryzoom]
> [galleriffic]
> [usedefaultcss] = 0 # galleriffic configuration # insert default css
> [thumbnailimage]
> [width] = 75c # small size images
> [height] = 75c
> [galleryimage]
> [maxW] = 495 # big size images
> [maxH] = 500
> [extensionaccess] = 0 # get extension access for directory mode
> [_LOCAL_LANG]
> [nl]
> [previous] = Vorige Foto
> [next] = Volgende Foto
> 
> 
> Thsi is in the js.file:
>  		playLinkText:              'Play Slideshow',
>                pauseLinkText:             'Pause Slideshow',
>                prevLinkText:              '‹ Previous Photo',
>                nextLinkText:              'Next Photo ›',
>                nextPageLinkText:          'Next ›',
>                prevPageLinkText:          '‹ Prev',
> 
> So could this be the reason its not working or could it be the fact that _LOCAL_LANG.nl is not recognized as being the "default language?
> 
> I tried it like this, using the parts from the locallang.xml:
> plugin.tx_mbkdimagelightbox_pi1.galleriffic{
>  _LOCAL_LANG.nl {
>    previous = Vorige Foto
>    next = Volgende Foto
>  }
> }
> 
> Kind regards / met vriendelijke groet,
> 
> Wiechert 
> 
> Op 2 feb. 2012, om 23:35 heeft Jigal van Hemert het volgende geschreven:
> 
>> Hi,
>> 
>> On 2-2-2012 20:21, HocomAdvies [ Wiechert Hooghwinkel ] wrote:
>>> For now I decided to use mbkdimagelightbox. Only have to sort out
>>> howto change some language settings. Since it's only available in english.
>>> 
>>> plugin.tx_mbkdimagelightbox_pi1.galleriffic{
>>> 
>>>  _LOCAL_LANG.nl {
>>> 
>>>    Play Slideshow = Diashow
>>>    Previous Photo = Vorige Foto
>>>    Next Photo = Volgende Foto
>>>  }
>>> }
>>> This is not working.
>> 
>> No surprise :-)
>> 
>> You have to look inside the locallang file; I guess it's in typo3conf/ext/mbkdimagelightbox/pi1/locallang.xml (please look up the correct path!). There you'll find something like:
>> 
>> <languageKey index="default" type="array">
>> <label index="previous">Previous Photo</label>
>> 
>> The part in the index= is the name of the label you have to use in your Typoscript block:
>> 
>> ...._LOCAL_LANG.nl {
>> previous = Vorige foto
>> 
>> NOTE: this is just an example to explain the mechanism. You have to look up the actual situation in your extension and use those label names!
>> 
>> -- 
>> Kind regards / met vriendelijke groet,
>> 
>> Jigal van Hemert.
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
> 
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english



More information about the TYPO3-english mailing list