Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 5 matches
Smarty Forum Index
Author Message
  Topic: Select selected problem help!
nikit0

Replies: 1
Views: 4386

PostForum: General   Posted: Thu Jan 26, 2012 11:20 pm   Subject: Select selected problem help!
Hello everybody and thank you for reading,

I have a form called inputformcar, in this form users can insert their details car, like make model color year etc etc and if they want they can modifie t ...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 5787

PostForum: General   Posted: Thu Jan 26, 2012 4:51 pm   Subject: Variable doesnt work properly
Solved in this way:

{if $listing.Powerr != ''}

<tr><td>
[[Power1]]:</td>
...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 5787

PostForum: General   Posted: Thu Jan 26, 2012 4:43 pm   Subject: Variable doesnt work properly
i use {if $listing.Powerr == 415} it works correctly

even if i do {$listing.Powerr/2} the output is 0.5 like the value of $listing.Powerr is 1... its so strange i dont know wher ...
  Topic: Variable doesnt work properly
nikit0

Replies: 3
Views: 5787

PostForum: General   Posted: Thu Jan 26, 2012 12:30 am   Subject: Variable doesnt work properly
Hello everybody and thank you all for the support,

I have a strange situation, variable $listing.Powerr is already defined during the input form car form, in this case is 415.

On the view listin ...
  Topic: Variabile non riconosciuta
nikit0

Replies: 2
Views: 18184

PostForum: Language: Italian   Posted: Thu Jan 26, 2012 12:21 am   Subject: Variabile non riconosciuta
Ciao a tutti!

vi scrivo per avere un supporto con smarty,

io ho una variabile $listing.Powerr che ha già un valore immesso dall'utente nel momento in cui effettua l'inserzione e che mando in out ...
 
Page 1 of 1
All times are GMT
Jump to:  


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