Hello,
I am trying to use a conditional statement to check whether or not to display HTML within a certain sub function.
Example (Unedited):
<!-- begin catalog_sub -->
<li><a class="smallText" href="{list_url}">{catalog_sub_name}</a></li>
<!-- end catalog_sub -->
Example (What I'd like to do):
<!-- begin catalog_sub -->
<!-- if catalog_sub_name -->
<li><a class="smallText" href="{list_url}">{catalog_sub_name}</a></li>
<!-- endif -->
<!-- end catalog_sub -->
This will check whether or not the catalog_sub_name variable is null or defined... if defined, show the HTML.. vise versa.
I've used conditional statements in phpBB, not sure if you support them.
Thanks,
DJ