Sourcefabric Manuals

 English |  Español |  Français |  Italiano |  Português |  Русский |  Shqip

Newscoop 4.3 Cookbook

Topic

The topic object is usually initialized inside a list of article topics or a list of subtopics. It can be initialized at the beginning of the template from the URL request, or by using the set_topic function in Newscoop. The topic object has the following properties:

  • name: returns the topic name in the current language defined in the template environment
  • value: returns the topic value in the following format: <topic_name_lang_code> = <topic_name>:<language_code>
  • identifier: the topic identifier in the Newscoop database
  • defined: true if the topic object had a valid value

There has been error in communication with Booktype server. Not sure right now where is the problem.

You should refresh this page.