Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 51 matches
Smarty Forum Index
Author Message
  Topic: Smart Framework
atu

Replies: 4
Views: 18554

PostForum: Frameworks   Posted: Tue Jun 08, 2004 11:46 am   Subject: Smart Framework
Would be nice if you could elaborate on how the event-distributor and event-handler works.

There is a doc about how the event mechanism is working in the latest release. Hope it is usefull .
http: ...
  Topic: Smart Framework
atu

Replies: 4
Views: 18554

PostForum: Frameworks   Posted: Mon Jun 07, 2004 5:05 pm   Subject: Smart Framework
Maybe you could give us some brief instructions and a list of features here in the forum?

There is no yet any real working module available. Module handeling is the only job (feature) what the syst ...
  Topic: Smart Framework
atu

Replies: 4
Views: 18554

PostForum: Frameworks   Posted: Mon Jun 07, 2004 3:12 pm   Subject: Smart Framework
Hi,
Based on the discussion taken here http://www.phpinsider.com/smarty-forum/viewtopic.php?t=336 I have a proposition of a small framework based on Smarty. You can download the source code here htt ...
  Topic: problème de formulaire, variables $_POST
atu

Replies: 1
Views: 8444

PostForum: Language: French   Posted: Wed May 26, 2004 2:58 pm   Subject: problème de formulaire, variables $_POST

<input name="searchAlbum" type="text" value="{$recherche|escape:"html"}">
  Topic: cvs version of smarty
atu

Replies: 1
Views: 6373

PostForum: Smarty Development   Posted: Wed May 19, 2004 12:33 pm   Subject: cvs version of smarty
Hi,
I have two questions on the content of the cvs smarty version.

Do you plan to include the whole doc folder and the test unit in a next release?
The doc folder is becoming very huge. It would ...
  Topic: smarty public class vars
atu

Replies: 1
Views: 5853

PostForum: Smarty Development   Posted: Thu May 13, 2004 3:28 pm   Subject: smarty public class vars
Hi,
When writing custom plugins it is some times necessary to access variables of the smarty class from within templates.
Example:
{php}
$x = $this->_tpl_vars['xyz'];
{/php}

In the scope of ...
  Topic: date_format
atu

Replies: 1
Views: 5324

PostForum: Bugs   Posted: Sat Apr 17, 2004 10:35 am   Subject: date_format
Hi,

$smarty->assign('d','2004-01-00');

{$d|date_format:"%Y"}-{$d|date_format:"%m"}

Show:
2003-12


what is going wrong?
  Topic: need help with some sort of strip_bbcode modifier
atu

Replies: 2
Views: 7635

PostForum: Plugins   Posted: Tue Apr 06, 2004 10:48 am   Subject: need help with some sort of strip_bbcode modifier
Try this.


preg_replace("/\[|\]|\[[^\]]*\]/","",$string);
  Topic: shared.make_timestamp.php and date_format modifier
atu

Replies: 9
Views: 16545

PostForum: Bugs   Posted: Thu Mar 18, 2004 4:22 pm   Subject: shared.make_timestamp.php and date_format modifier
Have the same problem in php 4.3.4.
A mysql UNIX_TIMESTAMP(mysql_timestamp) does the job.
  Topic: Thoughts on Smarty
atu

Replies: 4
Views: 21038

PostForum: Frameworks   Posted: Wed Mar 17, 2004 8:56 am   Subject: Thoughts on Smarty
Hi again,
I forgot to say that the method I use to include data in templates is only on solution between many others. May it isn’t the best one but it works. This method reduces the time between proj ...
  Topic: Thoughts on Smarty
atu

Replies: 4
Views: 21038

PostForum: Frameworks   Posted: Tue Mar 16, 2004 10:26 pm   Subject: Thoughts on Smarty
Hi Boots,


For example, if two different modules are accessed and manipulated by a template, then the essential outcome is a new process that lies outside of your delivered application.


Hmm, ...
  Topic: Thoughts on Smarty
atu

Replies: 4
Views: 21038

PostForum: Frameworks   Posted: Tue Mar 16, 2004 1:23 pm   Subject: Thoughts on Smarty
With OOP programming we can write reusable code and we can have a well-structured application api. But there are also limits. In a shared environment as on a server platform it isn’t possible to fores ...
  Topic: Calendar plugin
atu

Replies: 2
Views: 7769

PostForum: Bugs   Posted: Thu Mar 11, 2004 1:01 pm   Subject: Calendar plugin
Ok. Here what I found my self. The default template which comes with the calendar plugin contains a day format which isnt supported on Windows:
{$date|date_format:"%e"}

You have to change this by: ...
  Topic: Calendar plugin
atu

Replies: 2
Views: 7769

PostForum: Bugs   Posted: Thu Mar 11, 2004 12:28 pm   Subject: Calendar plugin
Hi,
I installed the calendar plugin of Michael Yoon. It works fine under Linux but on Windows the calendar days disapear.

Any idea?
  Topic: popup
atu

Replies: 3
Views: 9174

PostForum: Plugins   Posted: Wed Mar 10, 2004 6:44 pm   Subject: popup
Still, it is licenced in a way that allows interested parties in keeping it up-to-date

Yes, but there is nobody else than Erik who work on this library. Last update 2002-11-01. The same problem wit ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT
Jump to:  


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