X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   how do you redirect using smarty? (https://forum.x-cart.com/showthread.php?t=4763)

aerobics 10-14-2003 10:39 AM

how do you redirect using smarty?
 
how do you do an html redirect using smarty?

Gibberish 10-14-2003 10:50 AM

for index.php? to redirect to another php page?

or for index.html to redirect to a php page?

aerobics 10-14-2003 10:53 AM

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?

shan 10-14-2003 04:07 PM

http://smarty.php.net

funkydunk 10-14-2003 10:12 PM

I would say do this in php - smarty is really only for controlling the display, you should use php for forwarding.

kpayne 10-15-2003 05:11 AM

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.