[TYPO3-english] Imagewidth in templates and FCEs
Nicole
shizu__ at hotmail.com
Fri Sep 3 13:07:28 CEST 2010
Hi!
I'm also not working well with Typo3 ;)
Someone told me that snippets, but I am not able to make it work:
Pagetemplate (slim):
10 = LOAD_REGISTER
10.fceBasedImageWidth = template_normal
20 < lib.content
30 = RESTORE_REGISTER
FCE-col:
10 = LOAD_REGISTER
10.maxImageWidth.cObj = CASE
10.maxImageWidth.cObj {
key.data = register : fceBasedImageWidth
template_normal = TEXT
template_normal.value = 300
template_breit = TEXT
template_breit.value = 450
}
20 = RECORDS
30 = RESTORE_REGISTER
It may work someway....
Regards,
Nicole
Am 01.09.2010 18:16, schrieb Philippe Moreau:
> Sorry but you've lost me there. I don't know how to do this the way you
> want. FCEs and "normal" typoscript don't go well together, because FCEs are
> handled by Templavoila and aren't meant to be understood by the TYPO3 core.
>
> Cheers.
>
>
> On Tue, Aug 31, 2010 at 5:48 PM, Nicole<shizu__ at hotmail.com> wrote:
>
>> I think there will be a way to set a variable at the template-content and
>> check at an fce-col witch value it has and take value for imagewidth for
>> images in that col, wouldn't?
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>>
>
>
>
More information about the TYPO3-english
mailing list