Zen TYPO3 Forum

Our TYPO3 forum is available for freelancers, professionals and clients new to TYPO3 to discuss Basic TYPO3 templating, Typoscript, extension installation, administration and help with subscription templates. Please register for an account to post.

All Categories > TYPO3 General Discussion > Extensions > Print with several columns
Total Posts: 4 - Pages (1): [1]
Author: mediatech
Posted: Dec 30 2007 - 04:16 PM
Subject: re: Print with several columns
Jens,

Have a look at this example. I have not had time to test it yet but this should work.
[TYPO3-german] Antwort: Re: Seiten lassen sich zeitweise nichtmehr aufrufen...

# Druckversion
druck = PAGE
druck.stylesheet = uploads/tf/print.css
druck {
typeNum = 98
#bodyTag = <body onload="javascript:window.print()">
config.index_enable = 0
10 = TEMPLATE
10.template = FILE
10.template.file = uploads/tf/print.html
10.workOnSubpart = DOCUMENT_BODY
}
temp.printbutton = TEXT
temp.printbutton.wrap = <div class="printbutton">|</div>
temp.printbutton.value = <a href="#" onclick="javascript:window.print();"
title="Seite drucken">Seite drucken</a>

druck.10.subparts.SHORTCUTS < temp.printbutton
druck.10.subparts {
CONTENT < styles.content.get
CONTENT.stdWrap.required = 1
CONTENT.stdWrap.wrap = <div class="content">|</div>
}


Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: jensop
Posted: Dec 09 2007 - 04:13 PM
Subject: re: Print with several columns
Hi Greg,

I think you've got the right code.

But as you say - a template for the print job IS required, according to my test of today.

Jens.
Author: mediatech
Posted: Dec 09 2007 - 02:26 AM
Subject: re: Print with several columns
Jens,

I only got this far before I realized we need an HTML template. I'm guessing we just need to create a simpler version of the template we use for our web site.

# Cron print link
#######################################
print = PAGE
print.includeCSS {
file1 = fileadmin/templates/zwire/css/ext/print.css
}
print {
typeNum = 98
bodyTag = <body onload="parent.self.print();">
10 = TEXT
20 < styles.content.get
30 < styles.content.getLeft
40 < styles.content.getRight
}


This is the only link I could find with a good hint. I hope to find more time later to test.
http://www.typo3.net/forum/list/list_post//54106/?page=1#pid202236

Greg
----
Mediatech Consulting, Inc.
Phone : +1 (760) 525-1770 . Fax: +1 (760) 542-1990 . Skype: gremington
Author: jensop
Posted: Dec 08 2007 - 04:33 AM
Subject: Print with several columns
Hi,

In regards of the the Zen Business template -

Does anyone know a good way to get a nice print with 3-columns template - where more than the center column is printed?

Thank you Greg
Total Posts: 4 - Pages (1): [1]
You must login to post a message to this conference.

 

CHC Forum provided by Cast Iron Coding

TYPO3 Support