Author |
Message |
Topic: http://www.southomes.com/ |
demental
Replies: 2
Views: 19039
|
Forum: Showcase Posted: Wed Oct 08, 2008 6:40 am Subject: http://www.southomes.com/ |
southomes.com has evolved... still using smarty.
Now available in four languages and more ajaxified. |
Topic: http://www.sat2way.com/ |
demental
Replies: 4
Views: 36333
|
Forum: Showcase Posted: Wed Oct 08, 2008 6:39 am Subject: http://www.sat2way.com/ |
This site don't use smarty anymore... Now its template engine is php-based ( quite like savant3 ). Also I've moved the caching system at the controller level. |
Topic: >php 5.2.2, smarty->display() fails silently... |
demental
Replies: 7
Views: 14869
|
Forum: Installation and Setup Posted: Tue Jun 05, 2007 7:52 am Subject: >php 5.2.2, smarty->display() fails silently... |
Hi again.
I've not seen any abnormal information in my apache log, and would like to reproduce the bug locally but my local PHP version is 5.1.4, as I use MAMP which has not released a 5.2.2 package. ... |
Topic: comma seperator in match function |
demental
Replies: 4
Views: 14970
|
Forum: Smarty Development Posted: Mon Jun 04, 2007 10:25 am Subject: comma seperator in match function |
Hi
I'm not sur it is possible tu use a modifier chained with the math function.
At least you could register a block function to format the output and use it like this :
{number_format} ... |
Topic: >php 5.2.2, smarty->display() fails silently... |
demental
Replies: 7
Views: 14869
|
Forum: Installation and Setup Posted: Sun Jun 03, 2007 6:06 am Subject: >php 5.2.2, smarty->display() fails silently... |
I've tried E_ALL as error_reporting, and set as well display_errors to 1.
I've set_error_handler with my own handler with some ob_clean, just in case I had forgotten somewhere that I was using some o ... |
Topic: >php 5.2.2, smarty->display() fails silently... |
demental
Replies: 7
Views: 14869
|
Forum: Installation and Setup Posted: Fri Jun 01, 2007 8:55 pm Subject: >php 5.2.2, smarty->display() fails silently... |
Yes I did, both cache and compile cleared.
I checked too that I had the latest release.
I really don't know how to find the way to, firstable find what's going wrong, and then fix it.
Anyway for no ... |
Topic: >php 5.2.2, smarty->display() fails silently... |
demental
Replies: 7
Views: 14869
|
Forum: Installation and Setup Posted: Fri Jun 01, 2007 6:58 pm Subject: >php 5.2.2, smarty->display() fails silently... |
since my web host upgraded fro php 5.1.6 to php 5.2.2 $smarty->display($template,$cacheID) fails while displaying the result, in the middle of a {foreach...} loop
I've tried many ways to show up a ... |
Topic: plugin exercise. |
demental
Replies: 3
Views: 11213
|
Forum: Plugins Posted: Thu Mar 23, 2006 8:16 pm Subject: plugin exercise. |
At your convenience. My own way would be to make a block function, so that I can control the visual aspect of the list using html, not an eventually endless list of parameters.
Sounds like both metho ... |
Topic: Help!! Transferring to Smarty very Newbie question |
demental
Replies: 5
Views: 18488
|
Forum: General Posted: Thu Mar 23, 2006 8:08 pm Subject: Re: Help!! Transferring to Smarty very Newbie question |
.....
.....
$menu=array();
$menu
Should work (not sure for append as I don't use it often)
index.tpl
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN&q ... |
Topic: plugin exercise. |
demental
Replies: 3
Views: 11213
|
Forum: Plugins Posted: Thu Mar 23, 2006 7:06 pm Subject: plugin exercise. |
You would like to get a syntax like this I guess :
{rssfeed from="http://www.domain.com/rss.php" item=i}
<li><a href="{$i.link}">{$i.ti ... |
Topic: Smartyfying pear ... or pearifying smarty ? |
demental
Replies: 1
Views: 25536
|
Forum: Article Discussions Posted: Tue Mar 21, 2006 3:14 pm Subject: Smartyfying pear ... or pearifying smarty ? |
Now in english too : http://demental.info/blog/index.php/2005/12/02/34-smartyfying-pear |
Topic: http://www.sat2way.com/ |
demental
Replies: 4
Views: 36333
|
Forum: Showcase Posted: Thu Mar 09, 2006 10:28 am Subject: http://www.sat2way.com/ |
Hi !
This is the new site I created for my ISP :
http://www.sat2way.com/
(Available in french and english)
It's the first site as well where I use :
- cache
- a DB_DataObject smarty block
- ... |
Topic: if exist ou empty ?? |
demental
Replies: 3
Views: 25659
|
Forum: Language: French Posted: Thu Feb 09, 2006 6:47 pm Subject: if exist ou empty ?? |
{if $mavariable}
faire un truc si mavariable est initialisée (ou pas false)
{/if}
ou
{if $mavariable ne ''}
faire un truc si mavariable est initiali ... |
Topic: OOP/Smarty design suggestions |
demental
Replies: 1
Views: 5764
|
Forum: General Posted: Sat Feb 04, 2006 9:59 am Subject: OOP/Smarty design suggestions |
Your description is quite vague, anyway I would advise you to make kind of an abstract class to handle common tasks, then make two subclasses for each guestbook. If you want some efficient database ha ... |
Topic: reset an array after a foreach |
demental
Replies: 1
Views: 5567
|
Forum: General Posted: Fri Feb 03, 2006 12:28 pm Subject: reset an array after a foreach |
Hi everybody.
I have an array assigned to smarty, that I want to display twice on the same page, but in a different way (It's a FAQ page).
For now I have to assign the array plus a copy of it.
... |
|