[TYPO3-project-seminars] print seminars details

David Lenherr david.lenherr at magicline.ch
Thu Oct 4 12:31:13 CEST 2007


Hi Mario

Thanks for your help!

The funny thing is, that the URL shows the parameters, but when I mouseover
the print image it shows the link to the overview without the parameters!

Can it be, that I have to change this part of the print configuration to get
the parameters right?

10 = TEXT 10.data = getIndpEnv:REQUEST_URI 10.wrap = |&type=98 

Cheerio,
David

PS: By the way... I had to make a translation for the "User manual" Part of
the extension-manual in german... If someone needs this where do I have to
send the document?



-----Ursprüngliche Nachricht-----
Von: typo3-project-seminars-bounces at lists.netfielders.de
[mailto:typo3-project-seminars-bounces at lists.netfielders.de] Im Auftrag von
typo3-project-seminars-request at lists.netfielders.de
Gesendet: Donnerstag, 4. Oktober 2007 12:00
An: typo3-project-seminars at lists.netfielders.de
Betreff: TYPO3-project-seminars Digest, Vol 17, Issue 2

Send TYPO3-project-seminars mailing list submissions to
	typo3-project-seminars at lists.netfielders.de

To subscribe or unsubscribe via the World Wide Web, visit
	
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-seminars

or, via email, send a message with subject or body 'help' to
	typo3-project-seminars-request at lists.netfielders.de

You can reach the person managing the list at
	typo3-project-seminars-owner at lists.netfielders.de

When replying, please edit your Subject line so it is more specific than
"Re: Contents of TYPO3-project-seminars digest..."


Today's Topics:

   1. print seminars details (David Lenherr)
   2. Re: print seminars details (Mario Rimann)


----------------------------------------------------------------------

Message: 1
Date: Thu, 4 Oct 2007 09:50:00 +0200
From: "David Lenherr" <david.lenherr at magicline.ch>
Subject: [TYPO3-project-seminars] print seminars details
To: <typo3-project-seminars at lists.netfielders.de>
Message-ID:
	
<mailman.466.1191484546.20721.typo3-project-seminars at lists.netfielders.de>
	
Content-Type: text/plain;	charset="us-ascii"

Hi together
 
Great extension guys!!
 
But I have a little problem with the print function in the seminars details
view!
If I click the print button the printpage shows allways the seminars
overview and not the detail view...
 
Is this a bug or do I have to make some changes on the configuration in the
print-page section??
 
----------------------------------
########################
#Print Page Configuration
########################
temp.PRINT= COA
temp.PRINT {
wrap = <a href="|" name="Print" title="Print" target="_blank"><img
src="fileadmin/images/print.gif" border="0" alt="Seite drucken"></a> 10 =
TEXT 10.data = getIndpEnv:REQUEST_URI 10.wrap = |&type=98 }
 
print = PAGE
print {
stylesheet = fileadmin/css/main.css
bodyTag =<body onLoad="javascript:window.print()">
typeNum = 98
10 = TEMPLATE
10 {
template = FILE
template.file = fileadmin/templates/template_print.html
workOnSubpart = DOCUMENT_BODY
marks.PAGE_TITLE = TEXT
marks.PAGE_TITLE.field = title
marks.PAGE_SUBTITLE = TEXT
marks.PAGE_SUBTITLE.field = subtitle
marks.CONTENT < styles.content.get
} 
 
}
-----------------------------
 
Thanks for help ;o)
David
 


------------------------------

Message: 2
Date: Thu, 04 Oct 2007 11:27:42 +0200
From: Mario Rimann <typo3-coding at rimann.org>
Subject: Re: [TYPO3-project-seminars] print seminars details
To: typo3-project-seminars at lists.netfielders.de
Message-ID:
	
<mailman.1.1191490101.15107.typo3-project-seminars at lists.netfielders.de>
	
Content-Type: text/plain; charset=ISO-8859-1

Hi David

David Lenherr schrieb:
> Great extension guys!!

Thanks for the flowers :-)

> But I have a little problem with the print function in the seminars 
> details view!
> If I click the print button the printpage shows allways the seminars 
> overview and not the detail view...
>  
> Is this a bug or do I have to make some changes on the configuration 
> in the print-page section??

The list and single view are technically the same plugin. As long as no
event uid is transmitted (in the URL), the list is shown. As soon as an
event uis is in the URL, the plugin shows the single view of the event with
this uid.

I expect that you're just missing this parameter in the URL and thus the
wrong output is generated. Investigate how you can get the print page WITH
this parameter.

Another approach would be to use a CSS file with media selectors: So that
you hide the menu when printing. Just go to wikipedia (any page) and print
it - then you'll see what I mean: No separate Print page, just the "regular"
page that get's printed with other styles. Pretty cool :-)

Cheers,
Mario


------------------------------

_______________________________________________
TYPO3-project-seminars mailing list
TYPO3-project-seminars at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-project-seminars

End of TYPO3-project-seminars Digest, Vol 17, Issue 2
*****************************************************



More information about the TYPO3-project-seminars mailing list