Home | Products | Consulting | Forums | Support | Order | 1-800-752-0455
  Main
Index
Search
Posts
Who's
Online
Log
In

Home: Products: Article Manager 2:
Trying to hide a blank row

 

 


Cross01
User

Feb 2, 2007, 7:26 PM

Post #1 of 3 (279 views)
Shortcut
Trying to hide a blank row Can't Post

Please forgive me if this is posted somewhere else in the forum, as I could not find anything in a search (could be I was searching for the wrong terms)...

What I'm trying to do is make an "templateif" that makes an entire row hidden if the placeholder is "", or blank. Below is the code for the row that needs to be hidden if article.agencycode is left blank. Please sho me the way.

<tr>
<td align="left" valign="top" bgcolor="#FFFFFF" class="bold">Code:</td>
<td align="left" bgcolor="#FFFFFF" class="bold">$article.agencycode$</td>
</tr>


Thanks in advance for any assistance!


Divya
User

Feb 2, 2007, 10:07 PM

Post #2 of 3 (277 views)
Shortcut
Re: [Cross01] Trying to hide a blank row [In reply to] Can't Post

Hi there

Thanks for the post Smile,

You are absolutely right that you can be able to hide the display of the table row by applying some templateif.

Try using the below code


Code
 
<!-- templateIf : $article.agencycode$ ne "" -->

<tr>
<td align="left" valign="top" bgcolor="#FFFFFF" class="bold">Code:</td>
<td align="left" bgcolor="#FFFFFF" class="bold">$article.agencycode$</td>
</tr>

<!-- /templateIf -->


Here this particular row won't be shown up if the place holder value $article.agencycode$ is left null or blank

Give this a try and let me know whether it helped
Cheers
Divya


Cross01
User

Feb 5, 2007, 7:15 AM

Post #3 of 3 (262 views)
Shortcut
Re: [Divya] Trying to hide a blank row [In reply to] Can't Post

Ugh, of course it's that simple. Thank you for your help! It works perfectly. Smile

 
 
 


Search for (options)
Products
CMS Builder
Article Manager
Realty Manager
Listings Manager
Order Now
Services
Priority Consulting
Support
Online Documentation
Support Forums
Support Homepage
Company Info
12 reasons to choose us!
Meet the team
Monthly newsletter
Contact Us
Toll Free: 1-800-752-0455
Phone: (604) 689-3347
Sales | Support
Conditions of Use | Privacy Policy | Copyright © interactivetools.com 2008
#201 - 2730 Commercial Drive, Vancouver BC Canada V5N 5P4