Sourcefabric Manuals

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

Newscoop 4.3 Cookbook

Subtitle (subheads in long articles)

The subtitle object is usually initialized inside a list of subtitles. It can be initialized at the beginning of the template from the URL request but can not be initialized by other Newscoop functions. The subtitle object has the following properties:

  • number: the order number of the subtitle (starts from 0)
  • name: subtitle name without the HTML formatting
  • field_name: the article field name to which the subtitle belongs
  • formatted_name: the subtitle name with HTML formatting
  • content: the subtitle content
  • count: the number of subtitles in the field content
  • has_previous_subtitles: true if previous subtitles exist
  • has_next_subtitles: true if subtitles exist after the current subtitle

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

You should refresh this page.