List Info

Thread: Conditional list of sections




Conditional list of sections
user name
2006-10-07 12:28:57
You can list only sections that contain articles in the
following way:

<!** list section>
    <!** list article>
        <!** if list start> <!-- it means there are
articles in the current section -->
            <p><a href="uri
section"><!** print section name></p>
        <!** endif>
    <!** endlist>
<!** endlist>

Regards,
Mugur

---  <phorumcode.campware.org> wrote:
> Author: ortiba
> Link:  http://cod
e.campware.org/phorum/read.php?8,4716,4716#msg-4716
>
------------------------------------------------------------
--------------------
> 
> Hi all... i have this piece of code...
> 
> <!** local>
>   <!** publication name "My
Publication">
>   <!** issue current>
>   <!** section off>
>   <!** article off>
>   <!** List Section number smaller 15>
>      "><!** print section name>
>   <!** endlist>
> <!** endlocal>
> 
> Is it possible to list only that sections that contains
> articles in it?
> 
> Thank you for your help!
> Juan.
> 
> 
> -- 
> Sent from Campware Forums
> http://code.campware.
org/phorum
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection
around 
http://mail.yahoo.com 
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )