...
- Right mouse click to activate the menu
- Select "design mode"
- You'll notice the page reload and container widgets should be visible on the page
Publishing Rules
Publishing rules are special content types that are set up to dynamically display content based on some predefined behaviour. FarCry ships with a library of publishing rules for contributors to choose from. Developers can customise these rules or build their own.
For example, the news rule allows a contributor to select a type of display, categories for filtering and the number of news items. When a visitor accesses the page with the rule, the predefined behaviours goes off and grabs the very latest news items matching the specified categorisation and displays them with the right template. When news content is added to the system, this rule will automatically update the page without any further intervention.
For example, the child links rule will display teasers from all a pages underlying child pages. This sort of behaviour is used to populate a summary or landing page dynamically based on the underlying pages of that section of the website. Add, update or remove a page and the landing page is automatically updated.
For example, the "random fact rule" will randomly pick and display a predefined number of fact content objects. This rule would update and refresh its content every page request. This is often used as a great way to show off testimonials or other snippets of information.
Walkthrough: Publishing News Content
Open the container editor for a page and schedule a News rule onto the page.
- Browse to a page within your section of the web site
- Change the view to design mode
- Click on the container widget to open the container management area
- Select the News Rule from the list and click "Move to Active Rules"
- Click on the button, "Commit Changes" to commit the changes
- Change the display teaser and restrict the output by category to highlight news rule features.