Brick River provides easy tools for the creation and management of Web Page Content - both Static and Dynamic content.
Static Content is relatively permanent and does not require routine maintenance. A simple homepage may require no more than a photo, a phone number and headline to 'Call anytime for an appointment'. This content rarely needs to be edited - but when it does - it's nice when users can easily make changes without assistance from a designer or developer.
Dynamic, or 'Data Driven' Content is relatively impermanent and changes by the month,day, and hour - sometimes by the minute for a busy news site. A Blog or News Page should show an up to date index of current posts or most recent articles with older articles receding to secondary pages and eventually to an archive.
Virtually all websites are a mixture of:
Brick River site developers control the appearance of Static and Dynamic content using Layouts. Each Page is linked to Layout - and each Layout contains code to present either Static or Dynamic content, or both.
Only Administrators can create and edit Layouts - a process requiring at least a few lines of code - which is documented thoroughly in the Developer's Guide
Brick River provides a full Page WYSIWYG editor that allows users to easily maintain Static content directly on Page. To use this feature, developers create Layouts with one or more Editable Sections.
Using the Page window in the Web Console, each Editable Section can be populated with text, images, links etc. Any changes are immediately reflected on the web when the Page is published.
Virtually all dynamic content in Brick River is managed by using Views to create, edit, and approve Content and Contacts records. To use this feature, developers create Layouts with code which retrieves the desired content from a View and adds it to the page automatically.
For example, a site that regularly features new News articles may have a News Index Page designed to display thumbnails for the three most recent News articles. Content creators never need to touch the 'News Index' page. By using the 'News' View to create and publish a 'News' article - Brick River automatically updates the 'News Index' page to include the new article.
A developer may create Layouts which include both Editable Sections and code to present Dynamic content.
For example, A News Index Page may use an Editable Section at the top of the page to allow users to easily change the page title
Below the Editable Section, the page may include code to display the three most recent News articles.
The following is an example of a page using a layout with mixed content. The Layout includes two Razor Helpers and a Variable which drive dynamic content to the Page:
1 @BRT.Sitemenu("in-nav") - renders a list of links to pages related to the current page.
2 @BRT.BreadCrumb("breadcrumb") - renders breadcrumb links to parent pages.
3 @Title - renders the Title of the page.
and two Razor functions which create Editable Areas on pages using the Layout:
4 @RenderBody() - renders the editable area in the center column.
5 @RenderSection("sidebar") - renders the editable area in the right sidebar.
Like we said, creating layouts requires some scripting skills. The layout above uses HTML and C#. If you write code - Layout design is documented here in the Developer's Guide.
Users who have permission to edit this Page can use WYSIWYG tools in the Page Editor window to edit content in areas 4 and 5 . Areas 1 , 2 , and 3 are rendered by the Layout code and can not be edited here.