[Typo3] meta tag in typoscript

Steve Turnbull sturnbull at yhgfl.net
Thu Oct 6 16:38:24 CEST 2005


On Thu, 06 Oct 2005 16:08:48 +0200, Jochen Rieger wrote:

> Hi Steve,
> 
> maybe you can try the plugin "metatags".
> 
> Then create an empty EXTension template on your "thank you"-page. There 
> you can insert something like this in your CONSTANTS-field:
> 
> plugin.meta.refresh = 2;URL=javascript:history.back()
> 
> or similar.
> 
> Regards,
> Jochen
> 
> Steve Turnbull wrote:
>> Hi
>> 
>> I have a contact form 'thank you' page. What I want to do is have the page
>> auto-refresh after 2 seconds and take the user back to the page where he
>> came from using;
>> <meta http-equiv="refresh" content="2;URL=javascript:history.back()">
>> 
>> I added a template for the thank you page and added the following
>> typoscript. It works to a degree, BUT the problem is that before the page
>> refreshes, the page which is shown is blank!!
>> 
>> refresh = PAGE
>> refresh.typeNum = 0
>> refresh.meta.REFRESH = 2;URL=javascript:history.back()
>> 
>> Could someone advise where I am going wrong please.
>> 
>> Cheers
>> Steve

I tried the Meta-Tags plugin and put;
refresh.meta.REFRESH = 2;URL=javascript:history.back()
...in the CONSTANCE.

Still no joy...

Steve




More information about the TYPO3-english mailing list