[TYPO3] Adding content to Printlink

Steven Bagshaw steven.bagshaw at unv.org
Thu Feb 2 18:04:54 CET 2006


I think you need

CONTENT < styles.content.get
CONTENT_LEFT < styles.content.getLeft

Otherwise you are getting styles.content.get twice.

Steven


"Nate Hall" <nate at wednesdayproductions.com> wrote in message
news:mailman.11527.1138898146.6406.typo3-english at lists.netfielders.de...
> Hi-
>
> I have printlink installed on my site and it is working for the most part.
> However, it is pulling up two instances of ###CONTENT### instead of
> ###CONTENT###  and ###CONTENT_LEFT###.
>
> Here is my HTML for the print template:
>
> <!-- ###DOCUMENT_BODY### begin-->
>
> ###CONTENT_LEFT###
> <hr />
> ###CONTENT###
>
> <!-- ###DOCUMENT_BODY### end -->
>
> Here is my setup code:
>
> alt_print >
> alt_print = PAGE
> alt_print.typeNum=98
> alt_print.stylesheet = {$plugin.alt.print.file.stylesheet}
>
> alt_print.10 = TEMPLATE
> alt_print.10 {
>   template = FILE
>   template.file = {$plugin.alt.print.file.template}
>   marks {
>     PAGE_TITLE = TEXT
>     PAGE_TITLE.field = title
>     PAGE_SUBTITLE = TEXT
>     PAGE_SUBTITLE.field = subtitle
>     PAGE_AUTHOR = TEXT
>     PAGE_AUTHOR.field = author
>     PAGE_AUTHOR.required=1
>     PAGE_AUTHOR.typolink.parameter.field = author_email
>     PAGE_UID = TEXT
>     PAGE_UID.field = uid
>     CONTENT < styles.content.get
>     CONTENT_LEFT < styles.content.get
>   }
>   workOnSubpart = DOCUMENT_BODY
> }
>
> What am I doing wrong?
>
> Thanks in advance!
> Nate





More information about the TYPO3-english mailing list