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 7 matches
Smarty Forum Index
Author Message
  Topic: concatenate strings
dilvie

Replies: 17
Views: 215645

PostForum: 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: 55390

PostForum: 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: 63030

PostForum: Frameworks   Posted: Tue Apr 29, 2003 10:00 am   Subject: Xoops
My own Laughing

What, no URL?

- Eric
  Topic: Xoops
dilvie

Replies: 12
Views: 63030

PostForum: 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: 215645

PostForum: 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: 63030

PostForum: 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: 55390

PostForum: 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 ...
 
Page 1 of 1
All times are GMT
Jump to:  


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