[TYPO3-english] Adding Code between <head> and </head> of outputted html

Mario Young mayeco at ubuntu.com
Mon Apr 27 08:36:25 CEST 2009


On Mon, Apr 27, 2009 at 12:41 AM, Ryan Bilesky <rbilesky at hotmail.com> wrote:
>
> Modifying typoscript is no big deal to me, I just need to know what to edit, i don't know typoscript real well i got the basic syntax
> and just need some guidance.  I looked at that extensions but I think using typoscript is my best option because I need to roll
> out the same code on all pages.

i'm not a typo3 guru but I believe that with page.headerData.xxx you
can do that.

this adding this to your setup config in your template:
page.headerData.99 = TEXT
page.headerData.99.insertData=1
page.headerData.99.value = your head code


>
>> Date: Sun, 26 Apr 2009 19:40:07 -0700
>> From: aklemm at digipen.edu
>> To: typo3-english at lists.netfielders.de
>> Subject: Re: [TYPO3-english] Adding Code between <head> and </head> of outputted html
>>
>> Normally, you need to modify the TypoScript of your template to do this.
>> However, this extension is quicker/simpler and it might work for you:
>> http://typo3.org/documentation/document-library/extension-manuals/kb_customhead/0.0.1/view/
>>
>> ak
>>
>> Ryan Bilesky wrote:
>> > I am wanting to add some functionality to my website that requires some code be added between <head> and </head> of the sites html code. I tried putting the code in that part of the .html files associated with the template but that does not make it to the output, I need it in the html code typo3 outputs for each page.
>> >
>> >
>> >
>> > How do I do this?
>> >
>> > _________________________________________________________________
>> > Windows Live™ SkyDrive™: Get 25 GB of free online storage.
>> > http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_skydrive_042009
>> > _______________________________________________
>> > TYPO3-english mailing list
>> > TYPO3-english at lists.netfielders.de
>> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
> _________________________________________________________________
> Rediscover Hotmail®: Now available on your iPhone or BlackBerry
> http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Mobile2_042009
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list