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: What we gained: logic/presentation; performance; support
Scott

Replies: 0
Views: 24908

PostForum: 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: 26413

PostForum: 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: 20801

PostForum: 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: 11672

PostForum: 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: 55503

PostForum: 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: 55503

PostForum: 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: 55503

PostForum: 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: 55503

PostForum: 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: 11446

PostForum: General   Posted: Tue Apr 22, 2003 11:37 pm   Subject: Yes!
thanks!
  Topic: pop-up calendar?
Scott

Replies: 4
Views: 11446

PostForum: 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 ...
 
Page 1 of 1
All times are GMT
Jump to:  


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