Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionLast revisionBoth sides next revision | ||
72:local_news [2018/07/16 19:26] – created bkkr | 72:local_news [2018/07/17 12:02] – [Local News Application Categories] bkkr | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Local News Application Categories ====== | ====== Local News Application Categories ====== | ||
+ | |||
+ | The Stages news application categories can also be configured individually. That means, categories can be removed or new categories can be added. This is done in the Stages configuration file named '' | ||
+ | === Individual Categories === | ||
+ | |||
+ | Please see the configuration file '' | ||
+ | === Type Conversions === | ||
+ | |||
+ | When the type of a category attribute is changed (e.g. from a text field to a date field), Stages must convert the old data into the new type. The following table shows how types are automatically converted: | ||
+ | |||
+ | | \\ New Type \\ \\ Original Type| string | ||
+ | |string|X|conversion without loss|conversion if string contains valid data, else DEL|DEL| | ||
+ | |text|use the first line of text|X|conversion if text contains valid date in first line, else DEL|DEL| | ||
+ | |date|conversion without loss|conversion without loss|X|DEL| | ||
+ | |selection|DEL|DEL|DEL|X| | ||
+ | |||
+ | //DEL: old attributes are deleted automatically// | ||
+ | |||
+ | Attributes are only converted when the delete attribute of the categories element is set to true, e.g. < | ||
+ | |||
+ | \\ | ||