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: Upgrade 2.x -> 3.x helper
mmerlone

Replies: 6
Views: 15669

PostForum: Smarty 3   Posted: Mon May 16, 2011 7:34 pm   Subject: Upgrade 2.x -> 3.x helper
Hi all,

I am evaluating the upgrade from 2.x to 3.x. I read http://smarty-php.googlecode.com/svn/trunk/distribution/SMARTY2_BC_NOTES and was wondering if someone has made or is planning to make or ...
  Topic: Empty zero length compiled templates
mmerlone

Replies: 3
Views: 8670

PostForum: General   Posted: Tue Mar 13, 2007 6:04 pm   Subject: Empty zero length compiled templates
Obvious question... but, well, I am stumped...

I pasted this script (from php.net):

<?php
$filename = '/usr/local/lib/php/classes/m/templates_c/test.txt';
$somecontent = &qu ...
  Topic: Empty zero length compiled templates
mmerlone

Replies: 3
Views: 8670

PostForum: General   Posted: Tue Mar 13, 2007 1:50 pm   Subject: Empty zero length compiled templates
Hello Folks,

I could not find a solution for this problem, just a thread in german and another one without solution on this forum.

I have a specific dir where all compiled templates are created ...
  Topic: Variable inside a variable
mmerlone

Replies: 2
Views: 9120

PostForum: General   Posted: Tue Jan 30, 2007 1:21 pm   Subject: Variable inside a variable
Hello all!

Sorry for the insanity of the question and if it is dumb, but is there a hack where I could assign a variable with a variable inside and have it compiled?

$smarty->assign('text ...
  Topic: Compile vars after register_function
mmerlone

Replies: 0
Views: 11454

PostForum: Tips and Tricks   Posted: Wed Jan 03, 2007 4:54 pm   Subject: Compile vars after register_function
Hello all!

I have extended the smarty class so I can configure it and etc. There I have a function like this:

$this->register_function('tr', 'translate');

which returns the transla ...
 
Page 1 of 1
All times are GMT
Jump to:  


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