Electoral Math
Reality-BasedTM Political Numbers from Nicholas Beaudrot

Home | Mail  | RSS 

| Home | Can't anybody here play this game!

Listmania
Stuck in my head: Bubba Sparxx, "Nowhere"

CityDesk gotchas

You may have noticed the snazzy new archive index, complete with a nice article list. Creating an archive is slightly (but only slightly) clumsy in CityDesk. The CityDesk Knowledge Base has an article describing how to use the "extra" fields to create the illusion of nested folders for the purposes of displaying "breadcrumb" links. However, making the small step to creating a nested archive doesn't quite work. You might think that having your master index have code like this:

then setting the "extra2" field of each sub-index page to this might work

No such luck.

Variables like "thisFolder" are evaluated in the context of the article they are published from, not the context of the article where they appear. So your master index page will just have sub-indices that include all the articles in the same folder as your master index. Well That Doesn't Help!

The fix is to explicitly put the path to each sub-index in the extra2 field, rather than use "thisFolder". So try this:

 

How often do you have High Fidelity-style "best of" debates? Here are Best Of lists for a few personal favorites.

Sleater-Kinney Albums

  1. Dig Me Out
  2. Call the Doctor
  3. All Hands on the Bad One
  4. One Beat
  5. The Hot Rock

X-Files seasons

  1. 4
  2. 3
  3. 5
  4. 6
  5. 9
  6. 7

Games in the Final Fantasy Series

  1. II (US release, aka IV)
  2. X
  3. VIII
  4. VII
  5. IX
  6. III (US Release, aka V)
  7. I

Buffy the Vampire Slayer seasons

  1. 5
  2. 2
  3. 3
  4. 6
  5. 1
  6. 4
  7. 7

Do you have lists of your own? I'm curious.


| | technorati

Home | Mail  | RSS

Last updated by Nicholas Beaudrot on 11:34 13 February 2005
Powered by CityDesk
Comments & Trackback by HaloScan.com