[TYPO3-realty] Bug in lightbox-inclusion

Sven Kalbhenn sven at skom.de
Tue Apr 20 17:18:18 CEST 2010


Hi Oliver,

I think, there is a small bug in the inclusion of the lightbox-files!
The lightbox-files are included with   t3lib_extMgm::extRelPath() in the class.tx_realty_lightboxIncluder.php
The result is:   "../typo3conf/ext/realty/pi1/contrib/prototype.js" for example.
But the "../" at the front of each inclusion is wrong!
It may work, if you are at the top of your Domain-Root, but it doesn't work, if TYPO3 is installed in a subdirectory.

The solution is to use t3lib_extMgm::siteRelPath() instead! This would do the trick! ;o)


Greetings...Sven Kalbhenn
 




More information about the TYPO3-project-realty mailing list