1
Wolfseye
How to show more pictures in the PARTNERS Module ?
  • 2004/8/13 7:18

  • Wolfseye

  • Just popping in

  • Posts: 11

  • Since: 2004/6/29


Hi...

Can someone tell me, how it is possible to show more pics in the partners module at the same moment, not just one for any reload of the site. Should be possible.

And where can i change the resizing of the pics in it and maybe someone can also tell me how to center the pics there, because they are on the left side of the box, and that looks shit.


Wolfseye

2
Sebastian
Re: How to show more pictures in the PARTNERS Module ?
  • 2005/9/21 23:38

  • Sebastian

  • Just popping in

  • Posts: 23

  • Since: 2004/11/25


It's all in Block Administration for the Partners Block.

You can set the display limits there, NOT the Module Administration.

For centering, you'll have to edit the template (also in block administration for the block and change this.

<{foreach item=partner from=$block.partners}>
      <
a href="<{$xoops_url}>/modules/xoopspartners/vpartner.php?id=<{$partner.id}>" target="_blank">
      <{if 
$partner.image != ""}>
      <
img src="<{$partner.image}>" width="102" height="47" border="0" alt="<{$partner.url}>" <{$block.fadeImage}> /><br />
      <{/if}>
      <{
$partner.title}>
      </
a>
      <{if 
$block.insertBr != ""}>
      <
br />
      <{/if}>
      <
br />
      <{/foreach}>


to this

<{foreach item=partner from=$block.partners}>
      <
a href="<{$xoops_url}>/modules/xoopspartners/vpartner.php?id=<{$partner.id}>" target="_blank">
      <{if 
$partner.image != ""}>
      <
img [color=FF0000]align="center"[/colorsrc="<{$partner.image}>" width="[color=FF0000]102[/color]" height="[color=FF0000]47[/color]" border="0" alt="<{$partner.url}>" <{$block.fadeImage}> /><br />
      <{/if}>
      <{
$partner.title}>
      </
a>
      <{if 
$block.insertBr != ""}>
      <
br />
      <{/if}>
      <
br />
      <{/foreach}>


Accordingly, adjust your Width and Hieght attributes there.

I don't know if my advice is 100% accurate though so proceed at your own risk

Login

Who's Online

245 user(s) are online (132 user(s) are browsing Support Forums)


Members: 0


Guests: 245


more...

Donat-O-Meter

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

Latest GitHub Commits