j'ai bien suivie le tuto pour inclure une page dans le forum.
Mais je recontre un pb.
si je mets :
- Code: Tout sélectionner
'body' => 'wiki_body.html',
cela affiche bien le contenue du fichiers wiki_body.html
wiki_body.html :
- Code: Tout sélectionner
<!-- INCLUDE overall_header.html -->
<h2>Le wiki </h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<p>
test wiki
</p>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->
Si je mets :
- Code: Tout sélectionner
'body' => 'wiki_body.php',
il affiche bien le titre mais ne prend pas en compte mon include
- Code: Tout sélectionner
<!-- INCLUDE overall_header.html -->
<h2>Le wiki </h2>
<div class="panel">
<div class="inner"><span class="corners-top"><span></span></span>
<div class="content">
<p>
<?php include ('doku.php'); ?>
</p>
</div>
<span class="corners-bottom"><span></span></span></div>
</div>
<!-- INCLUDE jumpbox.html -->
<!-- INCLUDE overall_footer.html -->
le fichier doku.php est dans le dossier template comme wiki_body.php.
c'est pas possible ou bien je manque un qq chose.
merci d'avance à plus






