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

Apparition de balise lors d'un include d'un fichier

 
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
debie1108
Smarty n00b


Joined: 01 May 2007
Posts: 1

PostPosted: Tue May 01, 2007 5:13 am    Post subject: Apparition de balise lors d'un include d'un fichier Reply with quote

Bonjour,

Il se passe quelque chose de bizarre dans mon code et je ne sais pas d'où ca vient.

J'ai un fichier .tpl dans lequel j'appelle un autre fichier tpl grâce à un include.


Code:
{if $size ne "" and $size eq $xv} {include file="modules/Product_Options/xcp_grid_status.tpl"}{/if}



Je n'ai absolument aucune balise entre les 2 fichiers et pourtant lorsque j'édite le code source de la page générée, cette ligne apparait juste avant le contenu du fichier :



Code:
<div id="modules0Product_Options0xcp_grid_status.tpl" onmouseover="dmo(event)" onmouseout="dmu(event)" class="Section">


Je ne sais pas d'ou elle vient et, comme c'est un div, il met le contenu de mon fichier a la ligne (comme un <br>) alors que moi je le veux à la suite, sur la même ligne...

Y a t'il un fichier de configuration particulier à smarty qui génère ce genre de ligne à l'appel d'un include ?

Merci d'avance,
Deb
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