[TYPO3-dev] How to get the extension typoscript configuration inside an eID script?

Peter Russ peter.russ at 4many.net
Wed Nov 18 21:05:05 CET 2009


--- Original Nachricht ---
Absender:   Ries van Twisk
Datum:       14.11.2009 23:28:
> 
> On Nov 14, 2009, at 5:03 PM, Thomas Thasmo Deinhamer wrote:
> 
>> Good evening!
>>
>> Does there exist a nifty way to get the final extension
>> typoscript configuration inside an eID script?
>>
>> I wanna use eID for performance reasons,
>> but can't use it without typoscript configuration.
>>
>> How's this done?
>>
>> Thanks a lot! =o)
> 
> it's not...
> 
> let me explain,
> 
> if you need typoscript AND you need eID,
> then you are out of luck.
> 
> Usually if you need typoscript using some sort of Ajax call,
> then use a proper type number, it's not a lot slower
> then using typoscript within your eID (never made in serious 
> measurements though...
> 
> Depending on what you are doing, there are several solutions.
> 
> What I did here http://www.cocktailsoftheworld.com/find-a-cocktail.html 
> with
> my Ajax(eID calls it to prepare the complete list of ingredients and 
> Cocktail
> names ands store them as a file. Then use that file within my eID.
> 
> If that method can work for you, highly depends on what you are doing...
> 

A solution might be:

while the extension is called the first time from FE the TS and other 
hard to get (Flexform ;-)) is stored in a hash table. Then it should be 
possible to access the TS directly out of the DB with tslib_eidTools and 
minimal overhead.

Any hints?

-- 
Fiat lux! Docendo discimus.
_____________________________
uon GbR

http://www.uon.li
http://www.xing.com/profile/Peter_Russ




More information about the TYPO3-dev mailing list