1
gruessle
{$block.recommendlink}>
  • 2003/10/16 11:02

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


Can someone explain to me what gos on here? I am trying to use {$block.recommendlink}> in my main theme but it does not work by it self.

Thank you

Quote:

<table class="outer" cellspacing="0">

<{if $block.showgroups == true}>

<!-- start group loop -->
<{foreach item=group from=$block.groups}>
<tr>
<th colspan="2"><{$group.name}></th>
</tr>

<!-- start group member loop -->
<{foreach item=user from=$group.users}>
<tr>
<td class="even" valign="middle" align="center"><img src="<{$user.avatar}>" alt="" width="32" /><br /><a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a></td><td class="odd" width="20%" align="right" valign="middle"><{$user.msglink}></td>
</tr>
<{/foreach}>
<!-- end group member loop -->

<{/foreach}>
<!-- end group loop -->
<{/if}>
</table>

<br />

<div style="margin: 3px; text-align:center;">
<img src="<{$block.logourl}>" alt="" border="0" /><br /><{$block.recommendlink}>
</div>

2
Herko
Re: {$block.recommendlink}>
  • 2003/10/16 11:09

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


That's because the value of $block.recommendlink is defined in the system blocks file, and the theme itself doesn't call that file to fill that variable. Perhaps someone can write a simple how-to on using smarty vars in other places then their designated blocks and pages?

Herko

3
gruessle
Re: {$block.recommendlink}>
  • 2003/10/16 19:13

  • gruessle

  • Friend of XOOPS

  • Posts: 348

  • Since: 2003/9/20


That would be good.

Login

Who's Online

185 user(s) are online (119 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits