Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

how do you redirect using smarty?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-14-2003, 10:39 AM
 
aerobics aerobics is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 30
 

Default how do you redirect using smarty?

how do you do an html redirect using smarty?
Reply With Quote
  #2  
Old 10-14-2003, 10:50 AM
 
Gibberish Gibberish is offline
 

Senior Member
  
Join Date: Sep 2003
Posts: 182
 

Default

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

or for index.html to redirect to a php page?
Reply With Quote
  #3  
Old 10-14-2003, 10:53 AM
 
aerobics aerobics is offline
 

Advanced Member
  
Join Date: Oct 2003
Posts: 30
 

Default

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?
Reply With Quote
  #4  
Old 10-14-2003, 04:07 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

http://smarty.php.net
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 10-14-2003, 10:12 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

I would say do this in php - smarty is really only for controlling the display, you should use php for forwarding.
__________________
ex x-cart guru
Reply With Quote
  #6  
Old 10-15-2003, 05:11 AM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default

Well, there's always this option:

Code:
<SCRIPT LANGUAGE=JavaScript>location.href='_____________';</SCRIPT>
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:54 AM.

   

 
X-Cart forums © 2001-2020