how do you redirect using smarty?
how do you do an html redirect using smarty?
|
for index.php? to redirect to another php page?
or for index.html to redirect to a php page? |
no, the syntax for redirecting using smarty.
I know that PHP is header("Location: pageiwanttoredirect.php"); but is there specific syntax for using the smarty tag library? |
|
I would say do this in php - smarty is really only for controlling the display, you should use php for forwarding.
|
Well, there's always this option:
Code:
<SCRIPT LANGUAGE=JavaScript>location.href='_____________';</SCRIPT> |
All times are GMT -8. The time now is 09:01 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.