Campsite 2.3 User Guide

Campsite 2.3 User Guide

Select your language:  
    Search:   
<5.1.3. How to make a hard-coded link to an article?        5.2. Templates In-depth>

Print / Download:
Available languages: english Last update: 2005-09-21 11:21:58

5.1.4. How to check if there are any articles in a section?

This example shows you how to do something only if there is at least one article in a section.  In the example below, substitute the name of your article type for "news". This also assumes that publication, issue, and section variables have been set already.

<!** list article type is news OnSection is On>
    <!** if list start>
        <!** print section name>
    <!** endif>
<!** endlist>


add a note add a note User Contributed Notes
5.1.4. How to check if there are any articles in a section?
There are no user contributed notes for this page.

<5.1.3. How to make a hard-coded link to an article? 5.2. Templates In-depth>

  Last update: 2005-09-21 11:21:58
Website powered by Docmint Last update: 2005-09-21 11:21:58
Total page time: 0.238140106201