Difference between revisions of "PT Blog Version 2.1 Upgrade"
From ADF Docs
(→Blog2) |
(→Updates) |
||
Line 130: | Line 130: | ||
### On the first column, rename the header to "blogTemplate", and then delete the column from the datasheet. | ### On the first column, rename the header to "blogTemplate", and then delete the column from the datasheet. | ||
## The datasheet will now show 3 icons in the first column of the datasheet. The 3rd icon will open to the blog dashboard. | ## The datasheet will now show 3 icons in the first column of the datasheet. The 3rd icon will open to the blog dashboard. | ||
+ | # Blog Subsite Field | ||
+ | ## The subsite field in the Blog2 custom element has been replaced with a new field called 'subsiteURL'. '''All the blogs records (not the blog posts) need to be updated for this new field.''' Follow the steps below to remove this field. | ||
+ | ### Navigate to the Blog Manager. Edit all the blog records. In the blog form, enter the subsite path in the 'subsiteURL' field that is displayed in the 'subsite' select field. | ||
+ | ### After all the blog records are updated. On the site administrator and manage the elements. Open the field definitions for the 'Blog2' custom element. Delete the 'subsite' field from the custom element. |
Revision as of 19:25, 25 November 2011
Contents
Overview
This guide to to upgrade the PT Blog v2.0 application. If upgrading from a lower version than v2.0, please follow the Version 2.1 Install Guide to validate your installation.
Custom Element Updates
PTBlog2 Configuration
Create the following new tabs:
- Features:
- Display Name: Features
- Sort Name: 2-features
- Tags Feature:
- Display Name: Tags Feature
- Sort Name: 3-tags-feature
- Update the first have "Sort Name" = "1-blog-configuration" to fix the tab in the first position.
Add the following new fields:
- Name: blogIndexTemplate
- In the "Features" tab
- Type: Template Select
- Label: Create Blog Landing Page Template
- Description: Select the template for the blog landing page to be created. The auto create for the blog landing is enabled/disabled at the blog level.
- Name: enableSubsiteDate
- In the "Features" tab
- Type: Selection List
- Option Source List = Value List
- Option List = True,False
- Default Value = True
- Label: Enable Date Subsite
- Description: Check the box to enable the blog subsite path to build date subsites based on the blog post date. If checked, enter the subsite date format mask in the text field below.
- Name: tagsIntegrated
- In the "Tags Feature" tab
- Type: Selection List
- Option Source List = Value List
- Option List = True,False
- Default Value = False
- Label: PT Tags Integrated
- Description: Select True/False for if the PT Tags has been integrated into the blog posts for the tags field.
- Name: tagsPageTemplate
- In the "Tags Feature" tab
- Type: Template Select
- Label: Tags Listing Page Template
- Description: Select the template for the blog tags listing page to be created from. The auto create for the blog tag listing page is enabled/disabled at the blog level.
Blog2
Create the following new tabs:
- Landing Page:
- Display Name: Landing Page
- Sort Name: 2-landing-page
- Tags:
- Display Name: Tags
- Sort Name: 3-tags
- Notifications:
- Display Name: Notifications
- Sort Name: 4-notifications
- Update the first have "Sort Name" = "1-blog2" to fix the tab in the first position.
Add the following new fields:
- Name: Subsite URL
- In the "Blog2" subsite.
- Type: Text
- Maximum Length = 255
- Size = 40
- Label: Subsite URL
- Description: Enter the subsite path for the blog post pages (and landing or tags listing pages) to be created in.
Example: "/mysite/blogs/" or "/mysite/my-blog/" - Move the field to under the "name" field.
- Important Note: This field is going to replace the 'subsite' field that currently exists. The steps below will walk through this update.
- Name: autoLandingPage
- In the "Landing Page" tab
- Type: Selection List
- Option Source List = Value List
- Option List = True,False
- Default Value = True
- Label: Create Landing Page
- Description: Enable or disable the landing page from being auto generated.
- Name: landingPageName
- In the "Landing Page" tab
- Type: Text
- Default Value = index
- Size = 40
- Label: Landing Page Name
- Description: If Create Landing Page is enabled, enter the page name for the landing page to be created.
- Name: rssFeed
- In the "Landing Page" tab
- Type: Selection List
- Option Source List = Value List
- Option List = True,False
- Default Value = True
- Label: Display RSS Feed
- Description: Select the option to enable/disable the RSS feed icon to display on the blog landing page.
- Name: autoTagsPage
- In the "Tags" tab
- Type: Selection List
- Option Source List = Value List
- Option List = True,False
- Default Value = True
- Label: Create Tags Listing Page
- Description: Enable or disable the tags listing page from being auto generated.
- Name: tagsPageName
- In the "Tags" tab
- Type: Text
- Default Value = tags
- Size = 40
- Label: Tags Listing Page Name
- Description: If Create Tags Listing Page is enabled, enter the page name for the tags listing page to be created.
- Name: notificationGroups
- In the "Notifications" tab
- Type: General Chooser
- Chooser Bean Name: blogsUserGroupsGC
- Label: Groups
New Features
- Import the "Blog2 Feature Data" custom element.
- Follow the V2.1 install guide to build the following templates and pages:
- Templates > Landing Page Template
- Templates > Tags Listing Template
- Create Blog Feature Data Management Page
Updates
- Metadata Form:
- Rename the metadata form to "Blogs2" (from "Blogs"). Potential issue if you have the old Blog application installed and have a custom metadata form named "Blog" within your site.
- Update the Blog Post template render mode filter expression with "request.page.metadata.blogs2" metadata form.
- Update the Blog Post Landing Page and Tags Listing templates if they are created.
- CCAPI
- Update the CCAPI Page to include the "Blog2 Feature Data" element. Review the V2.1 install guide for "CCAPI Configuration" to make sure all the CCAPI elements are configured.
- Update the CCAPI Page to include the "Blog2" element. Review the V2.1 install guide for "CCAPI Configuration" to make sure all the CCAPI elements are configured.
- Blog Manager Page
- The new blog manager page has removed the "dashboard" link to an icon along side the edit and delete icons.
- Follow the following steps to update the datasheet:
- Edit datasheet columns
- On the second column (blogID), change the render handler to:
- /ADF/apps/pt_blog/datasheet-modules/blog_edit_delete.cfm
- On the first column, rename the header to "blogTemplate", and then delete the column from the datasheet.
- The datasheet will now show 3 icons in the first column of the datasheet. The 3rd icon will open to the blog dashboard.
- Blog Subsite Field
- The subsite field in the Blog2 custom element has been replaced with a new field called 'subsiteURL'. All the blogs records (not the blog posts) need to be updated for this new field. Follow the steps below to remove this field.
- Navigate to the Blog Manager. Edit all the blog records. In the blog form, enter the subsite path in the 'subsiteURL' field that is displayed in the 'subsite' select field.
- After all the blog records are updated. On the site administrator and manage the elements. Open the field definitions for the 'Blog2' custom element. Delete the 'subsite' field from the custom element.
- The subsite field in the Blog2 custom element has been replaced with a new field called 'subsiteURL'. All the blogs records (not the blog posts) need to be updated for this new field. Follow the steps below to remove this field.