[TYPO3] Typolink history.back();
G.Unger
skyfreak1 at gmx.net
Wed Aug 20 17:43:18 CEST 2008
and if you have a multilanguage site with one tree concept you could
even source out the wording "Go Back" into a variable.
- setup:
renderObj.10.value = <a href="javascript:history.back()">{$backlink}</a>
- constants:
# language uid = 0 (default) e.g. english
backlink = Go Back
# language uid = 1 e.g. german
[globalVar = GP:L = 1]
backlink = zurück
[end]
rgds,
GUIDo
Am 20.08.2008 um 15:31 schrieb Stefan Aichholzer:
>
> Damn, could it be easier that that?
>
> Well, the force is always tempting us to the dark side, the complex
> way.
>
>
> Thank you once again. ;)
>
>
> Dmitry Dulepov [typo3] wrote:
>> Stefan Aichholzer wrote:
>>> Is it possible to create a typolink with
>>> javascript:history.back(); ?
>>>
>>> renderObj.10 = TEXT
>>> renderObj.10 {
>>> value = Go back
>>> typolink.parameter = javascript:history.back();
>>> }
>>>
>>> That's pseudo-code only (of course) Any ideas??
>>
>> renderObj.10 = TEXT
>> renderObj.10.value = <a href="javascript:history.back()">Go back</a>
>>
>> --
>> Dmitry Dulepov
>> TYPO3 Core team
>> My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
>> In the blog:
>> http://typo3bloke.net/post-details/should_abbreviations_be_used_in_the_code/
>> _______________________________________________
>> TYPO3-english mailing list
>> TYPO3-english at lists.netfielders.de
>> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>>
>>
>
>
> --
> Stefan Aichholzer
> http://aichholzer.name
> stefan at aichholzer.name
> (+34) 691.477.394
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
More information about the TYPO3-english
mailing list