By default, when you create a new article on the Articles main tab in Ted4 or Fred4, a body element of the article is automatically created, so reporters can immediately start to write the content.
You may want to automatically add some more elements on article creation. To achieve it, you can use either global settings, or personal preferences.
Since 1.4.1599.x, you can define on the global level which elements are to be added to an article when creating it, either from scratch or from a story. There’s a global preference EdConfig.glbNewArtElts. By default, it’s an empty string, thus the GN4 system behaves as before – it always adds a body element, and it adds some extra elements, if they’re selected in the user’s personal preferences. If you add the below line to the <Dict node of the Editorialconfig, e.g. <Item Name="glbNewArtElts" Value="head,subhead,intro" /> … taking care to write-in only the names of the valid article elements, delimited by comma (without the leading and trailing spaces, without trailing comma), e.g. as in above example, putting “head, subhead,intro”, on each creation of an article in Ted4 or Fred4 or during merge, all the listed elements will be added to the article automatically, overriding related personal preferences. Important notes •System doesn’t check if the content of the glbNewArtElts string represents a series of valid article elements – il will go to error if you write a nonsense name(s). •System doesn’t take out leading and trailing spaces, extra commas or similar – it will go to error. Don’t use spaces, count well the commas. •Body element is added by default, so don’t write it in the Value. •The order in which article elements are entered is not important. •As for now, if the head element is specified in the string, it will be added to the article when merging a wire, but the head content will not be populated automatically. •If your custom add-ins contain a newarticle sub, remove it - it’s not needed anymore, the standard subs will handle the above as explained. |
Personal settings are enabled only if global settings are not defined. Enable auto-creation of article with head and body 1.On the Edit menu of the Articles main tab in Ted4 or Fred4, select Preferences. 2.Click the Extra tab. 3.Select Add head when creating article. From that moment on, all the new articles created on the Articles main tab will have body and headline element. Enable auto-creation of article with head, webhead and body 1.On the Edit menu of the Articles main tab in Ted4 or Fred4, select Preferences. 2.Click the Extra tab. 3.Select Add head when creating article, and then select Add webhead when adding head. From that moment on, all the new articles created on the Articles main tab will have body, headline and webhead element. |