I have code as follows:
<% control ImageResources %>
<% if TopActive == ID %>
<ul>
<li>not showing the image with ID= $Top.Active</li>
</ul>
<% else %>
<ul>
<li>DATA= $Top.getActive ... $ID - test this style call</li>
<li>DATA= $Top.Active ... $ID - test this style call</li>
<li><a href="{$Top.Link}Display/{$ID}" >$Title</a></li>
<li>caption: $Caption</li>
<li>$AttachedImage.SetRatioSize(50,50)</li>
</ul>
<% end_if %>
<% end_control %>
I can't figure how I can use an if statement to compare the local ID and the ID from a level up.
You can see I have a couple test li, that show me that I am getting the Top.Active and ID, and I can see when they match.
I just can't get the template to like my conditional.
Please help.. this should be easy I would think.