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 14 matches
Smarty Forum Index
Author Message
  Topic: Smarty 3.0: initial discussion
Aliba

Replies: 172
Views: 536021

PostForum: Smarty Development   Posted: Mon Oct 23, 2006 6:36 am   Subject: Smarty 3.0: initial discussion
Optimize to work efficiently with APC.
  Topic: wiki has been hacked
Aliba

Replies: 8
Views: 10427

PostForum: General   Posted: Mon Oct 23, 2006 6:21 am   Subject: wiki has been hacked
I agree with the thread being misleading. However, this does kinda underline why wiki's can be useless. I still prefer something user contributed but which can be regulated or at least verifiable.
  Topic: White spaces within array keys?
Aliba

Replies: 8
Views: 26755

PostForum: General   Posted: Thu Feb 24, 2005 2:49 am   Subject: White spaces within array keys?
For some reason PHP allows white space in an array key. Typically you would not see (nor use) this elsewhere.

Depending on why you may need this functionality you may want use underscores instead ...
  Topic: reading config files from db
Aliba

Replies: 2
Views: 4854

PostForum: General   Posted: Wed Feb 23, 2005 6:58 pm   Subject: reading config files from db
You could always continue to use the conig files as they are, but store the info in the database if that is what you are comfortable with. Then when someone changes a config field in your admin pages ...
  Topic: Is Smarty a suitable option for a forum script?
Aliba

Replies: 4
Views: 6929

PostForum: General   Posted: Wed Feb 23, 2005 3:42 am   Subject: Is Smarty a suitable option for a forum script?
Again I agree, a forum is a very good use for Smarty. Anyone who changes the look in the templates never has to see (or break) your php code. Very good for redistributable products. One thing I hat ...
  Topic: Question about "insert tag"
Aliba

Replies: 10
Views: 10286

PostForum: General   Posted: Thu Feb 17, 2005 4:56 am   Subject: Question about "insert tag"
question: How does the script know when a news item is added? (for instance, an administrator adds a new item from a cms)

In the admin page that does the insert or update is where you write the ca ...
  Topic: Performance Question
Aliba

Replies: 5
Views: 8041

PostForum: General   Posted: Thu Feb 17, 2005 4:43 am   Subject: Performance Question
I too have been using phpBB as pretty much a standard just because it is the most visible when looking for a project. It's been about 2 years since I've integrated it into a project for someone else, ...
  Topic: Performance Question
Aliba

Replies: 5
Views: 8041

PostForum: General   Posted: Thu Feb 17, 2005 12:28 am   Subject: Performance Question
Actually, a good portion of most any forum can be cached to a degree. Unless that forum is getting several posts every minute than I would say caching is still a good idea. I'd love to see phpbb bas ...
  Topic: Performance Question
Aliba

Replies: 5
Views: 8041

PostForum: General   Posted: Wed Feb 16, 2005 10:00 pm   Subject: Performance Question
If you use caching you will see a performance increase, not decrease. I wrote an entire site in smarty recently. It included typical 'category-subcategory-item' style for faq, store, fanmail, and ne ...
  Topic: dynamic block, it's all about the dynamic block
Aliba

Replies: 1
Views: 4224

PostForum: General   Posted: Tue Feb 15, 2005 10:11 pm   Subject: dynamic block, it's all about the dynamic block
Hey guys,

I've seen this asked a few times in the past year but I haven't found the right answer to my problem in the archives.

I'm working on my own project which uses the cache to show user pr ...
  Topic: {include} and Array[]
Aliba

Replies: 10
Views: 16003

PostForum: General   Posted: Sun Jun 01, 2003 4:29 am   Subject: {include} and Array[]
aha, cool. Thanks for the answers guys, that's one that was killing me for a while.

I'll put the upgrade to 2.5 on the priority list.
  Topic: {include} and Array[]
Aliba

Replies: 10
Views: 16003

PostForum: General   Posted: Sat May 31, 2003 9:28 pm   Subject: {include} and Array[]
Believe it or not, that didn't work either. Although backticks would seem to make sense. It gives the same output with the backticks around it, indicating that it still recognizes $News as an Array, ...
  Topic: {include} and Array[]
Aliba

Replies: 10
Views: 16003

PostForum: General   Posted: Sat May 31, 2003 4:52 pm   Subject: {include} and Array[]
That doesn't work either.....not in the context of quotes in an include anyway.

I've tried everything I could think of in both a smarty and php context and no go. It doesn't seem to want to access ...
  Topic: {include} and Array[]
Aliba

Replies: 10
Views: 16003

PostForum: General   Posted: Sat May 31, 2003 4:33 pm   Subject: {include} and Array[]
I have a problem. This worked once (in testing I belive) but once I upgraded Smarty and uploaded to the host it quit working.

I have a file called header.tpl.html that contains this line (among ot ...
 
Page 1 of 1
All times are GMT
Jump to:  


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