Author |
Message |
Topic: directory behaviour of caching |
t-rob
Replies: 3
Views: 6440
|
Forum: General Posted: Sat Jul 22, 2006 10:42 am Subject: directory behaviour of caching |
user is root, when I do a var_dump() on the loaded smarty class I do get to see all the data but for some reason it doesn't inherit the options I set in the config. It's very strange ... |
Topic: directory behaviour of caching |
t-rob
Replies: 3
Views: 6440
|
Forum: General Posted: Fri Jul 21, 2006 1:45 pm Subject: directory behaviour of caching |
This is strange, I created a CRON job that executes on php filesystem script which initiates the Smarty class. This one executes:
$smarty->clear_all_cache();
$smarty->clear_compiled_tpl();
$s ... |
Topic: directory behaviour of caching |
t-rob
Replies: 3
Views: 6440
|
Forum: General Posted: Fri Jul 21, 2006 11:45 am Subject: directory behaviour of caching |
When caching is enabled and I for some reason (let's say periodic cleanup or upgrade of libs) want to clear all cache, the cached templates are deleted but all the directories (if subdirs=true) are st ... |
Topic: Smarty Cheat Sheet for you |
t-rob
Replies: 11
Views: 17549
|
Forum: General Posted: Thu Apr 27, 2006 10:24 am Subject: Smarty Cheat Sheet for you |
Nice one, thanks! |
Topic: Equivalent of isset() |
t-rob
Replies: 5
Views: 20657
|
Forum: General Posted: Mon Apr 24, 2006 10:39 am Subject: Equivalent of isset() |
{if $var}{include file='file.tpl'} {/if} |
Topic: Parse error: syntax error |
t-rob
Replies: 4
Views: 9865
|
Forum: Installation and Setup Posted: Fri Apr 21, 2006 2:43 pm Subject: Parse error: syntax error |
seems you have a syntax error in that file, perhaps you could show the contents of /customers/itkontrakt.dk/itkontrakt.dk/httpd.www/ramboll/model/classes/Person.class.php |
Topic: Free Chapter from the Latest Smarty Book. |
t-rob
Replies: 1
Views: 29100
|
Forum: Article Discussions Posted: Thu Apr 20, 2006 11:52 am Subject: Free Chapter from the Latest Smarty Book. |
That is very nice but I ordered the book and I'm still waiting for it. Would very much appreciate it if can receive the book with the same kindness and speed as this free chapter! |
Topic: split_array |
t-rob
Replies: 6
Views: 26576
|
Forum: Plugins Posted: Thu Feb 23, 2006 1:13 pm Subject: split_array |
Never mind, somebody gave a very handy solution:
<table>
<tr>
{section name=nr loop=$array}
<td>{$array[nr]}</td>
{if $sma ... |
Topic: split_array |
t-rob
Replies: 6
Views: 26576
|
Forum: Plugins Posted: Wed Feb 22, 2006 12:13 pm Subject: split_array |
Could you give me more examples on how to use this function? I can get it working but not exactly the way it should, example:
x[0][0]='hp'
x[0][1]='notebook'
x[0][2]='on stock'
x[1][0]='ibm'
x[ ... |
|