Conditional Display of Folder Names in Index Page
I'm building a knowledge base using CityDesk. There are several subjects and each one has its own folder. I want to create an index page for the entire knowledge base so that the subjects (folder names) are listed as headings and all the article headlines for that subject are listed underneath each heading. How can I make it so that the subject heading doesn't appear if there are no articles for it yet?
If I understand, use an IF statement and check to see if an extra field is empty. Put "Nothing_in_this_folder" in extra2 of the folder's index article. You'll have to remove it when something goes in the folder though.
I tend to do what Terry suggested above - don't put index articles in folders that don't have any real articles yet.
Or use scripts (more complex, but won't need you keeping of track index files).
Adriaan van den Brand
Fog Creek Home