Property of the script line: DiaryGridLines.
•The list of Slogan Tokens contained in the GridTemplate is automatically filled. These Slogan Tokens are of the form [:slog1] to [:slog15].
•To modify the rule for one of the Slogan Tokens, select it, modify the options at the top left and/or the associated Slogans Set, and then click on the Apply button (or click on the Undo button to undo the changes you just made).
•To remove the link between the current Slogans Token and any Slogans Set, select the Q++ root node. This will keep the other options, such as Start Cycle and Skip Slogan on Holidays Lists (see below).
•To clear all settings related to the selected Slogan Token index, use the Clear button.
Selected Slogan Set and Options
When you change the selection in the list of Slogan Tokens, the corresponding Slogans Set will be selected. If no Slogans Set is associated with the current Slogan Token, the Q++Studio root node will be selected.
Above the list of Slogan Sets are various options relating to the current Slogan Token.
Skip Slogan on Holidays list
This option is used to skip (ie. not insert) a slogan on dates when there is a holiday for any of the selected holidays lists.
The skipping of a slogan is triggered only by the date, and this feature will work even if the Slogan Token and Holidays Token are in different textboxes, or even if there are no Holidays Tokens anywhere in the GridTemplate.
The manner in which this "skipping" is done depends on the type of slogan set.
•In the case of "Run Once Only" or "Cyclical", no Slogan appears and the next Slogan in the list is used the next time (ie. none of the Slogans is skipped, they just do not appear on that date).
•In the case of "Month and Day" or "Specific Dates" the Slogan that was to appear on that date, if any, does not appear at all (not even later).
This option is used to control the starting point of the replacement of the Slogan Tokens. The implementation of this option also depends on the type of slogan set.
If the associated Slogans Set is "Run Once Only" or "Cyclical", and an index is chosen then will start from that index, the very first time the corresponding token is encountered.
•If you are not sure at which index you wish to start, you can press the ellipsis button and simply select the Slogan at which you want your slogan token's conversion to begin.
•This starting index is a property of the current script's Slogans Rules, not of the Slogans Set. This means that the same Slogan Set used in another Script can have a different starting index.
If a date is chosen for the Start Cycle at Date or Index setting:
•If the associated Slogans Set is "Run Once Only" or "Cyclical", then the corresponding token will be ignored until its date is the selected date, and will then start with the Slogan of the smallest index.
•If the associated Slogans Set is "Month and Day" or "Specific Dates", then the corresponding Slogan Token will only be replaced when it has reached, or exceeded, that date.
Finally, some things are not possible:
•It is not possible to have Q++Studio start at an arbitrary index and at an arbitrary date. Only one of the 2 options can be selected.
•If you opt to have a "Run Only Once" Slogans Set start at a given index, it will run until the end of the list, and the Slogans previous to the starting index will never be used. Q++Studio will not go back to use just the ones before the starting index.
•If the associated Slogans Set is "Month and Day" or "Specific Dates" , then you cannot use an index for this option (it makes no sense, as indices are not defined for these types of Slogans Sets).
Topic 087000, last updated on 12-Dec-2020