[TYPO3-english] Custom extension gets loaded in v4.2.x but not in v4.3.1

jochem nabuurs jochem at roquin.nl
Wed Feb 17 11:51:40 CET 2010


Hello list,

I've made a custom lightbox extension which creates a lightbox for 
content elements which have an image (textpic, image).

In version 4.2.x it worked like a charm but in version 4.3.1 it does not 
work by default.

After doing some reseach, I discovered that the following code does not 
work by default:

tt_content.image.20.1 {
	imageLinkWrap {
		typolink {
			parameter {
	        		...
			}
			userFunc = tx_roqlightbox_pi1->main
		}
	}
}


The userFunc isn't called. I've had to manually include the script by 
placing the following snippet inside the static template of my extension:

includeLibs.roqlightbox = EXT:roq_lightbox/pi1/class.tx_roqlightbox_pi1.php


I can't imagine why this is necessary. The file should be loaded because 
it is an installed extension. I've checked the value of 
$TYPO3_CONF_VARS['EXT']['extList'] in localConf.php and my extension 
exists here.

Can anybody tell me why the behavior described above occurs the way it 
does, and how I can solve this?

Thanks in advance.

Kind regards,

Jochem Nabuurs
ROQUIN E-Solutions



More information about the TYPO3-english mailing list