[TYPO3-dev] Overloading Extension

Peter Russ peter.russ at 4many.net
Thu Jun 5 11:04:05 CEST 2008


Hi All,

I would like to ask just for some feedback.

I have a static extension, same for all installations within the same 
TYPO3. Then there should be a flexible part depending on the url. As I 
want to use the Typoscript controlled by the static extension, the idea 
is just to adjust $TYPO3_LOADED_EXT[$key] to change the absolute and 
relative pathes.

Clear what I want to achive? No?

Example:
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:voy/typoscript/shortCut.txt">
<INCLUDE_TYPOSCRIPT: source="FILE:EXT:voylocal/typoscript/shortCut.txt">

Now voylocal/typoscript/shortCut.txt should be "flexible" e.g.
www.url1.tld => typo3conf/ext/voylocal-url1
www.url2.tld => typo3conf/ext/voylocal-url2

To achive that
just $TYPO3_LOADED_EXT[$key]['siteRelPath'] and 
$TYPO3_LOADED_EXT[$key]['typo3RelPath'] would be changed depending on 
the url.

Any disadvantages or "better" soultions to do so?

Regs. Peter



-- 
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
XING: http://www.xing.com/go/invuid/Peter_Russ




More information about the TYPO3-dev mailing list