automaketemplate - problem mit zu vielen tables ?


  • 1
  • tomww tomww
    R2-D2
    0 x
    79 Beiträge
    0 Hilfreiche Beiträge
    15. 07. 2004, 19:05

    ich glaube nicht das Typo3 da ein Problem hat - vermutlich weisst Du einigen Markern oder subparts einfach nichts zu und dann wird dieser Teil eben nicht angezeigt (das ist kein Bug sondern ein Feature ;-)

    Post doch mal Dein Typo-Template ...

    Tom

  • piero piero
    Padawan
    0 x
    46 Beiträge
    0 Hilfreiche Beiträge
    15. 07. 2004, 19:13

    ehm .. wie jetz ? wenn typo3 ne markierung entdeckt die ich niemals in typoscript erwähne "verschlingt" er es einfach ? das ja grausam ..

    ich check mal obs das ist, glaube es aber eher nicht ..

    [edit: nein, das ist es definitiv nicht. automaketemplate scheint tatsächlich teile zu zerschreddern .. sehr strange]

    aber hier noch das Main Template cObject:
    [code:1:77e5ff3587]
    # Main TEMPLATE cObject for the BODY
    temp.mainTemplate = TEMPLATE

    temp.mainTemplate {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
    template =< plugin.tx_automaketemplate_pi1

    # template = FILE
    # template.file = fileadmin/templates/ticketmachine.net/main_template.html

    # Select only the content between the <body>-tags
    workOnSubpart = DOCUMENT_BODY

    # make the menus:
    subparts.menu < temp.menu
    subparts.menu2 < temp.submenu

    # Substitute the ###content### subpart with content from the style extension:
    subparts.content < styles.content.get

    # substitute the right content
    subparts.contentright < styles.content.getRight

    }

    # Main TEMPLATE cObject for the HEAD
    temp.headTemplate = TEMPLATE
    temp.headTemplate {
    # Feeding the content from the Auto-parser to the TEMPLATE cObject:
    template =< plugin.tx_automaketemplate_pi1

    # Select only the content between the <head>-tags
    workOnSubpart = DOCUMENT_HEADER
    }
    [/code:1:77e5ff3587]

  • piero piero
    Padawan
    0 x
    46 Beiträge
    0 Hilfreiche Beiträge
    15. 07. 2004, 19:32

    habs hinbekommen, ich war einfach blind ;)

  • 1