hi all,
in normal html file is used the meta tag
<meta http-equiv="REFRESH" content="5; url=index.html" /> which redirect the page in 5 sec to indicated link (in this case to index page).
in cmsimple for redirect/relocate is using the code
#CMSimple hide# #CMSimple header('Location:?Newpage') ;# which redirect the page instantly to indicated page (in this case to page named "Newpage").
question: could be used to relocate the page not instantly but also just after 5 seconds?
thank you in advance for your answers and help.
relocate / redirect
-
- Posts: 28
- Joined: Sat Jul 07, 2012 6:16 pm
- Location: Budapest, Hungary
Re: relocate / redirect
Have you considered to add the desired <meta> element with CMSimple scripting? Something like the following might work:
Code: Select all
#CMSimple $hjs .= '<meta http-equiv="REFRESH" content="5; url=?Newpage" />';#
Christoph M. Becker – Plugins for CMSimple_XH
-
- Posts: 28
- Joined: Sat Jul 07, 2012 6:16 pm
- Location: Budapest, Hungary
Re: relocate / redirect
Works perfectly !!
Thank you -again!- Christoph for your valuable help!
Alex
Thank you -again!- Christoph for your valuable help!
Alex