[TYPO3-dev] Overloading Extension
Peter Russ
peter.russ at 4many.net
Thu Jun 5 21:30:23 CEST 2008
--- Original Nachricht ---
Absender: bernd wilke
Datum: 05.06.2008 13:10:
> 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
Thank you for your answer. This is not quite what I need.
But this approach is history as this creates problems with caching of
the different Typoscripts.
Thanks.
Peter.
--
Fiat lux!
Docendo discimus.
_____________________________
4Many® Services
XING: http://www.xing.com/go/invuid/Peter_Russ
More information about the TYPO3-dev
mailing list