add code after </body> but before </html>

View: New views
7 Messages — Rating Filter:   Alert me  

add code after </body> but before </html>

by Katja Lampela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

Is this possible? If I add it to the html template after the

<!-- ###DOCUMENT_BODY### END-->

it's not there.

Adding it into the ts with for example page.1000... adds the code before
the final </body>.

Thanks for any information on this.

--
With kind regards

Katja Lampela
*Lieska-tuotanto
*www.lieska.net
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by Katja Lampela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

For clarification, I'm trying to achieve in the end of the output:

...blahblah...
</body>
<my code>
</html>


Katja Lampela kirjoitti:

> Hi,
>
> Is this possible? If I add it to the html template after the
>
> <!-- ###DOCUMENT_BODY### END-->
>
> it's not there.
>
> Adding it into the ts with for example page.1000... adds the code before
> the final </body>.
>
> Thanks for any information on this.
>

--
  With kind regards

Katja Lampela
*Lieska-tuotanto
* www.lieska.net
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by Xavier Perseguers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> Is this possible? If I add it to the html template after the
>
> <!-- ###DOCUMENT_BODY### END-->
>
> it's not there.

Normal! This is an end marker for the template zone (a subtemplate). Just see how one may define its website without TemplaVoilà and you'll get it.

> Adding it into the ts with for example page.1000... adds the code before
> the final </body>.

There is as last resort a hook that can post-process the whole page after it has been generated. Could be a way. Alternatively, search for the part of Core that generates the <body></body> and see if
you may hook there. Just a few ideas though.

--
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by Xavier Perseguers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>> Is this possible? If I add it to the html template after the
>>
>> <!-- ###DOCUMENT_BODY### END-->
>>
>> it's not there.
>
> Normal! This is an end marker for the template zone (a subtemplate).

subpart! not subtemplate, I did not manage to find the proper name ;-)

--
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by David Bruchmann-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

----- Ursprüngliche Nachricht -----
Von:        Xavier Perseguers <typo3@...>
Gesendet:   Donnerstag, 5. November 2009 07:41:46
An:         typo3-english@...
CC:
Betreff:    Re: [TYPO3-english] add code after </body> but before </html>

>>> Is this possible? If I add it to the html template after the
>>>
>>> <!-- ###DOCUMENT_BODY### END-->
>>>
>>> it's not there.
>>
>> Normal! This is an end marker for the template zone (a subtemplate).
>
> subpart! not subtemplate, I did not manage to find the proper name ;-)
>

Hi Katja, Hi Xavier,

This is NOT valid HTML, furthermore I see no reason to force some code
like this.

Best Regards
David
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by Katja Lampela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi David,

David Bruchmann kirjoitti:
> This is NOT valid HTML, furthermore I see no reason to force some code
> like this.

I know this, but there is a reason in this case. Explained in thread
news://news.netfielders.de:119/mailman.1.1257234594.21120.typo3-english@...


With kind regards

Katja Lampela
*Lieska-tuotanto
*www.lieska.net
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Re: add code after </body> but before </html>

by Katja Lampela :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Xavier and thanks - I will check this!

Xavier Perseguers kirjoitti:
> There is as last resort a hook that can post-process the whole page
> after it has been generated. Could be a way. Alternatively, search for
> the part of Core that generates the <body></body> and see if you may
> hook there. Just a few ideas though.
>

--
  With kind regards

Katja Lampela
*Lieska-tuotanto
* www.lieska.net
_______________________________________________
TYPO3-english mailing list
TYPO3-english@...
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english