Hi zusammen.
Ich habe auf einer meiner Homepages einen Printlink, sowohl auch ein Sendlink eingefügt, bei welchen jeweils ein dem entsprechend neues Fenster geöffnet wird. So weit so gut... Nun aber bei dem normalen Fenster mit der Homepage wird die root seite geladen, ich möchte allerdings das die Seite bleibt, von welcher der User den Print bzw. Send link betätigte.
Weiss jemand wie man das bezweckmässigen kann?
Hier die dafür entsprechenden TS Zeilen:
Typoscript-Code:
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39:
| config.doctype = xhtml_strict config.xhtml_cleaning = all config.baseURL = http://www.irgendeinehomepage.com/typo/ config.tx_realurl_enable = 1 config.simulateStaticDocuments = 0 config.prefixLocalAnchors = all config.noPageTitle = 2 config.no_cache = 0 lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.tags.table.fixAttrib.class.list > config.admPanel = 0 temp.printlink = COA temp.printlink.10 = TEXT temp.printlink.10.value < config.baseURL temp.printlink.10.typolink { parameter.data = page:uid additionalParams = &type=1 returnLast = url } temp.printlink.10.wrap = <a href="" onclick="window.open('http://www.irgendeinehomepage.com/typo/|','Printversion','height=600,width=800,scrollbars=yes');" title='Print this page'><img src="fileadmin/template/main/pics/print.gif' alt='Print' /><br />Print</a> temp.printlink.field = pid temp.sendlink = COA temp.sendlink.10 = TEXT temp.sendlink.10.typolink { parameter.data = page:uid returnLast = url } temp.sendlink.10.wrap = <a href="" onclick="window.open('http://www.irgendeinehomepage.com/typo/index.php?id=37&tipUrl=http://www.irgendeinehomepage.com/typo/ | ','SendThisPage','height=334,width=562,scrollbars=yes');" title='Send this page to a friend'><img src='fileadmin/template/main/pics/email.gif' alt='Send' /><br />Send</a> temp.sendlink.field = pid |
Gruss Arno