Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Plusieurs templates dynamiques

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French
View previous topic :: View next topic  
Author Message
math43
Smarty n00b


Joined: 11 Feb 2011
Posts: 1

PostPosted: Fri Feb 11, 2011 5:38 pm    Post subject: Plusieurs templates dynamiques Reply with quote

Bonjour à tous,

Je commence tout juste à utiliser Smarty que je trouve intéressant mais je me retrouve face à un problème pour la création d'un site.

J'ai un fichier index.php dans lequel je fais des requetes sur ma base
Pour afficher le résultat j'ai donc un fichier index.tpl

J'ai également des fichiers header.php et sidebar.php (et donc header.tpl et sidebar.tpl) dans lesquels je fais egalement des requêtes.
J'affiche bien les resultats de chacun en appelant indiciduellement chaque fichier.

Mon problème étant de savoir comment faire pour tout afficher ensemble.
Index est mon contenu mais je veux le header et la sidebar avec celui-ci.

Comment faire ? Parce que mes tentatives d'include ne fonctionnent pas.

D'avance merci.
Back to top
View user's profile Send private message
boros1124
Smarty n00b


Joined: 22 Mar 2011
Posts: 1

PostPosted: Tue Mar 22, 2011 1:30 pm    Post subject: css+html Reply with quote

Je voudrais savoir comment travailler avec la page en HTML et CSS3.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


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