2019-11-07, 07:06 PM
So for my awards page, I have added some custom code in the template to add an "Information" in the top of the page.
However, if I have 2 Award categories (OUGC Awards), this code will show on top of the first category, and on top of the second category.
I have Template conditionals plugin installed already, and I am assuming that I may need to do some more editing to the code now with php to show this instance only once where it is placed in the template. What code should I use to make this happen?
My code looks like this:
However, if I have 2 Award categories (OUGC Awards), this code will show on top of the first category, and on top of the second category.
I have Template conditionals plugin installed already, and I am assuming that I may need to do some more editing to the code now with php to show this instance only once where it is placed in the template. What code should I use to make this happen?
My code looks like this:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder tfixed">
<tr>
<td class="thead"><strong>Information</strong></td>
</tr>
<tr>
<td class="trow1 scaleimages"><span class="smalltext">Important Information Description Here
</span></td>
</tr>
</table>
<br /><table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="{$colspan_thead}">
<strong>{$category['name']}</strong>
</td>
</tr>
<tr>
<td class="tcat smalltext" align="center" width="1%"><strong>{$lang->ougc_awards_page_list_award}</strong></td>
<td class="tcat smalltext"><strong>{$lang->ougc_awards_page_list_name}</strong></td>
{$request}
</tr>
{$award_list}
</table>
<br />