php-template list shutting down.
Due to lack of traffic, this list will be shutting down on March 15.
There is a mailing list available for Smarty, the template system
devised by Monte Ohrt and Andrei Zmievski. You can subscribe to that
list by sending a blank email to smarty-subscribe@lists.ispi.net.
|
3/12/2001 10:02:37 PM
|
0
|
php-list-ad...@lists.php.net (PHP List Admin)
|
Announcement: Smarty template engine 1.3.1 released
Homepage:
http://www.phpinsider.com/php/code/Smarty/
ChangeLog for 1.3.1:
- document first, last, index_prev, index_next (Monte)
- added 'first' and 'last' section properties. (Andrei)
- split out compiling code to separate class for faster template
execution
time (Monte)
- fixed a couple of minor PHP warnings (Monte)
- added and documented unregister_modifier() and
unregister_function() API
calls. (Monte)
- added and documented 'fetch' and 'math' functions. (Monte)
- added ability to index looped variables by section properties,
e.g.
|
3/8/2001 1:46:02 AM
|
0
|
mo...@ispi.net (Monte Ohrt)
|
RE: [PHP Template] Templates - Perl to PHP
> -----Original Message-----
> From: Marco Aur�lio [mailto:marco@twd.com.br]
> Sent: Wednesday, March 07, 2001 2:21 AM
> To: php-template@lists.php.net
> Subject: [PHP Template] Templates - Perl to PHP
>
>
> Hello!
>
> Do you know Links 2.0 by Gossamer-Threads ?
>
> Well, this perl script uses a template engine(annexed file) based in a
> modification of CGI::FastTemplate that give a useful flexibility for
> webdesigners. The facilities are that webdesigners can use
> logical functions
{big cut}
Hi!
I think there is a template engine suitable for you. Check Smarty:
h
|
3/7/2001 9:55:58 AM
|
0
|
pr...@engine.com.pl (Przem Kowalczyk)
|
Templates - Perl to PHP
------=_NextPart_000_006A_01C0A68B.B57543C0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Hello!
Do you know Links 2.0 by Gossamer-Threads ?
Well, this perl script uses a template engine(annexed file) based in a
modification of CGI::FastTemplate that give a useful flexibility for
webdesigners. The facilities are that webdesigners can use logical functions
in his tags on templates (actually if, if not, >, <, = =, != ) eg:
{IF IMAGE}
<p>
<img src="{IMAGE}">
<br>
<br>
{ENDIF}
Thus all code between the if statement will be printed
|
3/7/2001 1:20:53 AM
|
0
|
ma...@twd.com.br (=?iso-8859-1?Q?Marco_Aur=E9lio?=)
|
Announcement: Smarty template engine 1.2.1 released
Changes:
- added ability to specify template and compile directory locations
independently.
- misc documentation updates & additions
http://www.phpinsider.com/php/code/Smarty/
|
1/29/2001 5:48:33 PM
|
0
|
mo...@ispi.net (Monte Ohrt)
|
Smarty 1.1.0 released
mostly documentation changes. this is the official stable release.
you can join our mailing list by sending an e-mail to
subscribe-smarty@lists.ispi.net
http://www.phpinsider.com/php/code/Smarty/
|
1/26/2001 1:37:50 AM
|
0
|
mo...@ispi.net (Monte Ohrt)
|
Smarty docs
Udv!
> Release 1.0. Please welcome Smarty to the PHP template engine arena :-)
> Inventors: Monte Ohrt Andrei Zmievski
> http://www.phpinsider.com/php/code/Smarty/
Where can I find the documantation? I am really
courious about that after reading the QUICKSTART!
Thanks,
Goba
__________________________________________________________________
Hungarian PHP Manual :: Hungarian PHP Mirror :: http://hu.php.net/
The starintg-point for Hungarian webmasters :: http://weblabor.hu/
|
1/22/2001 9:27:21 PM
|
0
|
g...@php.net ("Hojtsy Gabor")
|
Announcement: Smarty - the PHP compiling template engine
Release 1.0. Please welcome Smarty to the PHP template engine arena :-)
Inventors:
Monte Ohrt
Andrei Zmievski
http://www.phpinsider.com/php/code/Smarty/
DESCRIPTION:
What is Smarty?
Smarty is a template engine for PHP. One of the unique aspects about
Smarty that sets it apart from other templating solutions is that it
compiles the templates into native php scripts upon the first
execution. After that, it just executes the compiled PHP scripts.
Therefore, there is no costly template file parsing for each
request.
Some of Smarty's features
|
1/19/2001 2:22:54 AM
|
0
|
mo...@ispi.net (Monte Ohrt)
|
test
Does this list really exist?
|
12/27/2000 6:49:59 AM
|
0
|
...@jerviss.org (Kyle Jerviss)
|
Problems with FastTemplate
Hi All,
I'm not sure if this is the correct place to ask this question but I've
just installed FastTemplate on my linux system but when I try to use it in
with a php file I get the following error:
Warning: Invalid content of \{\} in FastTemplate/class.FastTemplate.php3
on line 213
I get this error even when I ran the sample php files that are included with
FastTemplate. Any help on this problem would be appreciated. Many Thanks!
Rishabh
|
12/11/2000 10:59:45 PM
|
0
|
rish...@rishabh.demon.co.uk ("RG")
|
template,inc error
hi ppl,
i dl the version 7.2c of phplib and tried template.inc
but all i get is this:
Fatal error: Call to unsupported or undefined function preg_quote() in
template.inc on line 297
does ne1 knows how to solve that.
many thnx in advance
sascha
|
11/16/2000 9:08:06 PM
|
0
|
s.bi...@aquarius-mdl.de ("sascha biber")
|
Very basic question? Help needed :-(=
Hello,
I have for most of you very small problem.
Let say I have a file callad "rec". The entries in it are looking like
this:
X : Y : Z
-------
11;aa;bb
22;cc;dd
33;ee;ff
I know how to kreate file like this, but
Now I'd like to find the entry let say with $X==22.
and
1. ------I'd like to get the $Y and $Z.
2.------Let say I'd like to change the $Z
3.------When I finish, how can I erase the file
THX
Regards
Janez Vrenjak
--
\\\___///
\\ - - //
( @ @ )
+-----------------------oOO
|
10/25/2000 7:44:10 AM
|
0
|
bo...@news.php.net (Unknown Sender)
|
Loading page in frame automatically
When I load a page in the 'main' frame, I would also like to load another
menu page in the 'menu' frame. Is there anyway to do this automatically?
Thanks
Gary
|
8/15/2000 5:54:47 PM
|
0
|
smit...@exis.net ("Gary Smith")
|
RE: [PHP Template] Archive?
Could we aske the MARC people to retrofit their archive? Another
option I mentioned before would be to ask Tim Perdue (PHPBuilder,
Geocrawler), and I think it is doable to archive from the beginning
the list in his Geocrawler.
Quoting Richard Heyes <php@heyes-computing.net>:
[...snip...]
> I've written a template class of my own which
> has some functionality described in the spec which may be of some
> interest, it's at the url below. AAPOI, it doesn't use any ereg() or
> preg*() functions, so it's kinda fast.
> Take care!
> --
> Richard Heyes
> http://www.heyes-computing.net/s
|
8/3/2000 7:25:56 PM
|
0
|
jcastagne...@zkey.com (Jesus Castagnetto)
|
Archive?
Hi,
Is there an archive for this list anywhere?
Thx.
--
Richard Heyes
http://www.heyes-computing.net/scripts/
Plain text email only please!
|
8/3/2000 3:08:01 PM
|
0
|
...@heyes-computing.net ("Richard Heyes")
|
CachedTemplate class
Jesus M. Castagnetto has written a general CachedTemplate class which is
compatible with PHPLIB Template system. (The CachedTemplate class is also
suited for many other php template systems: Fastemplate, Xtemplates,
Quicktemplates,....). The benchmarks are impressive and it is very easy to
implement.
Class is available for download (+documentation):
http://www.scripps.edu/~jesusmc/cachedtpl/CachedTemplate.html
Claude Philipona
http://www.skirando.ch/
|
7/17/2000 9:58:17 AM
|
0
|
claude.philip...@epfl.ch ("Claude Philipona")
|
FW: Add php-template to MARC (fwd)
------_=_NextPart_000_01BFC103.FCF07846
Content-Type: text/plain;
charset="iso-8859-1"
> -----Original Message-----
> From: Hank Leininger [mailto:hlein@progressive-comp.com]
> Sent: Thursday, May 18, 2000 9:57 PM
> To: Marten Gustafson
> Cc: Lester Hightower
> Subject: Re: Add php-template to MARC (fwd)
>
>Sure. I've just added it -- it'll appear once some messages come
>through.
<<message.txt>>
------_=_NextPart_000_01BFC103.FCF07846
Content-Type: text/plain;
name="message.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename=
|
5/18/2000 8:02:24 PM
|
0
|
mar...@jerbro.se (=?iso-8859-1?Q?=22Gustafson=2C_M=E5rten=22?=)
|
RE: [PHP Template] Hello?
I just posted a request to MARC to include this list.
http://marc.theaimsgroup.com
> -----Original Message-----
> From: Monte Ohrt [mailto:monte@ispi.net]
> Sent: Thursday, May 18, 2000 9:37 PM
> To: Gustafson@ispi.net; M=E5rten
> Cc: 'php-template@lists.php.net'
> Subject: Re: [PHP Template] Hello?
>=20
>=20
> Hmm.. is there an archive of this list available? :-)
>=20
> "Gustafson, M=E5rten" wrote:
> >=20
> > I read the docs at http://bonsai.php.net/~andrei/ and it looks =
good.
> > I=B4m not sure if I think all the features described in the=20
> docs are needed.
> > It=
|
5/18/2000 7:41:53 PM
|
0
|
mar...@jerbro.se (=?iso-8859-1?Q?=22Gustafson=2C_M=E5rten=22?=)
|
RE: [PHP Template] Hello?
I read the docs at http://bonsai.php.net/~andrei/ and it looks good.
I=B4m not sure if I think all the features described in the docs are =
needed.
It=B4s all very fancy but wouldn=B4t it be better to start by just =
"migrating"
FastTemplate, as a start.
And are if-elseif-else control statements really needed? I thought this
project was an enhancement of FastTemplate, and FastTemplate=B4s =
strength
lies, according to me, in that the HTML people never have to see any =
cryptic
"if(a) b else c" stuff.
Since I=B4m not at all in to C could someone giva a, rough, performance
estimat
|
5/18/2000 7:36:01 PM
|
0
|
mar...@jerbro.se (=?iso-8859-1?Q?=22Gustafson=2C_M=E5rten=22?=)
|
Hello?
What=B4s the status of this project/list?
--Marten
|
5/18/2000 7:18:27 PM
|
0
|
mar...@jerbro.se (=?iso-8859-1?Q?=22Gustafson=2C_M=E5rten=22?=)
|
What's happening??
Is this template thing still under development or..? Hope it is, because I
think it sounds really promising and I
hope it will be really fast too. :o)
/Andreas
|
5/11/2000 2:34:55 PM
|
0
|
andreas.hein...@itworkshop.se (Andreas Heintze)
|
template system requirements
Hello.
Has there been an attempt to formalize the requirements for the proposed
template system, either prior to drafting the specs or since?
michael
|
4/10/2000 3:49:45 AM
|
0
|
mich...@newtopia.com (Michael Pohl)
|
Archive
hi,
If archive of this mailing list is available somewhere ?
Regards,
KIR
|
4/7/2000 7:40:10 AM
|
0
|
...@astrive.ru (Kirill Maximov)
|
Includes in templates
Hi,
I only recently subscribed to this list, so my apologies if this has
already been discussed. As a lot of people I have played with various
forms of template solutions for php. I have often wished I could do the
following in a template (pseudo template syntax follows):
<h2>Example news page<h2>
{subtemplate niceheader.tpl ('headline' => 'Business news')}
<hr>
{subtemplate niceheader.tpl ('headline' => 'World news')}
where niceheader.tpl is a template which contains '{$headline}'
somewhere.
That is, when in 'designer-mode' I want to use the template conce
|
3/28/2000 9:21:25 PM
|
0
|
pa...@pandr.dk (Peter Andreasen)
|
Re: [PHP3] template engine example document
Hi, Nick.
> I didn't like the difference between $ and @ though, they could be the
> same
> thing really, like:
> {section}
> <td>$articleTitle</td>
> <td>$articleDate</td>
> {/section}
>
> How would it be differently used.
This is how we tried to do it originally. One of the problems with this
approach is that the engine would need to detect at run-time which
variables have multiple values so that it knows that it needs to loop
through them instead of simply printing out the value. Anything done at
run-time is slower, of course. Another reason we thought @ would be
|
3/25/2000 4:51:29 PM
|
0
|
and...@ispi.net (Andrei Zmievski)
|
Re: [PHP3] template engine example document
> Not at all. There is no limit to how many HTML pages can call the same
> logic block. If the logic _features_ change, then in both of our
> methods, the programmers have to rework the pages. I'll give you an
> example: The server- wide credit card validation logic is one, and only
> one, file. It never has to be duplicated, never seen by the website
> designers. The most a designer has to do is add an hidden form variable,
> or build an HREF on a page, (both are things they're fairly
> knowledgeable about) and on the next page, know the syntax for an
> include, and decide where to pu
|
3/25/2000 4:36:38 PM
|
0
|
and...@ispi.net (Andrei Zmievski)
|
Re: [PHP Template] Re: [PHP3] Re: [PHP Template] Template Discussion
>From: Kristian Koehntopp <kk@netuse.de>
>Date: Thu, 23 Mar 2000 22:57:10 +0100
>
>Thomas Jespersen wrote:
> > I have not been following this "template" discussion before, but I
> > just started looking at it today so perhaps I am wrong here, but:
> >
> > Are the templates you want to make not more or less the same as XSL?
> > http://www.w3.org/Style/XSL/
> >
> > I would certainly love to see a XSL Processor in PHP3.
>
>XSL sucks raw eggs. I have no need for sed with syntactic sugar
>or sendmail style pattern matching when I can have the full
>power of PHP. I want to parse the
|
3/23/2000 10:19:12 PM
|
0
|
jcastagne...@hotmail.com ("J. M. Castagnetto")
|
Re: [PHP Template] Template Discussion
I have not been following this "template" discussion before, but I
just started looking at it today so perhaps I am wrong here, but:
Are the templates you want to make not more or less the same as XSL?
http://www.w3.org/Style/XSL/
I would certainly love to see a XSL Processor in PHP3.
|
3/23/2000 6:45:33 PM
|
0
|
tho...@daimi.au.dk (Thomas Jespersen)
|
template engine example document
Hello,
The template engine examples document is ready. It is available in .pdf
and .doc formats.
Hopefully this will provide a better understanding about the design, and
spark some more discussion about how we can make this work for everyone.
http://www.ispi.net/php/PHP_Template_Engine.pdf
http://www.ispi.net/php/PHP_Template_Engine.doc
Monte
|
3/23/2000 3:37:43 PM
|
0
|
mo...@ispi.net (Monte Ohrt)
|