No subject


Sun May 19 00:00:10 CEST 2013


either path or content to work with fluid... but then I found out where the
problem was.

Thanks once again for the kind explanations.

Bests,
Nicola



2013/6/6 Federico Bernardin <typo3list at bernardin.it>

> Hi Nicola,
> The first file is correctly rendered.
> The second one has an error in my opinion. If you set fluid=1 asset
> viewhelper renders the content as fluid template and then execute it. In my
> opinion you have an error during parsing content of console.log. But what's
> console.log. Remember: the fluid template (rendered by console.log(arg)
> must be a correct HTML template, otherwise fluid raises an error.
>
> Cheers
> Federico
>
> Il giorno 05/giu/2013, alle ore 15:47, Nicola Cerchiari <
> nicola.cerchiari at gmail.com> ha scritto:
>
> > Hi again everybody,
> > i'm moving forward in my knowledge journey with fluid and I encoutered
> > (again) something that I can't understand.
> >
> > In mi fluidcontent FCE I have these 2 lines (as test):
> >
> > 1) <v:asset.script path="{f:uri.resource(path: 'Javascript/library.js')}"
> > name="libjs" standalone="1"></v:asset.script>
> >
> > 2) <v:asset.script content="'console.log({arg});'" standalone="1"
> trim="1"
> > fluid="1" arguments="{arg: 1}"></v:asset.script>
> >
> >
> > And I have this result:
> >
> > 1) <script type="text/javascript"
> >
> src="typo3conf/ext/[extname]/Resources/Public/Javascript/library.js?1370437683"></script>
> >
> > 2) <script type="text/javascript">
> >
> >
> > What I don't really get is:
> >
> > 1) First of all, setting fluid="1" and arguments accordingly (changing
> > the javascirpt too, of course) doesn't have any effect, either in case
> > 1 or 2
> >
> > 2) The second line doesn't show anything else but what I reported as
> > result 2, what ever I try to set in content attribute.
> >
> >
> > And now the usual question: What am I missing?
> >
> >
> > --
> > *Nicola Cerchiari*
> > _______________________________________________
> > TYPO3-english mailing list
> > TYPO3-english at lists.typo3.org
> > http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
>



-- 
*Nicola Cerchiari*


More information about the TYPO3-english mailing list