1
jimbofoxman
XCGAL - Changing what info shows....

I am trying to modify the static block so it doesn't show the Submitter name, but rather the user1 (Defineable) info.

Here is the code:
<table width="100%" cellspacing="1" align="center">
  <{if 
$block.position == 1}>
  <
tr>
    <{foreach 
item=pic from=$block.pics}>
    <
td align="center" class="odd" style="padding: 10px;vertical-align: middle;">
                <
a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a><br />
                <{
$pic.caption}>
        td>
        <{/foreach}>
  tr>
  <{else}>
  <{foreach 
item=pic from=$block.pics}>
  <
tr>
    <
td align="center" style="padding: 10px;vertical-align: middle;">
                <
a href="<{$xoops_url}>/modules/xcgal/<{$pic.link_tgt}>"><{$pic.image}>a> <br />
                <{
$pic.caption}>
        td>
  tr>
  <{/foreach}>
  <{/if}>
table>


I thought by changing ($pic.caption) in both locations to ($pic.user1) it would change what gets displayed. Since both Caption and User1 are field names. But when I change it, the space is blank. When I change it back to "CAPTION" is goes back to normal.

Anyone have any thoughts?

Login

Who's Online

341 user(s) are online (264 user(s) are browsing Support Forums)


Members: 0


Guests: 341


more...

Donat-O-Meter

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

Latest GitHub Commits