ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Best approach for outline-numbered articles?

October 23, 2010 5:55pm

Subscribe [1]
  • #1 / Oct 23, 2010 5:55pm

    ashuttl

    17 posts

    I want to build an editorial style guide site for internal use at our company, with hierarchical organization and automatically generated outline numbering (so if I add one article above another, or create a new section, all the articles update their numbers automatically).

    Take a look at this for an example: http://www.chicagomanualofstyle.org/16/ch01/ch01_toc.html

    Only I need to be able to edit posts, really, although allowing people to comment would be nice.

    Is EE the right choice for this? What do you think would be the best approach? Or is there another system?

  • #2 / Oct 23, 2010 8:17pm

    Rob Allen

    3114 posts

    If you want automatically updating numbered lists then that’s what the <OL> tag is for.

    EE will easily handle all the content for you, including commenting, but the numbering is more to do with how your structure your HTML.

  • #3 / Oct 23, 2010 8:27pm

    ashuttl

    17 posts

    Thanks for the response. Nested <ol> tags can’t give you outline numbering, like 4.2.12 (unless I’m mistaken?)—I need a CMS to be able to handle that.

    But it’s not as simple as that anyway—I want posts that know what number they are in the hierarchy. So once you’ve clicked through to an entry (“4.2.13: Gilbert and Sullivan,” say), that entry knows what it’s number is and displays it as part of the headline (independent from the list).

    Possible?

  • #4 / Oct 23, 2010 11:20pm

    Rob Allen

    3114 posts

    You could use a custom field for your “order” number, then sort entries by the custom field values. That value could thene be reused wherever you wanted, such as the full entry page in the main heading.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases