Title: Embedding Sections in Articles

As of version 3.7, Traction allows users to define their own sections and embed them in articles. This lets users display a list of links or even full articles within the body of an article. This has many useful applications.



Embedding user-defined sections in an article handles all these use cases and more.

Sections can be based on static lists of links, a collection you have in your Collector, or a query for any cross section of content.

The same principles apply here as in Changing Front Page and Newspage Section Layouts.

Back in the help topic Making Links to Traction Articles, the example was an article with links to HR Policies. If a new policy is added, the author would have to edit the article and insert the new link to keep it current. Since all the target articles have the Policy label, using an embedded section to dynamically aggregate content would have made more sense!

Here is the article as it was published with written links:



Clicking Edit Article shows the text and the links:



Now click Edit Sections to create a section. The Edit Sections Dialogue appears, and we can define our section to pull in all articles with the :policy label:



You can define any number of sections to embed. In this case, we only need one. This section is configured as follows:



We can click OK to return to the Edit Article window, where we delete the old static list of articles and replace it with the syntax for including our section:



Now we click Submit to republish the article to reflect our updates. It now displays the section we've defined, in the location in which we indicated we wanted it displayed:



Now, if any post is added with the Policy label from the HR project, it will appear in this list automatically. Additionally, anyone with the appropriate Author permission can easily add to the section by clicking the Add button, which will bring up a Create New Article window with the HR Project and the Policy label selected.





Attachments:
image981.gif
image1038.jpg
image1040.jpg
image1041.jpg
image982.gif
Related Articles
Article: Doc87 (permalink)
Date: March 22, 2008; 3:56:53 PM Eastern Daylight Time

Author Name: Documentation Importer
Author ID: importer