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 9 matches
Smarty Forum Index
Author Message
  Topic: http://www.musiquemagazine.com
lstelie

Replies: 0
Views: 8012

PostForum: Showcase   Posted: Sat Jan 17, 2004 1:44 pm   Subject: http://www.musiquemagazine.com
Hello,

http://www.musiquemagazine.com

This is a personnel weblog about the musica donwload trend.
I have more or less the same kind of application also built with Smarty at
http://blog.saint- ...
  Topic: Class Functions
lstelie

Replies: 2
Views: 4990

PostForum: General   Posted: Tue Dec 30, 2003 4:38 pm   Subject: Class Functions
Hello

Have a look to plug in in the doc. Basically they are function that get called from the template file. You can do pretty much what you want inside
  Topic: any drawback to plug ins ?
lstelie

Replies: 0
Views: 3212

PostForum: General   Posted: Tue Dec 30, 2003 3:27 pm   Subject: any drawback to plug ins ?
Hello,

I'm playing with plug in (functions) and find them very cool, so I tried to rewrite a project this way

Usually I have

// index.php
include /somepath/smarty.class.php;
include /somepa ...
  Topic: A little tip for cache id based on REQUEST_URI
lstelie

Replies: 0
Views: 8401

PostForum: Tips and Tricks   Posted: Tue Dec 30, 2003 10:47 am   Subject: A little tip for cache id based on REQUEST_URI
Hello

If you use the classical REQUEST_URI for the cache id you have perhaps a sharedhosting like the one I use where from time to time ?PHPSESSID=A_RANDOM_SEQUENCE_OF_CARACTERS is added to the URI ...
  Topic: Pager with Smarty.. how to ?
lstelie

Replies: 1
Views: 4761

PostForum: General   Posted: Wed Nov 12, 2003 8:05 pm   Subject: Pager with Smarty.. how to ?
Hello,

I have to display a long text cut in several parts (with the usual next/previous)

I don't know exactly how to proceed.
Pear DB:Pager seems a good solution but I fail to understand how to ...
  Topic: Concatanate string + variable
lstelie

Replies: 8
Views: 12612

PostForum: General   Posted: Mon Nov 03, 2003 11:54 pm   Subject: Re: Concatanate string + variable
How I can to cancatanate string + variable in smarty

e.g.

{include file="mod".$moduleName.".tpl"}

is it possible at all?

Hello,

I use
{include file="$design/base/header.tpl&q ...
  Topic: Question about truncate
lstelie

Replies: 2
Views: 4717

PostForum: General   Posted: Thu Oct 30, 2003 5:10 pm   Subject: Question about truncate
Thanks a lot Messu !!

Luc

maybe check this one: http://www.phpinsider.com/smarty-forum/viewtopic.php?p=3349#3349

i never tried it, though.
  Topic: Question about truncate
lstelie

Replies: 2
Views: 4717

PostForum: General   Posted: Wed Oct 29, 2003 5:33 pm   Subject: Question about truncate
Hello,

Is there a way to instruct truncate NOT to cut a HTML tag ?

Luc
  Topic: How to use prefilter ?
lstelie

Replies: 1
Views: 5775

PostForum: General   Posted: Fri Oct 17, 2003 4:17 pm   Subject: How to use prefilter ?
Heelo,

I'm trying to use prefilter what I've never done before.


I have in smarty_dir/extraplugins/utils
the file prefilter.literalScriptAndStyle.php


This file is :


<?php
/*
* ...
 
Page 1 of 1
All times are GMT
Jump to:  


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