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 10 matches
Smarty Forum Index
Author Message
  Topic: dinamic var from array cant be accessed
edduvs

Replies: 2
Views: 5014

PostForum: General   Posted: Thu Jul 28, 2011 6:02 pm   Subject: dinamic var from array cant be accessed
If you have another way, it's ok, until then, i chose {assign "level" level($build.dbname,$village.id) nocache}
  Topic: dinamic var from array cant be accessed
edduvs

Replies: 2
Views: 5014

PostForum: General   Posted: Thu Jul 28, 2011 5:46 pm   Subject: dinamic var from array cant be accessed
I have an array $village and a $build.dbname from a foreach, i can't access $village.$build.dbname, i wouldn't like to assign another var for each and every building.. is there another way ?
  Topic: Fatal error: Allowed memory size of 134217728 bytes exhauste
edduvs

Replies: 2
Views: 10829

PostForum: Installation and Setup   Posted: Wed Jul 06, 2011 2:47 pm   Subject: Fatal error: Allowed memory size of 134217728 bytes exhauste
Damn, didn't see that i didn't add global $user to the first global setter.
  Topic: Fatal error: Allowed memory size of 134217728 bytes exhauste
edduvs

Replies: 2
Views: 10829

PostForum: Installation and Setup   Posted: Tue Jul 05, 2011 7:52 pm   Subject: Fatal error: Allowed memory size of 134217728 bytes exhauste
Hi there again, my problem resums at the SmartyPaginate.class.php

First when i installed the script, i needed to make all functions beside the cunstructor in the SmartyPaginate class public statics ...
  Topic: How can I enable {php} tags in Smarty 3.1 ?
edduvs

Replies: 5
Views: 46835

PostForum: Installation and Setup   Posted: Wed Jun 29, 2011 4:07 pm   Subject: How can I enable {php} tags in Smarty 3.1 ?
I think it's quite easier to switch from replace Smarty (case sensitive) in any file with SmartyBC that will change the include and the class initialisation.
  Topic: How can I enable {php} tags in Smarty 3.1 ?
edduvs

Replies: 5
Views: 46835

PostForum: Installation and Setup   Posted: Tue Jun 28, 2011 1:00 pm   Subject: How can I enable {php} tags in Smarty 3.1 ?
Oh I got it, you need to set $smarty = new SmartyBC; instead of new Smarty ! Thanks anyway.
  Topic: How can I enable {php} tags in Smarty 3.1 ?
edduvs

Replies: 5
Views: 46835

PostForum: Installation and Setup   Posted: Tue Jun 28, 2011 11:27 am   Subject: How can I enable {php} tags in Smarty 3.1 ?
i changed to include('inc/libs/SmartyBC.class.php');
Fatal error: Uncaught exception 'SmartyCompilerException' with message 'Syntax Error in template ".\inc/files\game.tpl" on line 82 & ...
  Topic: How can I enable {php} tags in Smarty 3.1 ?
edduvs

Replies: 5
Views: 46835

PostForum: Installation and Setup   Posted: Mon Jun 27, 2011 11:33 pm   Subject: How can I enable {php} tags in Smarty 3.1 ?
As the title says, i downloaded smarty 3.1, everything works fine, but i can't enable php tags, i read the changelog and somewhere in there says sth about smartyBC, as it has the php allow condition, ...
  Topic: Addon request !?
edduvs

Replies: 3
Views: 28606

PostForum: Add-ons   Posted: Mon Jun 27, 2011 11:02 pm   Subject: Addon request !?
Ok mohrt, i see that quite logic, but, can't I have it embedded in the smarty compile proccess so I wouldn't add it in every file ? What do I need to modify if so ?
  Topic: Addon request !?
edduvs

Replies: 3
Views: 28606

PostForum: Add-ons   Posted: Mon Jun 27, 2011 7:43 pm   Subject: Addon request !?
Can someone here make an addon or plugin so on the $smarty->display() action, the final result can be filtered by a bad words filter ?
 
Page 1 of 1
All times are GMT
Jump to:  


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