[TYPO3-templavoila] generateContent includes JS and CSS from extensions on every page

Ron Hall ronslists at busynoggin.com
Thu Feb 10 17:04:28 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 :)

I don't know yet if it is best to report to TV or to core until I do some testing.

However, I have figured out a way to get around it. Instead of using the standard generated content provided with the framework. You can write code in a pre or post code object that is specific to a template to pull in your generated content. for example writing code to pull generated content to f1a.preCodeContentBlock-1 would mean it is only generated for that template not other templates. You will need to make up your own constant for the sysFolder UID since using those provided with the Framework will continue the issue.

Hope that makes sense to you.

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