Re: [SMARTY] How to pass GET or SID to "templatized" page
| From: | Andrei Verovski | Date: | Thu, 19 Jun 2003 09:34:40 +0000 |
| Subject: | Re: [SMARTY] How to pass GET or SID to "templatized" page | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9726@lists.php.net to get a copy of this message | ||
Hi,
I have checked pages kindly referred by David:
{* display value of page from URL (GET) http://www.domain.com/index.php?page=foo *}
{$smarty.get.page}
{* display the variable "page" from a form a form (POST) *}
{$smarty.post.page}
{* display the php session variable "id" *}
{$smarty.session.id}
This articles explain how to get SID and GET variables displayed on page, but my question was how to PASS them to page. Something like $mySmarty -> Display("my_page.tpl.html?SID")? Or $mySmarty -> assign("smarty.get.page", "module=contacts")?
Thanks in advance for any suggestion.
********************************************* * Best Regards --- Andrei Verovski * * Personal Home Page * http://snow.prohosting.com/guru4mac * Mac, Linux, DTP, Development, IT WEB Site *********************************************Hi, Anyone can suggest me how to pass GET vars or SID to "templatized" page? $mySmarty -> Display("my_page.tpl.html"); <- HOW to add GET or SID here?http://smarty.php.net/manual/en/language.variables.smarty.request.php http://smarty.php.net/manual/en/language.variables.smarty.const.php Regards,David