| Re: News IMU Banner afther 3th news item |
| by acegamer on 2011/3/9 10:53:07 I'm sorry I didn't know that :) So special thx to BitC3R0 !! |
| Re: News IMU Banner afther 3th news item |
| by Mamba on 2011/3/8 20:16:26 The credit for the code goes to BitC3R0. I only emailed it to acegamer
|
| Re: News IMU Banner afther 3th news item |
| by acegamer on 2011/3/8 18:40:55 Thx to mamba it works now! for the peeps who wanna know how. edit the news_index.html template! <div class="pages_nav"><{$pagenav|replace:"(":''|replace:")":""}></div> <{xthemes_process action="run_method" method="format_news"}> <{assign var="i" value=0}> <{foreach item=story from=$wox_posts}> <{include file="db:news_item.html" story=$story}> <{if $i==2 || $i==9}> <div class="wox_news_banner"><{$xoops_banner}></div> <{/if}> <{assign var="i" value=$i+1}> <{/foreach}> |
| Re: News IMU Banner afther 3th news item |
| by acegamer on 2011/2/17 13:44:02 If it's not clear what i mean, please let me know! |
| News IMU Banner afther 3th news item |
| by acegamer on 2011/2/16 11:19:22 Hi Everyone, I'm using the news module and i try to get two banner formats of 300x250px side by side. Ather a 3th our 4th news item. For example: News 1 News 2 News 3 BANNER 1 - BANNER 2 News 4 News 5 News 6 News 7 ... I was looking in the template files of this module and i find this where the module calles all the news items. <{section name=i loop=$columns}> <td width="<{$columnwidth}>%"><{foreach item=story from=$columns[i]}><{include file="db:fun_item.html" story=$story}><{/foreach}></td> <{/section}> Does anyone know what i have to do to get this? Kind regards, Kevin |