1
tatane
Edit a template x_movie
  • 2009/1/26 11:30

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1



Hello

I want to insert into the template of x_movie (x_movie_block_rand.html) adsence of a banner 468x15

The problem is that distorts all the banner theme of the coup because it is placed under each picture!

http://img292.imageshack.us/img292/8696/sanstitreqt5.jpg


I would put it like this example, the save so that you can see the banner on the length of the block

http://img292.imageshack.us/img292/9220/sanstitre1de6.jpg

thank you

2
webmystar
Re: Edit a template x_movie
  • 2009/1/26 13:42

  • webmystar

  • Friend of XOOPS

  • Posts: 415

  • Since: 2008/6/23


you have take a false ad format by google adsense.

3
tatane
Re: Edit a template x_movie
  • 2009/1/26 13:45

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


sorry but I is not understood your question

4
trabis
Re: Edit a template x_movie
  • 2009/1/26 14:06

  • trabis

  • Core Developer

  • Posts: 2269

  • Since: 2006/9/1 1


Please paste the code of the template here.

5
tatane
Re: Edit a template x_movie
  • 2009/1/26 14:13

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


Quote:
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<{foreach item=x_movie name=rand from=$block.x_movie}>
<td align="center" style="margin:0px;padding:5px 0px;">
<img src="<{$xoops_url}>/modules/x_movie/images/lis.gif" width="5" height="5" alt="">&nbsp;<a href="<{$xoops_url}>/modules/x_movie/x_movie_view.php?cid=<{$x_movie.cid}>&lid=<{$x_movie.lid}>"><{$x_movie.title}></a><br />
<a href="<{$xoops_url}>/modules/x_movie/x_movie_view.php?cid=<{$x_movie.cid}>&lid=<{$x_movie.lid}>"><{if $x_movie.logourl != ""}><img src="<{$x_movie.logourl}>" width="<{$block.width}>" height="<{$block.height}>" alt="<{$x_movie.title}>"><{/if}></a>
</td>
<{if $smarty.foreach.rand.iteration is div by $block.cols}>
</tr>
<tr>
<{/if}><{/foreach}>
</tr>
</table>

6
ghia
Re: Edit a template x_movie
  • 2009/1/26 16:38

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


And you inserted your banner code before the <{/foreach}>?
Try with insertion after the last line (</table>).

7
tatane
Re: Edit a template x_movie
  • 2009/1/26 17:35

  • tatane

  • Just can't stay away

  • Posts: 649

  • Since: 2008/5/6 1


nice,thank you

Login

Who's Online

170 user(s) are online (94 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits