[TYPO3-UG Dutch] The page is not configured! [type= 0][]

Martin Poelstra m.l.poelstra at tue.nl
Fri Jun 22 11:31:53 CEST 2007


Hoi Newbie,

Je mist de zogenaamde PAGE-objecten in je code.
Probeer dit eens:

page = PAGE
page.10 = TEXT
page.value = testje

Volgens mij zou je dan al output moeten krijgen, en kun je van daaruit 
verder met de tutorial en de documentatie.
Maar zoals ook al door Maarten gezegd: TYPO3 is niet eenvoudig!

Grtz,
Martin

carstene at zonnet.nl wrote:
> (sorry newbie)
> ik probeer met automaketemplate template te parsen. en krijg deze
> error: The page is not configured! [type= 0][]
>
> ik gebruik precies dezelfde code als in tutorial op:
> http://typo3.org/documentation/document-library/extension-manuals/automaketemplate/0.1.0/view/1/2/
>
> waar gaat dit nou verkeerd?
>
>
>
>
> template setup:
> # Plugin configuration:
>
> plugin.tx_automaketemplate_pi1 {
>
>  content = FILE
>
>    # Filename to template file: (1)
>
>  content.file = fileadmin/html/index.html
>
>  elements {
>
>      # (2)
>
>    BODY.all = 1
>
>    BODY.all.subpartMarker = DOCUMENT_BODY
>
>      # (3)
>
>    HEAD.all = 1
>
>    HEAD.all.subpartMarker = DOCUMENT_HEADER
>
>    HEAD.rmTagSections = title
>
>      # (4)
>
>    SPAN.class.sitepath = 1
>
>      # (5)
>
>    TABLE.all = 1
>
>    TABLE.all.includeWrappingTag = 1
>
>      # (6)
>
>    TABLE.class.mainTable_class = 1
>
>    TABLE.id.mainTable_id = 1
>
>    TABLE.id.mainTable_id.doubleWrap = 1
>
>      # (7)
>
>    TD.id.header = 1
>
>    TD.class.content_column = 1
>
>      # (8)
>
>    DIV.all = 1
>
>  }
>
>      # (9)
>
>  relPathPrefix = fileadmin/html/
>
> }
>
> en html:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>
> <html>
>
> <head>
>
> <title>Template title</title>
>
> <style>
>
> BODY {font-size:12px; font-family: verdana;}
>
> .sitepath {color: blue;}
>
> </style>
>
> </head>
>
> <body bgcolor="#eeeeee">
>
> You are here: <span class="sitepath">First level > Second level >
> Third level</span><br>
>
> <DIV class="allTheTables">
>
> <table>
>
> <tr><td>Nothing in this table.</td></tr>
>
> </table>
>
> <table class="my-class" id="my-id">
>
> <tr><td>This table has the class, "my-class", and the id,
> "my-id"</td></tr>
>
> </table>
>
> <table class="mainTable_class">
>
> <tr><td>This table has the class, "mainTable_class"</td></tr>
>
> </table>
>
> <table id="mainTable_id">
>
> <tr><td>This table has the id, "mainTable_id"</td></tr>
>
> </table>
>
> <table class="mainTable_class" id="mainTable_id">
>
> <tr><td>This table has the id, "mainTable_id" AND the class
> "mainTable_class"</td></tr>
>
> </table>
>
> <table>
>
> <tr>
>
> <td class="header">Content here...</td>
>
> <td id="header">Content here...</td>
>
> <td class="another_header">Content here...</td>
>
> <td id="another_header">Content here...</td>
>
> <td>Content here...</td>
>
> </tr>
>
> </table>
>
> <img src="images/apache_pb.gif" width="259" height="32" border="0"
> alt="">
>
> </DIV>
>
> <table>
>
> <tr>
>
> <td class="menu_column">
>
> Menu item 1<br>
>
> Menu itme 2<br>
>
> Menu item 3<br>
>
> </td>
>
> <td class="content_column">
>
> <H3>This is a header</H3>
>
> <P>In principio creavit Deus caelum et terram terra
>
> autem erat inanis et vacua et tenebrae super faciem
>
> abyssi et spiritus Dei ferebatur super aquas dixitque
>
> Deus fiat lux et facta est lux et vidit Deus lucem
>
> quod esset bona et divisit lucem ac...</P>
>
> </td>
>
> </tr>
>
> </table>
>
> <form action="../../index.php?id=search_result_page">
>
> <input type="text" name="search_word">
>
> <input type="submit" value="Search now!">
>
> </form>
>
> </body>
>
> </html>
>
>
> _______________________________________________
> TYPO3-UG-dutch mailing list
> TYPO3-UG-dutch at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-ug-dutch 



More information about the TYPO3-UG-dutch mailing list