Author |
Message |
Topic: insert with dynamic function name |
stot
Replies: 2
Views: 5662
|
Forum: General Posted: Mon Aug 08, 2011 10:52 pm Subject: insert with dynamic function name |
thanks, that was exactly what I was looking for. |
Topic: insert with dynamic function name |
stot
Replies: 2
Views: 5662
|
Forum: General Posted: Mon Aug 08, 2011 3:55 pm Subject: insert with dynamic function name |
hi,
Is there any way to provide dynamic callbacks into the template code? I want to provide generic widget templates which can be customized by callbacks to populate their content. Lets say this ap ... |
Topic: widget hub |
stot
Replies: 0
Views: 18472
|
Forum: Showcase Posted: Mon Jun 20, 2011 1:52 pm Subject: widget hub |
I just wanted to say thank you. We are very pleased we discovered smarty a long time ago. Before we tried different php template engines but they were slow or there were some features missing.
Usi ... |
Topic: www.1001-rezept.de |
stot
Replies: 1
Views: 23635
|
Forum: Showcase Posted: Mon Jul 26, 2010 12:06 am Subject: www.1001-rezept.de |
For all of those you who like recipes - this smarty powered site may have some useful information:
http://www.1001-rezept.de
It still uses smarty 2, but as soon as smarty 3 is stable I will upgr ... |
Topic: tinymce |
stot
Replies: 2
Views: 5234
|
Forum: General Posted: Thu Mar 25, 2010 1:57 am Subject: tinymce |
Hi all,
I recently included tinymce into my project and tried to edit smarty templates within an browser editor. Nearly everything worked well except the access to objects like {$myObject->metho ... |
Topic: object->method as insert function ? |
stot
Replies: 0
Views: 3433
|
Forum: General Posted: Sun Feb 14, 2010 11:43 am Subject: object->method as insert function ? |
Hello all,
I would like to call an object method as the insert_name parameter in insert tag. something like this
{insert name=$object->method() }
I hope this is still possible in 2.6.xxx s ... |
Topic: Using objects in {insert} function |
stot
Replies: 3
Views: 8545
|
Forum: General Posted: Thu Feb 11, 2010 9:49 pm Subject: Using objects in {insert} function |
is the $object->method() syntax still working for insert in the latest 2.6xxx smarty versions? Im getting an error:
Fatal error: Smarty error: [in nodeSideMenu.html line 34]: ... |
Topic: żIs smarty slow? Not at all!! |
stot
Replies: 6
Views: 96201
|
Forum: Testimonials Posted: Wed Jan 27, 2010 8:05 pm Subject: Re: żIs smarty slow? Not at all!! |
Rendering 1000 pages
Old version average time 3.4 secs
New version Average time 0.36 secs
According to my experience you can easily decrease your new average time by a factor of 5 with ... |
Topic: SmartyPaginate 1.6 released |
stot
Replies: 56
Views: 437417
|
Forum: Add-ons Posted: Sun Dec 06, 2009 10:43 pm Subject: performance measurements |
Hi Mohrt,
thanks again for your really quick reply.
I did some performance measurements (using apache ab) and compared requests/s with pagination of 30 hits to 30000 hits. The only difference in ... |
Topic: SmartyPaginate 1.6 released |
stot
Replies: 56
Views: 437417
|
Forum: Add-ons Posted: Sun Dec 06, 2009 1:27 am Subject: pagination internal data structures |
You should only pass the data that is for display (the current page). Maybe I don't understand what you're trying to do, but the whole point of the pagination and the SQL LIMIT is for getting and disp ... |
Topic: SmartyPaginate 1.6 released |
stot
Replies: 56
Views: 437417
|
Forum: Add-ons Posted: Sat Dec 05, 2009 11:40 pm Subject: internal pagination data is growing |
2) No, the examples are just using arrays as the source data. You would normally be using SQL with query limits set.
Hi Mohrt,
rather than the sql result, I meant the pagination array that i ... |
Topic: date modefier like in youtube, e.g. '1 hour ago' |
stot
Replies: 5
Views: 22988
|
Forum: Plugins Posted: Sun Nov 15, 2009 10:08 am Subject: localization |
ah and the timestrings array should be localized into your language of course. The code at the top is displaying german.
best regards
Stephan |
Topic: date modefier like in youtube, e.g. '1 hour ago' |
stot
Replies: 5
Views: 22988
|
Forum: Plugins Posted: Sun Nov 15, 2009 10:03 am Subject: Re: trouble Implementing... Some Help Please? |
I added some stuff, the new TIMESTAMP displayed perfectly.
eg; each row in dt_added
2009-09-26 19:50:19
2009-09-26 19:50:32
2009-09-26 19:50:35
Now when I call it from my template with: {$dt ... |
Topic: date modefier like in youtube, e.g. '1 hour ago' |
stot
Replies: 5
Views: 22988
|
Forum: Plugins Posted: Tue Jun 30, 2009 12:36 am Subject: date modefier like in youtube, e.g. '1 hour ago' |
I searched out for something that does this date formatting stuff (like at youtube comments) and convert a timestamp or datetime into spoken language. I could not find anything that satisfied me, so I ... |
Topic: SmartyPaginate 1.6 released |
stot
Replies: 56
Views: 437417
|
Forum: Add-ons Posted: Sun Jun 21, 2009 4:54 pm Subject: performance |
hi monte,
first: this plugin is superb!! thanks.
I have two questions:
1.) is there a way to support search engine friendly urls? e.g.: mypage/search/10, where 10 means the next field.
2.) I ... |
|