Difference between revisions of "PT Blogs Feature Landing Page"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == Auto creating the blog landing page allows for an easy setup and creation of each Blog instance. The landing page will contain a listing of all the blog posts to …')
 
(Steps)
 
(5 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
== Steps ==
 
== Steps ==
# Verify that the "ptBlog2 Configuration" custom element has been updated to contain the "Blog Landing Page Template" field. If not updated, then follow the v2.1 upgrade guide to upgrade the custom elements.  
+
# Navigate the Blogs Manager page.
# Create a new template "Blog Landing" with the following settings:
+
## Select the 'Edit App Configuration' link at the top of the page.
## Add the "Posts2" custom element to the page.
+
## In the form, open the 'Features' tab.
## Set the render mode for the following:
+
## In the 'Blog Landing Page Template' field, select the Blog Landing Page template that was created during the installation.
### Rendering Mode: "Display existing element data (content reuse)" and "Render results dynamically based on a filter, or display all records.".
+
# On the "Blogs Manager" page, select the link for "Reset Site ADF" to have the updates take effect.
### Filter:
+
# To generate the landing page for a blog, add or edit a blog and select the following on the "Landing Page" tab:
#### Filter: Subset of records
+
## "Create Landing Page" field set to "True".
#### Post2.blogID Equals {request.page.metadata.blogs.blogID} (this is a ColdFusion expression)
+
## "Landing Page Name" field enter the landing page name for the blogThis field will default to "index".
##### Make sure to check "Force Cache".
 
#### Save Render Mode
 
###Ignore the error message for "Error evaluating a user-defined expresssion".
 
## Change the custom render handler to "Home Page Display".
 
## Publish the page.
 
## Save the page as a template and submit the template for public use.
 
# Go to the Site Administrator and metadata formsAdd a new binding for the "Blogs" form to the "Blog Landing" template.
 

Latest revision as of 19:45, 25 November 2011

Overview

Auto creating the blog landing page allows for an easy setup and creation of each Blog instance. The landing page will contain a listing of all the blog posts to be created when the blog is created or edited.

Follow the steps below to update the blog configuration to enable this feature.

Steps

  1. Navigate the Blogs Manager page.
    1. Select the 'Edit App Configuration' link at the top of the page.
    2. In the form, open the 'Features' tab.
    3. In the 'Blog Landing Page Template' field, select the Blog Landing Page template that was created during the installation.
  2. On the "Blogs Manager" page, select the link for "Reset Site ADF" to have the updates take effect.
  3. To generate the landing page for a blog, add or edit a blog and select the following on the "Landing Page" tab:
    1. "Create Landing Page" field set to "True".
    2. "Landing Page Name" field enter the landing page name for the blog. This field will default to "index".