[TYPO3-templavoila] generateContent includes JS and CSS from extensions on every page
Ron Hall
ronslists at busynoggin.com
Fri Feb 11 01:47:23 CET 2011
Hi Dominic,
> Thanks for your answer, then ill make a workaround for my project. But
> where is a good place to report this issue? Is it a bug for typo3
> core? Would be nice if this behaviour could be fixed in the future :)
We have looked at this some more today. It seems that TV processes the content of the DS then does not show it on the page if it is not mapped. But this means that the CSS and JS associated with the content makes it to the front-end.
Jeff Segars has come up with a patch to have TV not process the content if it is not mapped to the template. He will submit to TV, but it will be up to the TV team as to whether it makes it into the extension. For now I would suggest you use the workaround I suggested earlier.
Thanks,
Ron
On Feb 9, 2011, at 6:04 PM, Domi Garms wrote:
> Hello Ron,
>
> Thanks for your answer, then ill make a workaround for my project. But
> where is a good place to report this issue? Is it a bug for typo3
> core? Would be nice if this behaviour could be fixed in the future :)
>
> Regards,
>
> Dominic
>
>
>
>
> 2011/2/10 Ron Hall <ronslists at busynoggin.com>:
>> Hi Domi,
>>
>> Yes, we have noticed the behavior you note. However, we have not found a way around it as it seems generated content is processed whenever it is in a DS even if it is not mapped to the template. That is behavior that comes from either TYPO3 or TV.
>>
>> Thanks,
>> Ron Hall
>>
>> Busy Noggin, Inc.
>> a web development agency
>>
>> www.busynoggin.com
>> templavoila.busynoggin.com
>>
>> Twitter: busynoggin (general web tweets)
>> Twitter: typo3ron (for TYPO3 specific tweets)
>>
>> Facebook: Keep track of Busy Noggin, Inc. by clicking "like" on our Facebook page:
>> http://www.facebook.com/BusyNogginInc
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Feb 9, 2011, at 8:51 AM, Domi Garms wrote:
>>
>>> Hello,
>>>
>>> I have a little issue in TemplaVoila and framework_templavoila. If I
>>> take a jfmulticontent inside of the generatedContent-2 for example,
>>> then the framework includes its JS and CSS files on every page, also
>>> when I select a template where no generatedContent-2 is displayed. I
>>> get a JS error, on a page where I use the home template:
>>> jQuery("#jfmulticontent_c2563").accordion is not a function
>>> And c2563 is a jfmulticontent element, which is placed inside of the
>>> generatedContent-2.
>>> Hope somebody can help me out
>>>
>>> Thanks
>>>
>>> Domi
>>> _______________________________________________
>>> TYPO3-project-templavoila mailing list
>>> TYPO3-project-templavoila at lists.typo3.org
>>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
>>>
>>
>> _______________________________________________
>> TYPO3-project-templavoila mailing list
>> TYPO3-project-templavoila at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
>>
> _______________________________________________
> TYPO3-project-templavoila mailing list
> TYPO3-project-templavoila at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-templavoila
>
More information about the TYPO3-project-templavoila
mailing list