Author |
Message |
Topic: What we gained: logic/presentation; performance; support |
Scott
Replies: 0
Views: 24951
|
Forum: Testimonials Posted: Thu Sep 11, 2003 4:48 am Subject: What we gained: logic/presentation; performance; support |
At [url=http://computercsi.com]Computer Consulting Specialists, Inc. we evaluated several template systems, and decided to use Smarty.
As the chief architect of our projects, I have no regrets of our ... |
Topic: Caching problem (pages stay beeing cached) |
Scott
Replies: 15
Views: 26455
|
Forum: General Posted: Tue Aug 26, 2003 5:29 pm Subject: consider using cache groups |
We use cache groups based on a unit_id (unique key number for each user). When their profile is updated, we simply clear the cache for only that group. To make testing/debugging easier, we add the I ... |
Topic: Passing smarty variables to an include var |
Scott
Replies: 3
Views: 20824
|
Forum: General Posted: Tue Jul 01, 2003 10:17 pm Subject: Re: Passing smarty variables to an include var |
So, this is my code:
<ul>
{section name=i loop=$tree}
<li>{$tree[i].page_name}</li>
{include file="children.tpl" pages="$ ... |
Topic: {html_options Select problem |
Scott
Replies: 6
Views: 11690
|
Forum: General Posted: Tue Jul 01, 2003 3:32 pm Subject: key of 19 is not same as '19' |
We came across issues with PHP and Smarty not treating keys the same. Instead of using:
val[0] = 'zero'
val[1] = 'one'
We use:
val["0"] = 'zero'
val[&qu ... |
Topic: How? $smarty.post.value_$smarty.section.role.iteration |
Scott
Replies: 6
Views: 55561
|
Forum: General Posted: Tue May 06, 2003 12:39 pm Subject: Re: This works great! |
I really should have said that backticks require 2.5.0+. Especially since I thought something was up when you were getting `'s in your output.
I think we should encourage people to add the resu ... |
Topic: How? $smarty.post.value_$smarty.section.role.iteration |
Scott
Replies: 6
Views: 55561
|
Forum: General Posted: Sat May 03, 2003 2:39 pm Subject: This works great! |
This does work well!
My test instance was still at version 2.4.2 -- once I upgraded to 2.5.0 it works.
thank you! |
Topic: How? $smarty.post.value_$smarty.section.role.iteration |
Scott
Replies: 6
Views: 55561
|
Forum: General Posted: Sat May 03, 2003 11:19 am Subject: How? $smarty.post.value_$smarty.section.role.iteration |
Thanks for the reply, but this doesn't seem to work for me.
{assign var="temp" value="contact_role_`$smarty.section.role.iteration`"}
... |
Topic: How? $smarty.post.value_$smarty.section.role.iteration |
Scott
Replies: 6
Views: 55561
|
Forum: General Posted: Sat May 03, 2003 5:03 am Subject: How? $smarty.post.value_$smarty.section.role.iteration |
I'm trying to default a checkbox to the previously posted
value of the same form (which is shown again in case of error).
{ section name=role loop=$role_list }
<input type=" ... |
Topic: pop-up calendar? |
Scott
Replies: 4
Views: 11463
|
Forum: General Posted: Tue Apr 22, 2003 11:37 pm Subject: Yes! |
thanks! |
Topic: pop-up calendar? |
Scott
Replies: 4
Views: 11463
|
Forum: General Posted: Fri Apr 18, 2003 2:48 am Subject: pop-up calendar? |
Does anyone know of a function handler that will implement a popup calendar that will modify the html_date entry?
So, in addition to having the drop-down <select> boxes, I could also have a g ... |
|