|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
gremio10 Smarty Rookie
Joined: 28 Jan 2011 Posts: 11
|
Posted: Fri Jan 28, 2011 12:24 pm Post subject: Usando o calendarField |
|
|
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 |
|
AmorseTierm Smarty n00b
Joined: 17 Aug 2011 Posts: 1 Location: Cape Verde
|
Posted: Thu Aug 18, 2011 6:50 am Post subject: Usando o calendarField |
|
|
your idea is useful |
|
Back to top |
|
|
|
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
|