Return to Snippet

Revision: 19964
at November 4, 2009 08:24 by quadratliter


Initial Code
######################################################
## Body Tag with Page ID and Parent ID
######################################################
page.bodyTag >
page.bodyTagCObject = COA
page.bodyTagCObject {
    10 = TEXT
    10.field = uid
    10.wrap = <body id="page_|"
    20 = TEXT
    20.field = pid
    20.wrap = class="pid_|">
}

######################################################
## Body Tag only with Page ID
######################################################
page.bodyTag >
page.bodyTagCObject = TEXT
page.bodyTagCObject.field = uid
page.bodyTagCObject.wrap = <body id="page_|">

Initial URL

                                

Initial Description
Simply adds the Page ID and the Parent ID (uid, pid) in the Body-Tag.

Initial Title
Body Tag with Page ID and Parent Id (uid, pid)

Initial Tags

                                

Initial Language
TYPO3