[TYPO3-dev] Overloading Extension

bernd wilke xoonsji02 at sneakemail.com
Thu Jun 5 13:10:15 CEST 2008


on Thu, 05 Jun 2008 11:04:05 +0200, Peter Russ wrote:

> 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?

what about a configuration by normal typoscript to override the static-
values?
An extension should be configurable. either by typoscript or by 
flexformvalues for plugins. 

bernd
-- 
http://www.pi-phi.de/t3v4/cheatsheet.html




More information about the TYPO3-dev mailing list