Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

how can I do a select tag from Smarty?

 
Post new topic   Reply to topic    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
maygreth
Smarty Rookie


Joined: 18 Jul 2006
Posts: 5

PostPosted: Thu Jul 27, 2006 6:36 pm    Post subject: how can I do a select tag from Smarty? Reply with quote

Hi all!

I'm be reading the Smarty's documentacion and I see that you have {html_select_date}, {html_table} and others. But, I don't see the way I could make a select from Smarty as well as an input text. So I'm little lost. I'm new on this Smarty's stuff.

I hope you can help me. Thanks a lot!

Ana Azuaje
_________________
Ana M Azuaje
Back to top
View user's profile Send private message Yahoo Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Thu Jul 27, 2006 7:09 pm    Post subject: Reply with quote

http://smarty.php.net/manual/en/language.function.html.options.php
Back to top
View user's profile Send private message
maygreth
Smarty Rookie


Joined: 18 Jul 2006
Posts: 5

PostPosted: Thu Jul 27, 2006 7:31 pm    Post subject: Reply with quote

Wink Hi, thanks.
Of course!, I didn't realize that {html_option} is one of the tags I need. Thanks to show me out. And, what about the input label????

greetings!,
Ana Azuaje
_________________
Ana M Azuaje
Back to top
View user's profile Send private message Yahoo Messenger
boots
Administrator


Joined: 16 Apr 2003
Posts: 5611
Location: Toronto, Canada

PostPosted: Thu Jul 27, 2006 8:41 pm    Post subject: Reply with quote

Input label? Smarty doesn't have anything out of the box to do standard form inputs (other than html_checkboxes and html_radios).
Back to top
View user's profile Send private message
TGKnIght
Smarty Junkie


Joined: 07 Sep 2005
Posts: 580
Location: Philadelphia, PA

PostPosted: Thu Jul 27, 2006 8:49 pm    Post subject: Reply with quote

You can just use <label>
_________________
Smarty site with one index.php controller file
Working with MySQL and Smarty
SmartyColumnSort
Custom Smarty Javascript Debug Template
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP