Fog Creek Software
Discussion Board




Knowledge Base
Documentation
Terry's Tips
Darren's Tips

All But First?

Okay, here's what I'm trying to do:

I'm trying to have different sections showing up on the frontpage, 3 articles of each.

The newest in each will have the title, and the blurb, whereas the other two will have only the titles. Is there a way to have CityDesk show only the newest in one way, then take the 2nd and 3rd and show them differently on a page?

Brian Bommarito
Wednesday, June 30, 2004

You can do that with javascript or your choice of server-side magic, but if there's a way to do it in CityDesk I haven't wrapped my head around it yet.

Kevin
Sunday, July 04, 2004

you could use css and adjacent simbling selectors:
http://www.w3.org/TR/CSS21/selector.html#adjacent-selectors

Include the title and the blurb, but create css rules so the the adjacent siblings (that is, not the first) will use display:none for the blurb.

Joel Goldstick
Friday, July 09, 2004

No.

Elle
Monday, July 12, 2004

No what??

Joel Goldstick
Monday, July 12, 2004

No - there is not a way to have CityDesk show only the newset in one way, then take the 2nd and 3rd and show them differently on a page?

A kludge work around is to drop something like "featured" into the keywords field. Then you can have two loops, one that shows the most recent records in a category that are featured, and a second that shows the rest, formatted differently.

Elle
Wednesday, July 21, 2004

*  Recent Topics

*  Fog Creek Home