Re: News 1.44 options (Articles suivants et précédents + Table de sommaire) ? | Titre du sujet : Re: News 1.44 options (Articles suivants et précédents + Table de sommaire) ? par hamoudi sur 11/01/2006 14:48:48
Bonjour,
Oui j'avais modifier le template news_item
L'original c'était:
<table cellpadding="0" cellspacing="0" class="item">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="98%">
<tr>
<td class="itemHead"><span class="itemTitle"><{$story.title}></span></td>
</tr>
<tr>
<td class="itemInfo"><{if $story.files_attached}><{$story.attached_link}> <{/if}><{if $story.poster != ''}><span class="itemPoster"><{$lang_postedby}> <{$story.poster}></span><{/if}> <span class="itemPostDate"><{$lang_on}> <{$story.posttime}></span> (<span class="itemStats"><{$story.hits}> <{$lang_reads}></span>) <{$news_by_the_same_author_link}></td>
</tr>
<tr>
<td><div class="itemBody"><{$story.imglink}><p class="itemText"><{$story.text}></p></div></td>
</tr>
<tr>
<td class="itemFoot"><span class="itemAdminLink"><{$story.adminlink}></span><{if $rates}><b><{$lang_ratingc}></b> <{$story.rating}> (<{$story.votes}>) - <a href="<{$xoops_url}>/modules/news/ratenews.php?storyid=<{$story.id}>" rel="nofollow"><{$lang_ratethisnews}></a> - <{/if}><span class="itemPermaLink"><{$story.morelink}></span></td>
</tr>
</table>
</td>
</tr>
</table>
Et je l'ai transofromé en:
<TABLE WIDTH="650" BORDER="1"><TR><td class="itemHead" bgcolor="#FFE9BF">
<span class="itemTitle"><{$story.title}></span>
</td></TR></TABLE>
<table WIDTH="650"><tr> </tr>
<tr> <td><p align="justify"><FONT SIZE="3"><{$story.text}></font></p></td>
<TD VALIGN="TOP" WIDTH="20%"><script type="text/javascript"><!--
google_ad_client = "pub-6472792603404933";
google_ad_width = 250;
google_ad_height = 250;
google_ad_format = "250x250_as";
google_ad_type = "text";
google_ad_channel ="1248174846";
google_color_border = "FFF6E6";
google_color_bg = "FFF6E6";
google_color_link = "3333FF";
google_color_url = "993300";
google_color_text = "993300";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td><TD></p> </div></table>
<table><td class="itemFoot">
<span class="itemAdminLink"><{$story.adminlink}></span> <FONT COLOR="#FF0099" SIZE="3"><span class="itemPermaLink"><{$story.morelink}></font></span>
</td></tr></table><br><br><br><br>
J'ai essayé de mettre le template new_item d'origine et j'ai mis à jour le module mais toujours le même problème: les deux options ne s'affichent pas...
L'activation du mode debug smarty ne montre rien quand je vais sur un des mes articles?
Je suis donc un peu coincé
|
|