[campsite-dev] 'topics' in campsite - interacting with the tracker
  • Hi all

    I need some information on how topics work / are planned to work in
    campsite. I haven't been able to make them behave as I would have
    expected in Campsite 2.3 so perhaps my understanding is a bit wrong.
    I've checked the docs but still have questions.

    * Multiple topics can be assigned to a single document?
    * What is the correct way to list the topics which a document
    belongs to?
    * Is it possible for a document to know the context in which it is
    being viewed? For example, if I write a 'topics' page, then click
    through to one of those documents, will I be able to write a link
    saying "back to other articles about LiveSupport" or whatever
    (assuming LiveSupport is a topc).

    I really need to be clear on these, especially in the case where there
    are *systematised* ways of doing these things, becuase we have some
    apparent need for the Tracker to be able to record this stuff.
    Presumably because TOL needs it?

    JP

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 1 Comment sorted by
  • Hi John,

    > * Multiple topics can be assigned to a single document?
    Yes, see article edit page, topics link

    > * What is the correct way to list the topics which a document
    > belongs to?
    There is no way; it will be implemented.

    > * Is it possible for a document to know the context in which it is
    > being viewed? For example, if I write a 'topics' page, then click
    > through to one of those documents, will I be able to write a link
    > saying "back to other articles about LiveSupport" or whatever
    > (assuming LiveSupport is a topc).
    Yes, setting the environment topic (see "3.9.2.7 Topic") will change the
    behavior of article lists: only articles having that topic will be listed.

    Topic "test:en"
    List article
    ....
    EndList

    This will produce only articles having 'test' topic. The topic is automaticaly
    appended to URL parameters so you don't have to set the topic in the current
    page:

    template1.tpl:

    click here

    template2.tpl:
    List article
    ....
    EndList

    This will also produce only articles having "test" topic.

    > I really need to be clear on these, especially in the case where there
    > are *systematised* ways of doing these things, becuase we have some
    > apparent need for the Tracker to be able to record this stuff.
    > Presumably because TOL needs it?
    For other details on this please ask topics guru Braja (braja@tol.cz).

    Mugur




    ____________________________________________________
    Start your day with Yahoo! - make it your home page
    http://www.yahoo.com/r/hs

    ------------------------------------------
    Posted to Phorum via PhorumMail