[TYPO3-german] kein Template File von URL seit 6.2?

Helmut Hummel helmut.hummel at typo3.org
Fri Oct 31 17:29:47 CET 2014


Hi!

On 31.10.14 09:05, bernd wilke wrote:

> // footer = pageId 16 with type 10 and current language
> temp.footerUrl = TEXT
> temp.footerUrl.typolink {
>     returnLast = url
>     parameter = 16
>     additionalParams = &type=10&L=
>     additionalParams.dataWrap = |{GP:L}
> }
>
> #temp.footer
> temp.t3footer = TEMPLATE
> temp.t3footer {
>     template = FILE
>     template.file.cObject < temp.footerUrl
> }
>
> dazu wird dann noch folgendes definiert:
> page {
>     10 = FLUIDTEMPLATE
>     10 {
>       file = {$syspath}/html/f-template.html
>
>       variables {
>         :
>         t3footer < temp.t3footer
>         footerUrl < temp.footerUrl
>         :
>       }
>     }
> }

Probier mal bitte folgendes:

temp.t3footer = TEXT
temp.t3footer {
	stdWrap {
		wrap = http://hostname.tld|
		typolink {
			returnLast = url
			parameter = 1
			additionalParams = &type=10&L=
			additionalParams.dataWrap = |{GP:L}
		}
	}
	postUserFunc = TYPO3\CMS\Core\Utility\GeneralUtility->getUrl
}

(hostname.tld durch Deinen Hostname ersetzen natürlich und evtl. noch 
ein slash am Ende, also http://hostname.tld/ je nach config)

Bei mir geht es.

Kürzeres TS, kein PHP, macht was Du möchtest :)

Das ist auch ein Hack, sollte aber eine Weile funktionieren ;)

Kind regards,
Helmut

-- 
Helmut Hummel
Release Manager TYPO3 6.0
TYPO3 CMS Active Contributor, TYPO3 Security Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the TYPO3-german mailing list