[TYPO3] How to output only single div with content element (no head, no body tags)

Christopher bedlamhotel at gmail.com
Thu Aug 10 00:48:54 CEST 2006


Hi,

On 8/9/06, Amiran Chyb <amiran.chyb at stopspam.gmail.com> wrote:
> Hi there
>
> I've already asked about it once, but there wasn't any response, so here I
> go again:
>
> I'd like to set up a page which would output just a single div with some
> content element tags inside (eg. search results for some keywords passed
> by GET variables).
> Then I could load it dynamically somewhere on another page via
> xmlhttprequest.
>
> any suggestions?
>

Check the 'config' section of the TSref; you're looking for something like

config.disableAllHeaderCode = 1

Besides the <head> section, I _think_ that if you don't define
'page.bodyTag' then no body tag will be output, but you should
obviously test that...

-Christopher



More information about the TYPO3-english mailing list