Author |
Message |
Topic: ADVANCED: Recursion with Smarty |
Jeremy-
Replies: 155
Views: 824333
|
Forum: Tips and Tricks Posted: Sat Dec 17, 2005 3:27 pm Subject: ADVANCED: Recursion with Smarty |
Do you have an example of that code I could check out? That sounds more along the lines of what I need to do. |
Topic: Am I not allowed to edit & redistrabute Smarty |
Jeremy-
Replies: 6
Views: 19195
|
Forum: General Posted: Fri Dec 16, 2005 7:27 pm Subject: Am I not allowed to edit & redistrabute Smarty |
Awesome! Thank you, TGKnIght. |
Topic: Am I not allowed to edit & redistrabute Smarty |
Jeremy-
Replies: 6
Views: 19195
|
Forum: General Posted: Fri Dec 16, 2005 7:07 pm Subject: Am I not allowed to edit & redistrabute Smarty |
I noticed that, however the answer reads:
A: Yes, you can. Smarty is licensed under the unmodified smarty source as part of a commercial product is just fine.
That's why I decided to ask. |
Topic: Am I not allowed to edit & redistrabute Smarty |
Jeremy-
Replies: 6
Views: 19195
|
Forum: General Posted: Fri Dec 16, 2005 5:41 pm Subject: Am I not allowed to edit & redistrabute Smarty |
I'm building a PHP5 CMS using Smarty as my template engine. As of now, I have error handling turned off, however I would like to have an in-depth error reporting system and becuase of the use of vars ... |
Topic: ADVANCED: Recursion with Smarty |
Jeremy-
Replies: 155
Views: 824333
|
Forum: Tips and Tricks Posted: Fri Dec 16, 2005 4:47 am Subject: ADVANCED: Recursion with Smarty |
This is the the structure of my array:
Array
(
[1] => Array
(
[id] => 1
[name] => General
[parent_id ... |
Topic: Looping infinate number of foreach statements |
Jeremy-
Replies: 2
Views: 9153
|
Forum: Smarty Development Posted: Fri Dec 16, 2005 3:58 am Subject: Looping infinate number of foreach statements |
That looks like what I need. I'll post my questions in that thread. Thank you. |
Topic: Looping infinate number of foreach statements |
Jeremy-
Replies: 2
Views: 9153
|
Forum: Smarty Development Posted: Thu Dec 15, 2005 7:31 pm Subject: Looping infinate number of foreach statements |
I'm aware of the possible drawbacks of doing this, but I want to be able to loop an infitnate amount of foreach statements to print out a document tree.
Each category has a sub category, that sub c ... |
Topic: Cycling background colors using table_foreach |
Jeremy-
Replies: 2
Views: 7856
|
Forum: Plugins Posted: Mon Nov 21, 2005 11:25 pm Subject: Cycling background colors using table_foreach |
You hit the nail right on the head! Thank you, mohrt. |
Topic: Cycling background colors using table_foreach |
Jeremy-
Replies: 2
Views: 7856
|
Forum: Plugins Posted: Mon Nov 21, 2005 2:54 am Subject: Cycling background colors using table_foreach |
In the description for the table_foreach plugin ( http://smarty.incutio.com/?page=table_foreach ) under the input types, you see:
tr_attr = table row attributes (arrays are cycled)
How the hec ... |
Topic: Using Smarty compiled text in a "cached" file |
Jeremy-
Replies: 1
Views: 6577
|
Forum: Smarty Development Posted: Mon May 23, 2005 2:54 am Subject: Using Smarty compiled text in a "cached" file |
Nevermind...I'm just crazy. Can't believe I didn't think of writing a NEW .tpl file and allowing Smarty to compile and use it. Geesh... All fixed now. Haha. |
Topic: Using Smarty compiled text in a "cached" file |
Jeremy-
Replies: 1
Views: 6577
|
Forum: Smarty Development Posted: Sun May 22, 2005 8:21 pm Subject: Using Smarty compiled text in a "cached" file |
I've developed a new cache method for Smarty that allows me to combine all the included templates for a wrapper script and write a new cached file for the wrapper (saves having to cache a template for ... |
Topic: Replace bits of code in template for cache.... |
Jeremy-
Replies: 2
Views: 7109
|
Forum: Smarty Development Posted: Sun May 22, 2005 8:13 pm Subject: Replace bits of code in template for cache.... |
Thanks, I have it working now using a custom function. Once it's more developed, I'll look into making it available to anyone else that needs it. |
Topic: Replace bits of code in template for cache.... |
Jeremy-
Replies: 2
Views: 7109
|
Forum: Smarty Development Posted: Thu May 19, 2005 7:53 am Subject: Replace bits of code in template for cache.... |
Is it possible to replace content on the fly within the Smarty .tpl file, and then have the result cached?
For example, let's say I have my own mini-template engine within the framework I am using ... |
Topic: SmartyPaginate 1.3 released |
Jeremy-
Replies: 21
Views: 39077
|
Forum: Add-ons Posted: Fri Mar 11, 2005 12:19 am Subject: SmartyPaginate 1.3 released |
Can the online doc PLEASE be edited to include a full MySQL query SmartyPaginate method demo? I know it's touched on a little bit, but I'd like to see a full block of code I could copy and paste, then ... |
Topic: I need help adding a macro replacement system into Smarty |
Jeremy-
Replies: 2
Views: 9577
|
Forum: Add-ons Posted: Tue Feb 15, 2005 11:24 pm Subject: I need help adding a macro replacement system into Smarty |
Thank you very much. I actually decided to go with using the fetch() function in Smarty to run the returned string through my macro replacement system. It works great. |
|