On Thu, 2009-03-19 at 22:54 -0400, Bob McConnell wrote:
From: Robert Cummings
On Thu, 2009-03-19 at 12:14 -0400, Bob McConnell wrote:
From: Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com
wrote:
From: Virgilio Quilario
Most discussion clipped for
From: Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can
understand
how to use it?
I have also looked at the Smarty site
Hi Virgil,
After your last post here, I looked at your site, then the Smarty site.
That was what triggered this question. Templates are a black art to me.
I don't even know where to begin to understand them. Every reference I
have looked at so far assumes that I already understand the MVC
That looks nice, but how do I get to the point where I can understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/, but
their documents assume significant experience in building and using
templates.
Where can I find guidance or tutorials on how to do all of
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/, but
their documents assume significant experience in building and using
templates.
Where can I find guidance or
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/, but
their documents assume significant
McConnell [mailto:r...@cbord.com]
Sent: Thursday, March 19, 2009 11:06 AM
To: Virgilio Quilario
Cc: php-general@lists.php.net
Subject: RE: [PHP] Smarty Tips and Techniques
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can understand
how to use it?
I have also
From: Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can
understand
how to use it?
I have also looked at the Smarty site
From: Shawn McKenzie
Bob McConnell wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can
understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/, but
their documents assume significant experience in building and using
Bob McConnell wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/, but
their documents assume significant experience in building and using
templates.
Where can I
On Thu, 2009-03-19 at 12:14 -0400, Bob McConnell wrote:
From: Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can
understand
how to use it?
I
On Thu, Mar 19, 2009 at 12:36 PM, Bob McConnell r...@cbord.com wrote:
From: Shawn McKenzie
Bob McConnell wrote:
From: Virgilio Quilario
That looks nice, but how do I get to the point where I can
understand
how to use it?
I have also looked at the Smarty site http://www.smarty.net/,
From: Bastien Koert
Just 162 files? I don't mean to sound condescending but if the code
is that much trouble, chuck it out and start over.
Not going to happen. There are too many other tasks in the backlog that
are more important and will bring in real money as opposed to just
making the
Marc Christopher Hall wrote:
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
This comment is..
I would hazard to say that if you are unwilling or unable to grasp OOP, MVCs
and any decent framework that is necessary then maybe stepping back and
On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote:
Marc Christopher Hall wrote:
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
This comment is..
I would hazard to say that if you are unwilling or unable to grasp OOP, MVCs
Robert Cummings wrote:
On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote:
Marc Christopher Hall wrote:
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
This comment is..
I would hazard to say that if you are unwilling or unable to grasp
On Thu, 2009-03-19 at 18:05 -0700, Michael A. Peters wrote:
Robert Cummings wrote:
On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote:
Marc Christopher Hall wrote:
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
This comment is..
Robert Cummings wrote:
On Thu, 2009-03-19 at 18:05 -0700, Michael A. Peters wrote:
Robert Cummings wrote:
On Thu, 2009-03-19 at 16:27 -0700, Michael A. Peters wrote:
Marc Christopher Hall wrote:
The following comment is not intended to be helpful
*smacks head on desk repeatedly...*
From: Robert Cummings
On Thu, 2009-03-19 at 12:14 -0400, Bob McConnell wrote:
From: Bastien Koert
On Thu, Mar 19, 2009 at 11:06 AM, Bob McConnell r...@cbord.com
wrote:
From: Virgilio Quilario
Most discussion clipped for brevity
// OOP
class DbFireman extends DbPerson
{
Bob McConnell wrote:
But defining objects and then figuring out how to create and use them
completely escapes me. My mind simply won't map a problem into objects,
it only sees procedures. Even when I look at classes, they resolve only
as loose groupings of functions and variables, not as
Bob McConnell wrote:
[SNIPPED]
the fireman. Going futher, using OOP let's you do all sorts of generic
Hi Rob,
Unfortunately, you still don't understand the problem I have. While it
takes a while to puzzle out the details, I don't have any trouble
reading, understanding or debugging
Hi list,
Just wanna share my collection of Smarty scripting tips and techniques.
Smarty is a template engine for PHP that you can use to separate data
and logic from web design.
This way programmers can work on the php scripts and designers can
work on the templates for the same web site.
Here
-general@lists.php.net
Subject: [PHP] Smarty Tips and Techniques
Hi list,
Just wanna share my collection of Smarty scripting tips and techniques.
Smarty is a template engine for PHP that you can use to separate data
and logic from web design.
This way programmers can work on the php scripts
To: php-general@lists.php.net
Subject: [PHP] Smarty Tips and Techniques
Hi list,
Just wanna share my collection of Smarty scripting tips and techniques.
Smarty is a template engine for PHP that you can use to separate data
and logic from web design.
This way programmers can work on the php scripts
Only allow a few markup tags, strip_tags() allows a limited lIst to be
kept
Bastien
Sent from my iPod
On Jan 13, 2009, at 11:18 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then
Robert Cummings wrote:
On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13,
On Wed, 2009-01-14 at 09:08 -1000, Daniel Kolbo wrote:
Robert Cummings wrote:
On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using
Robert Cummings wrote:
On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to just
the text where you then control the display and using your templates and
css?
Bastien
Sent from my iPod
On Jan 13,
One way to balance the author's need to have nice-looking output, and your need
to keep the content/html under control is to provide the authors with a variety
of template layouts with varying number/placement/sizes of images and blocks of
text.
Build a half-dozen of them, allow only ASCII
On Tue, Jan 13, 2009 at 6:49 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello,
I've been using PHP and Smarty for several years now and I am happy with
this division of data from presentation. With this philosophy in mind, i
am a bit perplexed as to how to handle the text on my sites. That
VamVan wrote:
On Tue, Jan 13, 2009 at 6:49 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello,
I've been using PHP and Smarty for several years now and I am happy with
this division of data from presentation. With this philosophy in mind, i
am a bit perplexed as to how to handle the text on my
On 14/1/09 07:56, Robert Cummings wrote:
Strip all tags except bold and italics. Then replaceb withstrong
andi withem since the former tags are deprecated.
Actually, b and i have not been formally deprecated in any standard.
The closest thing to a prohibition on these elements is WCAG
Hello,
I've been using PHP and Smarty for several years now and I am happy with
this division of data from presentation. With this philosophy in
mind, i am a bit perplexed as to how to handle the text on my sites.
That is, the text is data, so i am motivated to store the text in a
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13, 2009, at 9:49 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello,
I've been using PHP and Smarty for
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13, 2009, at 9:49 PM, Daniel Kolbo kolb0...@umn.edu wrote:
Hello,
I've been using PHP
On Tue, 2009-01-13 at 18:18 -1000, Daniel Kolbo wrote:
Phpster wrote:
What about stripping out all the 'nuances' and just reducing it to
just the text where you then control the display and using your
templates and css?
Bastien
Sent from my iPod
On Jan 13, 2009, at 9:49 PM,
Shahrzad wrote:
IRIran.netHi,
I want to replace a php variable with a javascript variable inside script
type=text/javascript tag in a TPL file(smarty) , how can I do that?
//what in my mind is , but this code is wrong
///
var Country =
Is there a template that presents a parent-child
forms, for example, an invoice object which has a header(invoice no,
date, customer code, invoice total) and multiple items (item no, item
name, quantity, price, amount)?
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is
Man-wai Chang wrote:
Is there a template that presents a parent-child
forms, for example, an invoice object which has a header(invoice no,
date, customer code, invoice total) and multiple items (item no, item
name, quantity, price, amount)?
Go to
Hi...
I try to connect in the last hours and the results are timeouts.
Greetings
Mario
--
-
| havelsoft.com - Ihr Service Partner für Open Source |
| Tel: 033876-21 966 |
| Notruf: 0173-277 33 60
On Tue, 27 Mar 2007, Mario Guenterberg wrote:
Hi...
I try to connect in the last hours and the results are timeouts.
Excelent connection here.
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
-
Lic. Martín
It just like %%58^588^588C8934%%second.html.php.
How does this filename be created?
How about sending this to the Smarty list?
http://smarty.php.net/resources.php?category=7
Edward
-Original Message-
From: John.H [mailto:[EMAIL PROTECTED]
Sent: 23 November 2006 11:55
To: php-general
Subject: [PHP] [Smarty]How smarty name its combiled file?
It just like %%58
Dear all,
I wrote this script using Smarty template,which gives a syntax error ..
syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 436)
I wrote a javascript block in template file,where I use '{'. This '{'
acctually shows the problem. How can I solve this problem?
Dear all,
I solved the problem using {literal}{/literal} tag. Thanks every one, who
gives me tips to solve the error.
--Nirmalya
Nirmalya Lahiri [EMAIL PROTECTED] wrote: Dear all,
I wrote this script using Smarty template,which gives a syntax error ..
syntax error: unrecognized
Nirmalya Lahiri wrote:
Dear all,
I wrote this script using Smarty template,which gives a syntax error ..
syntax error: unrecognized tag: (Smarty_Compiler.class.php, line 436)
I wrote a javascript block in template file,where I use '{'. This '{' acctually shows the problem. How can
I'm contemplating using Smarty Templates for a website and was wondering
what opinions on them, pro or con, may be.
Thanks in advance for all your help.
-Roy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
starting a new topic by replying to an existing thread is
bad form - we know how much work it is to click on the 'new mail'
button and fill in an address but please make the effort (it's in your
interest as well!).
with regard to Smarty why not try searching for existing writing on the subject?
as a template and it seems to be related to a buffer
somewhere: php/smarty or apache.
I've used microtime and from the begin of the php script until after the
smarty-display it takes from 0.05s (min) to 0.32s (max)
Any tips of how can I figure out what is slowing down my site?
tks
smarty as a template and it seems to be related to a buffer
somewhere: php/smarty or apache.
I've used microtime and from the begin of the php script until after the
smarty-display it takes from 0.05s (min) to 0.32s (max)
Any tips of how can I figure out what is slowing down my site?
tks
yes..use
using smarty as a template and it seems to be related to a buffer
somewhere: php/smarty or apache.
I've used microtime and from the begin of the php script until after the
smarty-display it takes from 0.05s (min) to 0.32s (max)
Any tips of how can I figure out what is slowing down my site
First I'll appologize for the cheuvanistic remark the other poster had. I
know he had good intentions...
So I don't know smarty, but it seems to me you're grabbing only one row
here:
$projects = $db-getAssoc()
Normally in straight PHP, I would do something like.
While ($row =
in
/usr/local/lib/php/Smarty/Smarty.class.php on line 1088
PHP STUFF
$query =SELECT * FROM projects WHERE parent_project_id is NULL OR
parent_project_id = '';
$projects = $db-getAssoc($query, DB_FETCHMODE_ASSOC);
foreach ($projects as $key = $project) {
$query =SELECT * FROM projects WHERE
: unable to read resource: welcome/Object.tpl in
/usr/local/lib/php/Smarty/Smarty.class.php on line 1088
Actually, this error indicates it either cannot find or open the
template file. make sure you have a 'welcome' directory in your
templates directory, and an Object.tpl file within
Amanda Hemmerich wrote:
Hello!
I'm using PHP and Smarty to try to build an array of arrays using the
results from nested queries. I am just learning about nested arrays,
and I'm not sure what I'm doing wrong.
...
Can anyone point me in the right direction?
Amanda please don't
Amanda Hemmerich wrote:
What is cross posting?
when you post the same question to
more than one mailing list (especially when done
at the same time).
alot of the people who regularly read/post on php-generals
also watch other php related mailing lists (I for one
am also subscribed to the
Warning: Smarty error: unable to read resource: welcome/Object.tpl in
/usr/local/lib/php/Smarty/Smarty.class.php on line 1088
You should check your Smarty`s template_dir. Put the templates into the
template_dir, then the Smarty will find them.
Like this:
$smarty = new Smarty();
$smarty
I'd recommand you to use the HTML_TEMPLATE_IT. It's a PEAR class for
templating; I've personaly worked on it for building skinnable applications
in which users and admins can change the look of the pages. Bottom line,
it's a PEAR library/extension so no hastle since most of the hosts include
Hey,
This may belong more on the smarty list, but I thought i'll ask it here
because
in another way I need your opinion more than smarty advise.
Like a lot of people on this list, I use a templating system (Smarty and
another...
mostly Smarty) when I am working on a project for a client...
I was wondering if its a good idea to template via smarty and include smarty
with my code?
also instructions to setup smarty when setting up the application i made?
Good idea compared to what? Compared to a different templating
library, compared to writing your own templating library, or
Hey,
I was wondering if its a good idea to template via smarty and include
smarty
with my code?
also instructions to setup smarty when setting up the application i
made?
Good idea compared to what? Compared to a different templating
library, compared to writing your own templating
Yep, left myself quite open there...should have been more specific.
I will not write a templating library myself because there are so many
out there,
it would be a learning experience of course but other than that I think it
would be
rarely needed.
I meant bundling it along with the
Hello List:
I'm using PEAR DB and Smarty. The case is that I have to pass a value from a
query result to a Smarty var. I try to paginate results. See the code below:
Ok, I am starting a new job and learning a new person's code, and trying
to learn Smarty at the same time.
This question is so basic, but I have no idea where to look for an answer.
ANyway, I need to change the code so that, when there are no row returned
by the database, a message is
On Tuesday 03 August 2004 15:21, Amanda Hemmerich offered up the following
tid-bit of information :
Ok, I am starting a new job and learning a new person's code, and trying
to learn Smarty at the same time.
This question is so basic, but I have no idea where to look for an
answer.
ANyway,
On Tue, 3 Aug 2004 14:21:45 -0500 (EST), Amanda Hemmerich
[EMAIL PROTECTED] wrote:
Ok, I am starting a new job and learning a new person's code, and trying
to learn Smarty at the same time.
This question is so basic, but I have no idea where to look for an answer.
ANyway, I need to change
Amanda Hemmerich wrote:
ANyway, I need to change the code so that, when there are no row returned
by the database, a message is displayed saying, There are no events
scheduled. or what have you.
[snip]
(in the PHP page)
$events = $db-getAll($sql_events, DB_FETCHMODE_ASSOC);
peace of loss in performance.
Nevertheless it might be a neverending discussion like
windows vs *nix...
-Ursprüngliche Nachricht-
Von: Chris de Vidal [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 14. April 2004 17:34
An: Kelly Hallman
Cc: [EMAIL PROTECTED]
Betreff: Re: [PHP] smarty
Ben said:
But i don't see an alternative in your Example 3.
Here was example 3 from my post:
http://marc.theaimsgroup.com/?l=php-generalm=108145205519710w=2
$result = mysql_query (SELECT * FROM users WHERE id = '.$_GET[id].');
$row_array = mysql_fetch_array ($result);
$name=
I don't see why you keep persisting this thread.
Smarty is a cool tool and lots of people use it. You have decided NOT to
use it.
So why keep going on; you not like Smarty; are you encouraging users not
to use Smarty. I don't see your point at all !!!
There's more than one way of skinning a
pete M wrote:
There's more than one way of skinning a cat !
Hydrochloric acid works real well. ;)
--
***
* _ __ __ __ _ * John Nichel *
* | |/ /___ __ \ \/ /__ _ _| |__ ___ __ ___ _
pete M said:
Smarty is a cool tool and lots of people use it. You have decided NOT to
use it.
I don't believe you've read a word I've written.
I've been trying to tell people like myself that one can easily template
with PHP. I thought I *needed* Smarty or any nice templating engine to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Could we please close the thread already?
I think in the previous week there's been everything said what there's
been to say. whoever is still interested in reading the same arguments
over and over should please take a look at the archives.
I value
BIG_SNIP /
It seems the discussions wents in a completely nonsense direction.
Arguing about TE's in general and one concerete TE named smarty
is simply silly.
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
So
Enrico Weigelt mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 10:13 AM said:
keep in mind it's friday!!
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
don't forget interjinn.
So lets split the thread
Chris W. Parker wrote:
Enrico Weigelt mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 10:13 AM said:
keep in mind it's friday!!
Then why am I still sober?
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
don't
On Fri, 2004-04-16 at 13:27, John Nichel wrote:
Chris W. Parker wrote:
Enrico Weigelt mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 10:13 AM said:
keep in mind it's friday!!
Then why am I still sober?
Either we'd talk about the (dis)advantages of TE's in general
or
don't forget interjinn.
Like we ever could.
(awaits the flame)
John WHY ARE YOU SUCH A F... Ok, I'm willing to let bad blood go away
if you are. We're all PHP peeps here so really there shouldn't be any
animosity (perceived or otherwise).
Damn. Some of the best entertainment of my
Aaron Wolski wrote:
don't forget interjinn.
Like we ever could.
(awaits the flame)
John WHY ARE YOU SUCH A F... Ok, I'm willing to let bad blood go away
if you are. We're all PHP peeps here so really there shouldn't be any
animosity (perceived or otherwise).
Damn. Some of the best
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
Wait a minute... are we talking about Smarty as in smarty.php.net? Because I
was thinking of something else this entire time and this completely changes
the
John W. Holmes wrote:
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
Wait a minute... are we talking about Smarty as in smarty.php.net? Because I
was thinking of something else this entire time and this completely
John Nichel mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 11:24 AM said:
serious
You do realize that with 2.5 hours left in the work day today, we're
likely to get even sillier? ;)
/serious
I still have 6 hours to go. :(
c.
p.s. anyone play ffxi?
--
PHP General Mailing List
pete M said:
what about the modifiers
long list of modifiers snipped
How would you code that lot and remember its ALL to do with presentation ?
I mentioned this. Take another look at my post:
http://marc.theaimsgroup.com/?l=php-generalm=108145205519710w=2
[By using only PHP], At worst [I lose]
Vicente Werner said:
http://marc.theaimsgroup.com/?l=php-generalm=108145205519710w=2
Ugh that's not just fuckingly ugly, but a total doom to maintain over the
time -two months without touching the code and you're absolutely lost- .
It maybe faster, it maybe a bit simpler since you only have
Hello Chris,
Wednesday, April 14, 2004, 3:35:05 PM, you wrote:
CdV I don't understand... how is this:
[snip]
CdV Better than this?
CdV =
CdV $result = mysql_query (SELECT * FROM users WHERE id = '.$_GET[id].');
CdV $row_array = mysql_fetch_array ($result);
CdV $name=
Kelly Hallman said:
I don't recall anyone ever advancing the notion that Smarty turned PHP
into something more than it was before. By definition it is merely a layer
that makes your life as a developer easier. A tool!
Yeah but in my ignorance that's what I thought, and I realized I probably
pete M said:
Think everyone is missing the point..
the whole point of smarty is to take the presentation code away from the
logic
No, I understood that point. It's why I started using Smarty. Take
another look at what I said:
http://marc.theaimsgroup.com/?l=php-generalm=108145205519710w=2
Richard Davey said:
CdV I don't understand... how is this:
[snip]
CdV Better than this?
CdV =
CdV $result = mysql_query (SELECT * FROM users WHERE id =
'.$_GET[id].');
CdV $row_array = mysql_fetch_array ($result);
CdV $name= $row_array[name];
CdV $address =
From: Richard Davey [EMAIL PROTECTED]
Because you're injecting variables directly into your HTML, which some
of the time might be ok - but what if the $row_array doesn't contain
name ? You'll raise an Error Warning without first passing it
through some kind of test (or function).
Only if you
* Chris de Vidal [EMAIL PROTECTED] [2004-04-14 10:30:53 -0400]:
snip
So there are alternatives to what Smarty offers, but I also said I just
see them [template engines] as another tool. It's a tool; use it where
I can't agree here.
Template engines (in the sense we're talking here - for
* Chris de Vidal [EMAIL PROTECTED] [2004-04-14 11:33:56 -0400]:
snip
Naww... I'd been using Smarty for several weeks now because I thought the
only alternative to spaghetti code was Smarty, but recently I realized
that it's not, and that simple example shows it. I didn't realize I had
mmm some points:
1st. Clarity. It's much more clear to me to take a look at a template and
identify a subsituing variable when it's marked as something different like:
{$var} than the uglyness of ?=$var ? -and if you follo the recommended way:
?php=$var ?
2nd. As other users pointed, error
Vicente Werner said:
mmm some points:
1st. Clarity. It's much more clear to me to take a look at a template and
identify a subsituing variable when it's marked as something different
like:
{$var} than the uglyness of ?=$var ? -and if you follo the recommended
way:
?php=$var ?
Tomay-toe,
* John W. Holmes [EMAIL PROTECTED] [2004-04-14 11:57:00 -0400]:
snip
You're relying on web-server writable directories when you use Smarty.
It's all a trade-off.
This gets problematic in multi-user environments. You cant use mod_php
anylonger, instead you have to switch to slow cgi+suexec.
:0
* ^Subject: Re: smarty
/dev/null
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello John,
Wednesday, April 14, 2004, 4:57:00 PM, you wrote:
JWH Only if you have error_reporting() set high. If you have a PHP templating
JWH solution, you'd turn error_reporting() down when you included the PHP
JWH templates so you didn't get a warning.
John I'm shocked - of all people I
Curt Zirzow wrote:
:0
* ^Subject: Re: smarty
/dev/null
Curt
agreed
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Justin Patrin wrote:
Jochem Maas wrote:
...
Smarty does force that at all; you have to make the distinction and
apply liberal self-restraint.
I meant 'does NOT force' - thinko!
...
PLEASE WORLD: GET BEHIND CSS, AND FREE CONTENT FROM STYLE ON THE CLIENT.
why because it allows the structrully
Jochem Maas wrote:
Chris de Vidal wrote:
Jochem Maas said:
1. 'Template Engine' - you can justifyably call PHP a template engine
Correct. Seems that Smarty is, for the most part, redundant (see my last
post called PHP makes a great templating engine (Was: smarty)).
I was not intending to
Does anyone have a 'good' tutorial about Smarty. The one available on smarty.php.net
is really basic...
Vincent
-Original Message-
From: Robert Cummings [mailto:[EMAIL PROTECTED]
Sent: jeudi 8 avril 2004 4:02
To: Kelly Hallman
Cc: PHP-General
Subject: Re: [PHP] smarty
On Wed, 2004
1 - 100 of 179 matches
Mail list logo