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: Smarty -> OVH
Hayreon

Replies: 2
Views: 21491

PostForum: Language: French   Posted: Wed Jun 26, 2013 2:58 pm   Subject: Smarty -> OVH
Bonjour,

Et non, je n'avait pas la réponse et j'utilise toujours ma bonne vieille version mais maintenant je vais pouvoir faire une bonne mise à jour Very Happy

Merci !
  Topic: Smarty -> OVH
Hayreon

Replies: 2
Views: 21491

PostForum: Language: French   Posted: Sat Sep 08, 2012 9:09 am   Subject: Smarty -> OVH
Bonjour,

Je rencontre ce problème lors de la mise en ligne de mon site :

Parse error: syntax error, unexpected T_CONST, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /.../.../www/tes ...
  Topic: Change div with tpl content
Hayreon

Replies: 2
Views: 6928

PostForum: General   Posted: Fri Nov 12, 2010 10:20 am   Subject: Change div with tpl content
This code seems working. What do you think about ?

<?php
require('libs/Smarty.class.php');
$smarty = new Smarty();

$smarty->setTemplateDir('templates');
$smarty- ...
  Topic: Change div with tpl content
Hayreon

Replies: 2
Views: 6928

PostForum: General   Posted: Thu Nov 11, 2010 5:30 pm   Subject: Change div with tpl content
What i want to do :

$(document).ready( function () {
$("#login").submit( function() {
$.ajax({
type: "POST",
url: "login.html",
data: "ps ...
  Topic: Change div with tpl content
Hayreon

Replies: 2
Views: 6928

PostForum: General   Posted: Thu Nov 11, 2010 11:15 am   Subject: Change div with tpl content
Hello,

After login, is it possible to load a template (as tpl_login.html for example) to change a <div> content with this template ?

Thanks a lot Smile
  Topic: [Résolu] Condition if ne fonctionne pas
Hayreon

Replies: 0
Views: 7137

PostForum: Language: French   Posted: Sat Sep 20, 2008 8:38 am   Subject: [Résolu] Condition if ne fonctionne pas
Bonjour,

J'ai un probleme avec une condition if() qui ne fonctionne pas, sans raison apparente.

{if $totalpages > 1}
<div class="click_to_pages">Pages 1 | 2</div ...
 
Page 1 of 1
All times are GMT
Jump to:  


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