![]() |
| | LinkBack | Themen-Optionen | Thema bewerten | Ansicht |
|
#1
| |||
| |||
Hallo, ich möchte mehrsprachige Seite ausdrucken, bekomme aber die URL nicht richtig gesetzt, so dass immer die deutsche Seite im Drucklayout erscheint. Wie füge ich den Parameter &L=1 an, damit die englische Seite gedruckt wird. In SETUP steht: Code:
# Sprachumschaltung START
config {
linkVars = L
sys_language_uid = 0
language = de
locale_all = de_DE
htmlTag_langKey = de
}
# English language, sys_language_uid = 1
[globalVar = GP:L = 1]
config.sys_language_uid = 1
config.language = en
config.locale_all = english
config.htmlTag_langKey = en
[global]
... Code:
template.print3= IMAGE
template.print3.file = GIFBUILDER
template.print3.file {
XY = 48, 18
backColor = #909090
10 = IMAGE
10.file = fileadmin/template/image/print.gif
30 = TEXT
30.text = HTML
30.offset = 20, 13
30.fontFile = fileadmin/template/font/vera.ttf
30.fontSize = 9
30.fontColor = #000063
30.niceText = 1
}
template.print3.imageLinkWrap = 1
template.print3.imageLinkWrap.enable = 1
template.print3.imageLinkWrap.typolink{
no_cache = 1
parameter.data = field:uid
additionalParams = &type=98&uid
ATagBeforeWrap = 1
} Folgendes hat nicht funktioniert: additionalParams = &type=98&uid&L=config.sys_language_uid additionalParams = &type=98&uid&L={$config.sys_language_uid} additionalParams = &type=98&uid&L={$foreignLanguageID} additionalParams = &type=98&uid&L={$ACT_LANG} additionalParams = &type=98&uid&L=GP:L additionalParams = &type=98&uid&L=GPvar:L MfG, Peter Geändert von peter08 (09.07.08 um 15:32 Uhr). Grund: Fehler korrigiert |
|
#2
| |||
| |||
| TYPO3.net - Das deutsche TYPO3-Portal:typolink So könnte es funktionieren: additionalParams.dataWrap = &type=98&uid&L={GPvar:L} |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | Thema bewerten |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Elemente mit personalisiertem Logo als PDF drucken | Gruenbaer | TYPO3-Jobs | 2 | 02.12.07 12:23 |
| Drucken-Button | alona | TYPO3 4.x Fragen und Probleme | 4 | 02.11.07 14:02 |
| Seitenbaum drucken | ernstle | TYPO3 4.x Fragen und Probleme | 3 | 29.09.07 14:07 |
| Seite Drucken in Multiflex 36 | Floxer | TYPO3 4.x Fragen und Probleme | 8 | 25.05.07 16:59 |
| Suchergebnisse drucken | Eva | Indexed Search | 1 | 29.04.07 21:32 |