[TYPO3-english] Getting the UID of a FCE with Typoscript
Hi I am setting up a flexible content element that displays a small gallery with four images. I am using shadowbox to generate a lightbox effect when an image is clicked. I have defined a field that identifies that the images belong to the same gallery. ATagParams = rel=shadowbox[{field:field_galleryname}] But I would rather have the gallery identified by the UID of the FCE. This way the gallery and shadowbox effect will work even if the user has not entered anything in the galleryname field. Now how do I do that? I have tried: ATagParams = rel=shadowbox[{field:field_uid}] But it dos not work Any suggestions? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Hello Morten, Op 18-3-2011 11:50, Morten Kjems schreef: I am setting up a flexible content element that displays a small gallery with four images. I am using shadowbox to generate a lightbox effect when an image is clicked. I have defined a field that identifies that the images belong to the same gallery. ATagParams = rel=shadowbox[{field:field_galleryname}] But I would rather have the gallery identified by the UID of the FCE. This way the gallery and shadowbox effect will work even if the user has not entered anything in the galleryname field. Now how do I do that? I have tried: ATagParams = rel=shadowbox[{field:field_uid}] But it dos not work Any suggestions? I haven't tested it, but try the following: ATagParams = rel=shadowbox[{field:uid}] Regards, Rudy Gnodde WIND Internet http://www.windinternet.nl ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Thanks for the suggestion. ATagParams = rel=shadowbox[{field:uid}] I already tried that and it does not work. It returns: rel=shadowbox[] ?? ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Hi, you could save much time if you look to the manual, it's all in. register:tx_templavoila_pi1.parentRec.uid vg Steffen ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
you could save much time if you look to the manual, it's all in. Sorry missed it... register:tx_templavoila_pi1.parentRec.uid And thanks for the solution. Works perfect :-) ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Am 18.03.2011 14:19, schrieb Morten Kjems: you could save much time if you look to the manual, it's all in. Sorry missed it... register:tx_templavoila_pi1.parentRec.uid And thanks for the solution. Works perfect :-) Please can you provide a snippet how you implement the register? thx -- Regards, Josef Florian Glatz http://typo3blog.at | http://josdesign.at ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Hi, Am 18.03.2011 18:15, schrieb Josef Florian Glatz: Am 18.03.2011 14:19, schrieb Morten Kjems: you could save much time if you look to the manual, it's all in. Sorry missed it... register:tx_templavoila_pi1.parentRec.uid And thanks for the solution. Works perfect :-) Please can you provide a snippet how you implement the register? thx same as before: ATagParams = rel=shadowbox[{register:tx_templavoila_pi1.parentRec.uid}] vg Steffen ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
Re: [TYPO3-english] Getting the UID of a FCE with Typoscript
Morten Kjems wrote: Thanks for the suggestion. ATagParams = rel=shadowbox[{field:uid}] I already tried that and it does not work. It returns: rel=shadowbox[] try ATagParams = rel=shadowbox[{field:uid}] ATagParams.insertData = 1 Best regards -- Philipp Gampe ___ TYPO3-english mailing list TYPO3-english@lists.typo3.org http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english