link from one template to a different template

From: Date: Thu, 09 Jan 2003 21:12:10 +0000
Subject: link from one template to a different template
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7095@lists.php.net to get a copy of this message
Hi! I'm working on a picture gallery, and I use smarty for templates. right now I just display thumbnails for each picture and link directly to the picture from the thumbnail. I do instead want to link to a html file with the image embedded in it so I can provide a link back to the thubmnail page. if I had used plain php I would just have encoded wich file to display in the link to the php file like this <a href="imgDisplayer.php?img=img001.jpg"><img src="t_img001.jpg"></a> how can I do this with smarty?, can I just link to another template and include a variable in the link like I do with regular php? Thanks in advance ( and thanks for Smarty! ) Erling( Smarty and PHP beginner ) -- Erling Ringen Elvsrud PGP/GPG Key: http://www.killozap.com/hmm/gpg_public_key.txt

« previous php.smarty.general (#7095) next »