Difference between revisions of "PT Blogs Feature Landing Page"

From ADF Docs
Jump to: navigation, search
(Steps)
(Steps)
 
(3 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 "Create 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.
# Verify that the "Blog2" 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.
+
## Select the 'Edit App Configuration' link at the top of the page.
# Create a new template "Blog Landing" with the following settings:
+
## In the form, open the 'Features' tab.  
## Add the "Posts2" custom element to the page.
+
## In the 'Blog Landing Page Template' field, select the Blog Landing Page template that was created during the installation.
## Set the render mode for the following:
+
# On the "Blogs Manager" page, select the link for "Reset Site ADF" to have the updates take effect.
### Rendering Mode: "Display existing element data (content reuse)" and "Render results dynamically based on a filter, or display all records.".
 
### Filter:
 
#### Filter: Subset of records
 
#### Post2.blogID Equals {request.page.metadata.blogs.blogID} (this is a ColdFusion expression)
 
##### 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 forms.  Add a new binding for the "Blogs" form to the "Blog Landing" template.
 
# Navigate to the "Blogs Manager" page and select the "Edit App Configuration" to open the configuration custom element form. On the "Features" tab, set the "Blog Landing Page Template" select field to the template that was created.
 
# On the "Blogs Manager" page, select the link for "Reset Site ADF" to have the updates take effect.  
 
 
# To generate the landing page for a blog, add or edit a blog and select the following on the "Landing Page" tab:
 
# To generate the landing page for a blog, add or edit a blog and select the following on the "Landing Page" tab:
 
## "Create Landing Page" field set to "True".
 
## "Create Landing Page" field set to "True".
 
## "Landing Page Name" field enter the landing page name for the blog.  This field will default to "index".
 
## "Landing Page Name" field enter the landing page name for the blog.  This field will default to "index".

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".