Author |
Message |
Topic: Using sessions with smarty? |
gianni
Replies: 5
Views: 10379
|
Forum: General Posted: Sat Jan 31, 2004 2:08 pm Subject: Using sessions with smarty? |
Is it possible to use this?
{$smarty.session.object->var}
or this?
{$smarty.session.object->method()} |
Topic: what are the best delimiters? |
gianni
Replies: 14
Views: 24066
|
Forum: General Posted: Sat Jan 31, 2004 8:40 am Subject: what are the best delimiters? |
I'm trying to teach Dreamweaver to recognize my Smarty tags:
http://utenti.lycos.it/phpmybb/immagine.gif |
Topic: what are the best delimiters? |
gianni
Replies: 14
Views: 24066
|
Forum: General Posted: Fri Jan 30, 2004 8:57 pm Subject: what are the best delimiters? |
These are my delimiter:
for built-in and custom functions:
$smarty->left_delimiter = '<smarty:';
$smarty->right_delimiter = '>';
for simple variables I use standar smarty delimit ... |
Topic: bulean value between double quote |
gianni
Replies: 2
Views: 5654
|
Forum: General Posted: Mon Jan 19, 2004 8:32 pm Subject: bulean value between double quote |
But if a function takes a bulean value, why to parse this value like a string? |
Topic: bulean value between double quote |
gianni
Replies: 2
Views: 5654
|
Forum: General Posted: Sun Jan 18, 2004 9:23 pm Subject: bulean value between double quote |
Hi all,
I'm tring to use smarty tag in a more html fashion, surrounding each attribute with double quote (so that I can edit them with Dreamweaver property ispector). But I have noticed that this isn ... |
Topic: problem with relative links in templates |
gianni
Replies: 7
Views: 12300
|
Forum: General Posted: Fri Oct 24, 2003 12:22 pm Subject: problem with relative links in templates |
class Smarty_extended extends Smarty
{
...........
function Smarty_extended()
{
$this->Smarty();
$this->template_dir = 'include/templates';
... |
Topic: Curiosity: Anyone tried to modify phpBB to use Smarty? |
gianni
Replies: 18
Views: 49108
|
Forum: Smarty Development Posted: Thu Oct 16, 2003 9:57 pm Subject: Curiosity: Anyone tried to modify phpBB to use Smarty? |
where can i take a look at your bb system?
just click on my signature |
Topic: default value of a variable |
gianni
Replies: 0
Views: 3581
|
Forum: General Posted: Wed Oct 08, 2003 6:01 am Subject: default value of a variable |
Hi all,
can I use default modifier in an "if statement"? Is there a better solution to give a default value to a template variable?
Thanks. |
Topic: class methods as postfilters |
gianni
Replies: 1
Views: 4350
|
Forum: General Posted: Thu Sep 18, 2003 9:38 pm Subject: class methods as postfilters |
Hi all,
I use a class that extends smarty class. How can I register one of its methods (functions) as a postfilter? |
Topic: can I do $smarty->assign(); from within php functions |
gianni
Replies: 4
Views: 7147
|
Forum: General Posted: Wed Aug 27, 2003 7:38 pm Subject: can I do $smarty->assign(); from within php functions |
try to add in your function:
global $tpl; |
Topic: Curiosity: Anyone tried to modify phpBB to use Smarty? |
gianni
Replies: 18
Views: 49108
|
Forum: Smarty Development Posted: Sun Aug 24, 2003 5:52 pm Subject: Curiosity: Anyone tried to modify phpBB to use Smarty? |
have you some suggestions for a plugin system? |
Topic: Curiosity: Anyone tried to modify phpBB to use Smarty? |
gianni
Replies: 18
Views: 49108
|
Forum: Smarty Development Posted: Fri Aug 22, 2003 4:19 pm Subject: Curiosity: Anyone tried to modify phpBB to use Smarty? |
I'm the only developer of my bb project and this project is for me only a hobby ...so if someone is interested... |
Topic: Curiosity: Anyone tried to modify phpBB to use Smarty? |
gianni
Replies: 18
Views: 49108
|
Forum: Smarty Development Posted: Fri Aug 22, 2003 5:52 am Subject: Curiosity: Anyone tried to modify phpBB to use Smarty? |
Hi, I'm building a BB that looks like phpBB but is powered by Smarty, is Object Oriented and is Open Source! |
Topic: is Smarty able to compile a PDF file? |
gianni
Replies: 6
Views: 10119
|
Forum: General Posted: Wed Aug 06, 2003 7:59 pm Subject: is Smarty able to compile a PDF file? |
Can Smarty create a PDF file using a PDF template? |
Topic: Newbie sample sites |
gianni
Replies: 1
Views: 5209
|
Forum: General Posted: Sat Aug 02, 2003 7:21 pm Subject: Newbie sample sites |
I'm building an open source bulletin board driven by smarty (see below) |
|