Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
72:local_news [2018/07/17 11:59] – [Local News Application Categories] bkkr | 72:local_news [2024/02/15 00:00] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 4: | Line 4: | ||
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 '' | 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 === | === Individual Categories === | ||
- | Please see the configuration file '' | + | Please see the configuration file '' |
=== Type Conversions === | === 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: | 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 \\ | + | | \\ 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// | ||
- | \\ Original Type \\ | + | Attributes are only converted when the delete attribute |
- | |string|text|date|selection| | + | |
- | |string |X |conversion without loss|conversion if string contains valid data, else DEL|DEL| | + | |
- | |text|use | + | |
- | |date|conversion without loss |conversion without loss|X|DEL| | + | |
- | |selection|DEL|DEL |DEL |X| | + | |
\\ | \\ | ||