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 10 matches
Smarty Forum Index
Author Message
  Topic: Interface proposal for template engine
jausions

Replies: 0
Views: 7375

PostForum: Smarty Development   Posted: Wed Jun 09, 2004 10:13 pm   Subject: Interface proposal for template engine
Hi,

I'm trying to defining a common minimal template engine API for content-generating packages written in PHP.

Please have a look at http://www.11abacus.com/dev/pear/HTML_Template_Interface.php ...
  Topic: Stupid suggestion for use_sub_dirs ;-)
jausions

Replies: 2
Views: 9978

PostForum: Smarty Development   Posted: Thu May 13, 2004 12:57 pm   Subject: Doing that already...
I am doing that already... It would be smarter for Smarty to do it by default...


class mySmarty extends Smarty {
...
mySmarty() {
$this->use_sub_dirs = (bool ...
  Topic: Problem with ".." in template_c absolute path
jausions

Replies: 1
Views: 6590

PostForum: Bugs   Posted: Thu May 13, 2004 12:33 pm   Subject: Problem with ".." in template_c absolute path
Hi,

Here's a diff file to fix the problem of having ".." in a path to templates_c/ dir

If your path is something like this:

/root/server/web/site/public/../templates_c

smarty_core_create_ ...
  Topic: Stupid suggestion for use_sub_dirs ;-)
jausions

Replies: 2
Views: 9978

PostForum: Smarty Development   Posted: Wed May 12, 2004 10:12 pm   Subject: Stupid suggestion for use_sub_dirs ;-)
Hi,

With the latest release of Smarty (2.6.2) the default behavior of $use_sub_dirs changed due to people complaining with safe mode...

Now, why not make the default $use_sub_dirs dependent upon ...
  Topic: Reference of Smarty in PEAR
jausions

Replies: 9
Views: 17989

PostForum: Smarty Development   Posted: Tue May 11, 2004 3:48 pm   Subject: In the spirit of...
Hi,

Good point about PEAR not being the only code repository, but IMHO it almost should be thank to attempted quality control.

There are a lot of so call web "masters" around that don't know any ...
  Topic: Reference of Smarty in PEAR
jausions

Replies: 9
Views: 17989

PostForum: Smarty Development   Posted: Fri May 07, 2004 6:57 pm   Subject: er... yeah :-)
Hi,

My point was not about Smarty being part of PEAR but being referenced in it. Smarty is a template engine, and I find that disturbing that there is no reference of it the the PEAR HTML Template ...
  Topic: Reference of Smarty in PEAR
jausions

Replies: 9
Views: 17989

PostForum: Smarty Development   Posted: Tue May 04, 2004 8:23 pm   Subject: Reference of Smarty in PEAR
Just a quick note: As Smarty is an official PHP.net project, I'm wondering why there is no reference of it on the PEAR.php.net site.

I know the package naming convention doesn't match Smarty's but ...
  Topic: here's a 10-digit phone number formatting plugin
jausions

Replies: 8
Views: 57138

PostForum: Plugins   Posted: Sat Mar 20, 2004 4:39 am   Subject: Check out the existing phone_number() modifier plugin
Hi David,

Just to let you know that I've already written such a modifier: please see thread: [url=http://www.phpinsider.com/smarty-forum/viewtopic.php?t=1364]http://www.phpinsider.com/smarty-forum/ ...
  Topic: New modifier: phone_format - contribution requested
jausions

Replies: 3
Views: 16336

PostForum: Plugins   Posted: Mon Mar 08, 2004 3:52 pm   Subject: phone_format modifier

"I'd happily add South African format to it if the plugin is still available"



Yes formfunction, please do so, and re-add it to the WiKi when you're finished.

Thanks,

-Philippe
  Topic: New modifier: phone_format - contribution requested
jausions

Replies: 3
Views: 16336

PostForum: Plugins   Posted: Thu Nov 06, 2003 2:31 am   Subject: New modifier: phone_format - contribution requested
Hi,

I've just added a phone_format modifier in Smarty's WiKi plugin repository.

You may have guessed the modifier formats phone numbers. As of this first v0.1 release, US, Canada and France phon ...
 
Page 1 of 1
All times are GMT
Jump to:  


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