Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 29 matches
Smarty Forum Index
Author Message
  Topic: inserer un tpl dans un autre tpl
goalsurfer

Replies: 4
Views: 8645

PostForum: Language: French   Posted: Thu Oct 13, 2011 7:23 am   Subject: inserer un tpl dans un autre tpl
C'est juste, par contre si ton tpl est dans le même dossier que celui qui l'appel tu fait

{include file="nom_du_fichier.tpl"}

Librement.

Selon moi il faut seulement mettr ...
  Topic: site a pages blanches
goalsurfer

Replies: 1
Views: 5782

PostForum: Language: French   Posted: Thu Oct 13, 2011 7:16 am   Subject: Il y a autre chose
Bonjour,
Le smarty fonctionne bien avec un page tout à fait simple.
Ce qui c'est passé, et bien j'ai supprimé mon blog de wordpress.
Il y avait encore un peu de code pour mettre des extraits du blo ...
  Topic: site a pages blanches
goalsurfer

Replies: 1
Views: 5782

PostForum: Language: French   Posted: Wed Oct 12, 2011 6:28 pm   Subject: site a pages blanches
Soudain mon site a disparu. Après un test il apparaîssait que les pages en php et en html sont visibles. Les pages avec smarty ne le sont plus.

Est-il possible que l'hôte a désactivé smarty?
  Topic: googlemap api language settings
goalsurfer

Replies: 2
Views: 12204

PostForum: Add-ons   Posted: Fri Jun 24, 2011 7:23 pm   Subject: Settings for language
Thus, there are no settings for language?
  Topic: googlemap api language settings
goalsurfer

Replies: 2
Views: 12204

PostForum: Add-ons   Posted: Sat Jun 18, 2011 9:07 am   Subject: googlemap api language settings
How can you determine the language of your map? Sometimes (but not always) I get the wrong coordinates because the map is in an other language then my street names. (bilingual city)
I put "lan ...
  Topic: query with multiple column values
goalsurfer

Replies: 0
Views: 2046

PostForum: General   Posted: Mon May 02, 2011 6:04 pm   Subject: query with multiple column values
Please, can someone give me the right syntaxis to use with sprinf in the following case? I used the ordinary expression "...WHERE columnname IN (value1, value2, value3) ORDER ..." in a quer ...
  Topic: active content jquery loads too slowly
goalsurfer

Replies: 0
Views: 2720

PostForum: General   Posted: Sun Mar 13, 2011 10:12 am   Subject: active content jquery loads too slowly
This is the code used for the tabs:

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js"></script>
{literal&# ...
  Topic: SmartyPaginate not very well to combine with calendar
goalsurfer

Replies: 0
Views: 2441

PostForum: Smarty 3   Posted: Wed Mar 17, 2010 11:33 pm   Subject: SmartyPaginate not very well to combine with calendar
SmartyPaginate is running quite fine now, but the smarty calendar doesn't show and as far I can see without reason. Neither the footer thus, because this calendar is in the right sidebar while Smarty ...
  Topic: Got SmartyPaginate at work but can you introduce a WHERE ?
goalsurfer

Replies: 0
Views: 3207

PostForum: Plugins   Posted: Sat Mar 13, 2010 3:01 am   Subject: Got SmartyPaginate at work but can you introduce a WHERE ?
I try to filter my results but this only works for one series of data.
When you clicked on the 'next' or further you get your default series again.

I used a $_POST and let a choice between two q ...
  Topic: Why blocks template loading in testing out SmartyPaginate?
goalsurfer

Replies: 0
Views: 2992

PostForum: Plugins   Posted: Thu Mar 11, 2010 12:30 pm   Subject: Why blocks template loading in testing out SmartyPaginate?
I searched all the forum and saw there is little support for SmartyPaginate, only discussions about extending the code.

I got error messages about parse errors I corrected until the loading of my m ...
  Topic: function "escape" not implemented in guestbook
goalsurfer

Replies: 3
Views: 4910

PostForum: General   Posted: Thu Dec 17, 2009 4:31 pm   Subject: plugins
I never had problems with any plugin. There is nex in my .php file:

$smarty->plugins_dir = $path.'\smarty\libs\plugins';

Isn't that enough to make them work?
  Topic: Error after including php script in .tpl file
goalsurfer

Replies: 2
Views: 3882

PostForum: General   Posted: Thu Dec 17, 2009 4:03 pm   Subject: Error after including php script in .tpl file
I tried it with next in index.php:

$photobook = array();
$smarty->assign('myArray', $photobook);

but that seems too complicate because $photobook exists of many different cases. It is a scr ...
  Topic: function "escape" not implemented in guestbook
goalsurfer

Replies: 3
Views: 4910

PostForum: General   Posted: Thu Dec 17, 2009 11:07 am   Subject: function "escape" not implemented in guestbook
After have changed one and another I get next error message:

"Fatal error: Smarty error: [in guestbook.tpl line 9]: [plugin] modifier 'escape' is not implemented (core.load_plugins.php, line 1 ...
  Topic: Error after including php script in .tpl file
goalsurfer

Replies: 2
Views: 3882

PostForum: General   Posted: Wed Dec 16, 2009 11:58 pm   Subject: Error after including php script in .tpl file
The script I included works perfectly in common php and I suppose also the inclusion is all right as some parts of the script are working fine. I did it as follows: {php}
include("path_to_file& ...
  Topic: Some bad critics on smarty
goalsurfer

Replies: 13
Views: 26386

PostForum: Article Discussions   Posted: Thu Dec 10, 2009 8:36 am   Subject: web 2.0
Why? I think is a name for quite a characteristic style. 'web 2.0' was not much more than just a name for me until a while ago I remarked always more sites had that specific style and then I unders ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT
Jump to:  


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