Re: [SMARTY] Config var bug?
| From: | Nino Katic | Date: | Mon, 24 Feb 2003 15:15:14 +0000 |
| Subject: | Re: [SMARTY] Config var bug? | ||
| References: | 1 2 3 4 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-8150@lists.php.net to get a copy of this message | ||
Monte,
How can I access config var array from section? So suppose i have this:
config.cnf
var = "This is some text", "This is another text", "This is one more
text"
and now i want to print that var values from template, for example by using
section?
Nino
Monte Ohrt wrote:
> why not use a section or foreach, and make a real array of your text?
> cycle is really meant for short pieces of text.
>
> On Sun, 2003-02-23 at 11:00, Nino Katic wrote:
>> Jason Sweat wrote:
>>> What about
>>> var = "'one','two','three'"
>>> ?
>>
>> I need this:
>>
>> var = "some text with spaces", "other text with spaces", "bla
>> bla"
>>
>> and to do a cycle through that var in template.
>>
>> Thx. for help.
>>
>> Nino