Author |
Message |
Topic: concatenate strings |
dilvie
Replies: 17
Views: 215820
|
Forum: General Posted: Thu May 01, 2003 11:13 pm Subject: concatenate strings |
Why can't this be done in PHP and assign the correct button text for each button?
It very easily could be, I suppose.
I thought the whole idea about using smarty was to separate presentatio ... |
Topic: Assign template to variable? Handle a set of templ. as one? |
dilvie
Replies: 18
Views: 55422
|
Forum: General Posted: Tue Apr 29, 2003 10:27 am Subject: Assign template to variable? Handle a set of templ. as one? |
on
http://smarty.php.net/manual/en/language.function.include.php
it reads:
{* windows absolute filepath (MUST use "file:" prefix) *}
{include file="file:C:/www/pub/templates/header.tpl"}
did ... |
Topic: Xoops |
dilvie
Replies: 12
Views: 63226
|
Forum: Frameworks Posted: Tue Apr 29, 2003 10:00 am Subject: Xoops |
My own
What, no URL?
- Eric |
Topic: Xoops |
dilvie
Replies: 12
Views: 63226
|
Forum: Frameworks Posted: Sun Apr 27, 2003 10:39 pm Subject: Xoops |
I've used XOOPS, but i never really liked it. I wasn't even aware that they were using Smarty until i saw it posted @ smarty.php.net (would be nice if they could put a logo up eh?).
XOOPS is a nice ... |
Topic: concatenate strings |
dilvie
Replies: 17
Views: 215820
|
Forum: General Posted: Sun Apr 27, 2003 10:32 am Subject: Re: concatenate strings |
I can't find how to concatenate strings with smarty.
Have I missed it?
If all you want to do is output it, you can just do {$foo}{$bar}. I realize that doesn't help if you really want to combine ... |
Topic: Xoops |
dilvie
Replies: 12
Views: 63226
|
Forum: Frameworks Posted: Fri Apr 25, 2003 8:49 pm Subject: Xoops |
Anybody using Xoops? That CMS is how I originally found out about Smarty. |
Topic: Assign template to variable? Handle a set of templ. as one? |
dilvie
Replies: 18
Views: 55422
|
Forum: General Posted: Fri Apr 25, 2003 8:47 pm Subject: Assign template to variable? Handle a set of templ. as one? |
you can do {include file=$template_filename} with $template being an assigned variable.
this is always much better than {eval var=$template_sourcecode}. with {include} you have templates compiled j ... |
|