Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

{$foreach x in (folder ".")$}

I was hoping to loop over each article in a the current folder using but:

{$foreach x in (folder ".")$}

doesn't work.  Is there anything else like this that might work.

Having this feature, and along with (folder "..") would allow you create a single template that can automatically create a bread crumb navigation [1].

[1] http://www.welie.com/patterns/crumbs.xml

Gerry Shaw
Friday, February 08, 2002

Dealing with folders is a frequently requested feature:

http://discuss.fogcreek.com/CityDesk/default.asp?cmd=show&ixPost=1729&ixReplies=12

tk
Friday, February 08, 2002

I like the . and .. aproach.  I also like the reference in another thread to the idea of This folder, or this folder and its subfolders.  The whole folder issue is so key to content list management.  I look forward to the next version

Joel Goldstick
Monday, February 11, 2002

*  Recent Topics

*  Fog Creek Home