--- /Users/a1tsal/Downloads/talk 3/README.txt 2009-07-15 15:21:08.000000000 -0700 +++ /Applications/MAMP/htdocs/sites/all/modules/talk/README.txt 2010-04-14 20:01:02.000000000 -0700 @@ -18,6 +18,67 @@ INSTALLATION Administer >> Settings >> Talk. If the Token module is installed you can use tokens for nodes, the current user, or the site. +MAKING A "RECENT COMMENTS" BLOCK +================================ +The Talk module does not work correctly with the core (built-in) +"Recent comments" block. However, you can create a replacement using +the Token and Views modules. + +First, install and enable those modules (if they are not already +available on your site). + +Then you can create the "Recent comments" block with Admin > Site +Building > Views > Add. This involves quite a large number of steps, +but all of them require only clicking buttons and filling in forms. + +Set: View name: "recent_comments" + View description: "Recent comments" + View tag: leave blank + View type: Comment +Press Next. + +Then do the following sequences of operations: + +Relationships > Comment:Node > Add > Update + +Fields > + > Node:Nid > Add > Exclude from display > Update +Fields > + > Comment:ID > Add > Exclude from display > Update +Fields > + > Comment:Title > Add + Label: set it to be blank + Check Rewrite the output of this field and set it to "[subject]" + Output this field as a link: "node/[nid]/talk/#comment-[cid]" + turn off "Link this field to its comment" + Update +Fields > + > Comment:Post date > Add + Label: set it to be blank + Date format: "Time ago (with "ago" appended)" + Update + +Sort criteria > + > Comment:Post date > Add + Sort order: Descending + Update + +Filters > + > Node:Published or admin > Add > Update +Filters > + > Comment:In moderation > Add > Moderated > No > Update + +In the short left-hand column headed "Defaults", change the selector +to "Block" and do "Add display". +The "Block" display should now be selected in that column. +In "Basic settings", change the title to "Recent comments". Update. +Change "Style" to "HTML list". Update. + +Save the view. + +Now go to Admin > Site Building > Blocks. Select your theme. +In the disabled block list, you should find "recent_comments:Block". +Assign it to a region. +Assign the core "Recent comments" block to "". +Do "Save blocks". + +You should now see a "Recent comments" block in the region you +selected. Test it by clicking on one of them, and verify that it +takes you to the comment on the Talk page correctly. + AUTHOR ====== rötzi (http://drupal.tschannen.net/wiki/talk))