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 6 matches
Smarty Forum Index
Author Message
  Topic: How to use Javascript codes in template files?
SordidWarrior

Replies: 36
Views: 431988

PostForum: Tips and Tricks   Posted: Fri Sep 10, 2004 1:07 am   Subject: How to use Javascript codes in template files?
I think that an even better way is:

<?php
class MySmarty extends Smarty {
function MySmarty() {
$this->left_delimiter = '{{';
$this->right_delimiter = '}}';
//.. ...
  Topic: plugins or not plugins
SordidWarrior

Replies: 0
Views: 7146

PostForum: Plugins   Posted: Fri Sep 10, 2004 12:55 am   Subject: plugins or not plugins
Hi all

I am currently moving my web site to smarty; while doing the move, I had some issues about when I should write plugins, and when I should not.

For example, I wanted to be able to add a su ...
  Topic: Probleme avec config_load
SordidWarrior

Replies: 1
Views: 10117

PostForum: Language: French   Posted: Sun Sep 05, 2004 12:31 am   Subject: Probleme avec config_load
il faut vérifier le paramétrage du chemin vers les fichiers de config, par exemple:


<?php
$smarty->config_dir = '../config';
?>


Ensuite, tout marche bien
  Topic: popup position?
SordidWarrior

Replies: 3
Views: 13145

PostForum: Language: French   Posted: Sun Sep 05, 2004 12:25 am   Subject: popup position?
Je suppose qu'il faudrait plutôt demander au(x) concepteur(s) de overLIB, qui ont fait la librairie javascript en question
  Topic: Problem with function popup!!!
SordidWarrior

Replies: 1
Views: 8989

PostForum: Plugins   Posted: Fri Sep 03, 2004 10:13 pm   Subject: Problem with function popup!!!
I made it work after a few attempts.

There is a bug in overLIB 4.05:
overlib.js, line 27;

svar olHideForm=0;


should be replaced with


var olHideForm=0;

Then, it works fine.

I cr ...
  Topic: mailto function additions
SordidWarrior

Replies: 0
Views: 8084

PostForum: Plugins   Posted: Fri Sep 03, 2004 1:13 am   Subject: mailto function additions
For my web site 2nd version (currently being developped, not on line), I came to add a few things to the basic mailto function. I don't know if it may be usefull to some people, but anyway:

First, ...
 
Page 1 of 1
All times are GMT
Jump to:  


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