[TYPO3-english] EXT:EfA Font Size - typoscript problems

Stig Nørgaard Færch snf at dkm.dk
Wed Dec 10 15:02:11 CET 2008


Francois Suter skrev:
> Hi,
> 
> Thanks for posting that here, Stig.
> 
>> The important thing is not use plugin.tx_efafontsize_pi1 but instead 
>> the typoscript path you inject it into, lib.fontsize etc.
>> So that solved my problem.
> 
> To be more precise, it depends on your setup. The thing is that 
> efafontsize is designed to be included only per TS into your pages. So 
> whenever you copy the plugin.tx_efafontsize_pi1 object to a 
> lib.something object for TV or to some marker, you must remember that 
> you are actually making a *copy* of the plugin.tx_efafontsize_pi1 
> object. If you change that object at a later point, those changes will 
> have no effect on the copies.

Thanks for clearing this up.
So what if I made a reference instead of copying?
lib.fontsize <. plugin.tx_efafontsize_pi1
instead of:
lib.fontsize < plugin.tx_efafontsize_pi1

That would probably solve it.
Haven't got the time to test right now.

/Stig


More information about the TYPO3-english mailing list