[TYPO3-english] Re: lightbox and TYPO3 6.0
J. Detert
detert at detit.de
Thu Sep 12 08:13:29 CEST 2013
Without discussion of the meaning of extensions:
Found your solution in a german forum and try to transalte it:
http://www.typo3forum.net/forum/typo3-4-x-fragen-probleme/61388-perfectlightbox-update-6-0-5-geht-nur-noch-bedingt.html
In order to get perfectlightbox running in TYPO3 6.0:
change perfectlightbox/class.tx_perfectlightbox.php column 108
old -> $imageNum = t3lib_div::intInRange($imageNum, 0, 100);
new -> $imageNum = t3lib_utility_Math::forceIntegerInRange($imageNum, 0, 100);
perfectlightbox/class.tx_perfectlightbox.php, column 59 and 84 insert trim()
old -> if ($this->cObj->data['image_link']!='') {
new -> if (trim($this->cObj->data['image_link'])!='') {
For compatibility with TYPO3 6.1:
in ext_tables.php column 35 call loadTCA() within an if -statement:
if (version_compare(TYPO3_branch, '6.1', '<')) {
t3lib_div::loadTCA("tt_content");
}
If there will ever be an update in the future, the auther will do necessary changes himself and you do not have to do this changes again.
Hope this helps...
More information about the TYPO3-english
mailing list