Author |
Message |
Topic: Using instanceof in a template? |
Fenn
Replies: 3
Views: 11811
|
Forum: General Posted: Fri Aug 27, 2010 8:10 am Subject: Using instanceof in a template? |
Thanks for the tip, a quick test of it shows it seems to work. However I thought is_a was depreciated? |
Topic: Using instanceof in a template? |
Fenn
Replies: 3
Views: 11811
|
Forum: General Posted: Thu Aug 26, 2010 8:48 am Subject: Using instanceof in a template? |
Is it possible to use the instanceof operator from within a template?
I have an OO CMS that has various base and derived classes, for example a base CmsDir class with a derived CmsSite class (for ... |
Topic: Smarty 3.0 Alpha 1: Proof of Concept |
Fenn
Replies: 93
Views: 249558
|
Forum: Smarty 3 Posted: Fri Oct 24, 2008 8:47 am Subject: Smarty 3.0 Alpha 1: Proof of Concept |
I just checked out the latest Smarty 3a SVN. Did you get rid of the idea of multiple Smarty instances? Was there a reason for that? I kinda liked the idea, however, I can think of one or two problems ... |
Topic: Include() template sections multiple times performance? |
Fenn
Replies: 7
Views: 13048
|
Forum: General Posted: Sat Feb 19, 2005 3:07 pm Subject: Include() template sections multiple times performance? |
I'm talking about reusing a subtemplate within a main template multiple times, as with the examples I gave in the first post. For example, including a subtemplate in a foreach loop. |
Topic: Include() template sections multiple times performance? |
Fenn
Replies: 7
Views: 13048
|
Forum: General Posted: Fri Feb 18, 2005 9:46 pm Subject: Include() template sections multiple times performance? |
OK, then how about cacheing the result of eval() and outputting that? |
Topic: Include() template sections multiple times performance? |
Fenn
Replies: 7
Views: 13048
|
Forum: General Posted: Thu Feb 17, 2005 10:55 pm Subject: Include() template sections multiple times performance? |
So I'm assuming the mechanism used in Smarty compiled templates is just a simple include ($filename) call, right?
Wouldn't something like this be better?
if (!isset ($tplcache [$ ... |
Topic: Include() template sections multiple times performance? |
Fenn
Replies: 7
Views: 13048
|
Forum: General Posted: Mon Feb 14, 2005 2:24 pm Subject: Include() template sections multiple times performance? |
I have been wondering thsi for a while. Say I had a page and wanted some navigation links at the top and the bottom. I can put these links directly into the markup of course, but to me it would make ... |
Topic: Operaters |
Fenn
Replies: 5
Views: 14428
|
Forum: Feature Requests Posted: Wed Feb 25, 2004 9:34 pm Subject: Operaters |
Why is it on the page for if but not the page for math? That's going to lead to frustration, as I can attest to. People wanting help over what operaters are legal in math are not going to go to the p ... |
Topic: Operaters |
Fenn
Replies: 5
Views: 14428
|
Forum: Feature Requests Posted: Wed Feb 25, 2004 6:25 pm Subject: Operaters |
OK, then I change my feature request to have that stuff IN THE DOCUMENTATION! The page on Math just says "you can use math with variables" and doesn't mention that. |
Topic: Operaters |
Fenn
Replies: 5
Views: 14428
|
Forum: Feature Requests Posted: Wed Feb 25, 2004 5:19 pm Subject: Operaters |
While designing an updated template I ran into some minor snags caused by the fact that the comparision operaters < and > are the same as the HTML tag delimiters. I think maybe it would be an i ... |
Topic: iStrip webcomic system and Offline comic |
Fenn
Replies: 0
Views: 8985
|
Forum: Showcase Posted: Wed May 28, 2003 10:16 pm Subject: iStrip webcomic system and Offline comic |
When I wanted to start a web comic, the first thing I did was trawl Sourceforge, Hotscripts and a few other places looking for a web comic publishing package. Nothing I found was much good in my opin ... |
|