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 20 matches
Smarty Forum Index
Author Message
  Topic: http://www.southomes.com/
demental

Replies: 2
Views: 18967

PostForum: 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: 36022

PostForum: 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: 14808

PostForum: 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: 14918

PostForum: 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: 14808

PostForum: 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: 14808

PostForum: 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: 14808

PostForum: 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: 11166

PostForum: 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: 15956

PostForum: 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: 11166

PostForum: 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: 25303

PostForum: 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: 36022

PostForum: 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: 25599

PostForum: 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: 5729

PostForum: 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: 5544

PostForum: 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.
...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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