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

Usando o calendarField

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese
View previous topic :: View next topic  
Author Message
gremio10
Smarty Rookie


Joined: 28 Jan 2011
Posts: 11

PostPosted: Fri Jan 28, 2011 12:24 pm    Post subject: Usando o calendarField Reply with quote

Eae galera, sou novo por aqui e estou com um problema.

O sistema aqui do trabalho usa o MVC, e utilizamos o {calendarField} para pegar o mes passado e esse mes, o problema é que ele não está pegando a variavel que chamo na minha Controller.

Code:
$this->log = date("Y-m-d", strtotime("-1 month"));
         $this->end = date("Y-m-d");


e tento chama-los assim:

Code:
{calendarField object="log" property="start" from=$log}
      {calendarField object="log" property="end" from=$end}


Alguém pode me ajudar ?

Obrigado.
Back to top
View user's profile Send private message Send e-mail
AmorseTierm
Smarty n00b


Joined: 17 Aug 2011
Posts: 1
Location: Cape Verde

PostPosted: Thu Aug 18, 2011 6:50 am    Post subject: Usando o calendarField Reply with quote

your idea is useful
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Portuguese 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