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 11 matches
Smarty Forum Index
Author Message
  Topic: Open the view in a folder
gremio10

Replies: 2
Views: 9734

PostForum: Smarty Development   Posted: Thu Aug 25, 2011 8:48 pm   Subject: Open the view in a folder
Hey!, I have my folder views that have all my .tpl, but I want to separate some of my .tpl, so I created another folder, called pro, and I put my .tpl inside, and in my PHP i put ->display( " ...
  Topic: Error cookie logic
gremio10

Replies: 0
Views: 6954

PostForum: Smarty Development   Posted: Fri Apr 08, 2011 4:34 pm   Subject: Error cookie logic
Hey guys, look, I want to do a login, and use cookies, but, when I use cookie on my PHP, and call on my tpl with $smarty.cookies.myCookie don't show nothing, the same thing with the session.


...
  Topic: Bug Smarty 3 on Zend Framework
gremio10

Replies: 2
Views: 7732

PostForum: Smarty Development   Posted: Sat Apr 02, 2011 8:04 pm   Subject: Bug Smarty 3 on Zend Framework
Thanks man... Works..
  Topic: Bug Smarty 3 on Zend Framework
gremio10

Replies: 2
Views: 7732

PostForum: Smarty Development   Posted: Sat Apr 02, 2011 6:54 pm   Subject: Bug Smarty 3 on Zend Framework
Hey guys, look, I use the example from [url=http://www.gediminasm.org/article/smarty-3-extension-for-zend-framework]site to use the Smarty on Zend.

but, when I change my values on my index, and I d ...
  Topic: Call a .tpl on a subfolder
gremio10

Replies: 4
Views: 13679

PostForum: Smarty Development   Posted: Thu Mar 31, 2011 12:33 pm   Subject: Call a .tpl on a subfolder
it's "views" ... I thought that I could have more folders inside my template_dir...
  Topic: Call a .tpl on a subfolder
gremio10

Replies: 4
Views: 13679

PostForum: Smarty Development   Posted: Thu Mar 31, 2011 3:41 am   Subject: Call a .tpl on a subfolder
Hey guys, I have a problem, I create a folder inside of my templates called partner, and when I try to call on my PHP

$smarty->display( "partner/login.tpl" );

It return a er ...
  Topic: Problems with {if}
gremio10

Replies: 3
Views: 10231

PostForum: Smarty Development   Posted: Fri Mar 25, 2011 11:28 am   Subject: Problems with {if}
The error tells you exactly the problem:

{if $product.promotional_value != 0 }" - Unexpected " }"

change to 0} (no space)

Thanks, works Razz
  Topic: Problems with {if}
gremio10

Replies: 3
Views: 10231

PostForum: Smarty Development   Posted: Fri Mar 25, 2011 1:53 am   Subject: Problems with {if}
Hey guys, I had a problem here, look:

Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template "views\index.tpl" on line 17 "{if $pro ...
  Topic: Catchable fatal error: Object of class stdClass could not be
gremio10

Replies: 1
Views: 8646

PostForum: Smarty Development   Posted: Wed Mar 16, 2011 2:20 am   Subject: Catchable fatal error: Object of class stdClass could not be
Hello,

I use the PDO conection, and when I make a Query with fetchAll he returns a stdClass, how I do to make a foreach?

I make like this:

php.:

$names = $Sql->findAll("User&q ...
  Topic: Using calendarField
gremio10

Replies: 0
Views: 3260

PostForum: General   Posted: Fri Jan 28, 2011 12:29 pm   Subject: Using calendarField
Hi, I use a MVC system and I can't make my {calendarField} receive the values.

$this->log = date("Y-m-d", strtotime("-1 month"));
$this->end = date( ...
  Topic: Usando o calendarField
gremio10

Replies: 1
Views: 18078

PostForum: Language: Portuguese   Posted: Fri Jan 28, 2011 12:24 pm   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á pegand ...
 
Page 1 of 1
All times are GMT
Jump to:  


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