[TYPO3] Load typoscript into array when extension have several classes
Lukas
lukasnoname at yahoo.com
Thu Oct 19 09:46:24 CEST 2006
I am working on an improvement for the extension vjchat to support asl
files. The asl file should be linked by typoscript. Asl is a text file
format for emoticon collections, used by Miranda Instant Messenger among
others.
I know how $this->conf works, but the problem is that vjchat is divided
into several classes. This causes the asl to work in functions that
belong to the right class but not for functions called by the wrong
classes. The smiley selector works, but the chat field displays the
default emoticons, because it fails to load $this->conf.
My typoscript looks like this:
plugin.tx_vjchat_pi1 {
asl_file = fileadmin/bilder/emoticons/yahoo7.asl
emoticons_path = fileadmin/bilder/emoticons/yahoo/
}
More information about the TYPO3-english
mailing list