Saturday, January 14, 2012

Two Level Comments, And One Known Post Template Update

From feedback being received about the recent release of two level commenting, and the many different problems attributed to the release, it appears that there is one commonly identified update to the post template. It's possible that adding this one change, to some blogs with tweaked post templates, may eliminate the need for a post template refresh.

This is a simple change - but it must be made in 4 different places. I highly recommend that you backup the template, before and after making this change. Allow 30 minutes, to concentrate properly on the task.

Installation of this one post template patch may eliminate the need for many people to refresh the post template. It's also possible that this change, done in reverse, may let you disable two level comments, should you wish. In either case, please do this carefully, when you are relaxed, and able to concentrate.
  1. First, backup the template.
  2. Edit the template using the "Edit HTML" wizard, and select "Expand Widget Templates".
  3. Carefully search for each instance of
    <b:include data='post' name='comments'/>
  4. Note that the target snippet (above) is entirely contained in the replace snippet (below). When you identify each snippet found, carefully examine it to make sure that the required code is not already present! Do not replace the target snippet with itself, redundantly!
  5. Replace each instance found, if not already present, with
    <b:if cond='data:post.showThreadedComments'>
    <b:include data='post' name='threaded_comments'/>
    <b:else/>
    <b:include data='post' name='comments'/>
    </b:if>
  6. Save Template.
  7. Clear browser cache, and restart the browser. Test your changes.
  8. Again, backup the template.

Again, I'll advise you to backup the template, before and after doing this.

>> Top

Elm0D

Author & Editor

Has laoreet percipitur ad. Vide interesset in mei, no his legimus verterem. Et nostrum imperdiet appellantur usu, mnesarchum referrentur id vim.

0 comments:

Post a Comment

Navigate» Become author for this Blog

Manual Categories