By kmiller-2 on
Hi,
My drupal site has 5 pages each containing a .PDF whitepaper. I would like to allow user comments on each page and have the comment links show up in the right sidebar. The trick is I only want to show the comment links associated with the current page/node. How would I "hide" the comments from the other pages when they aren't active? So for example, when "Whitepaper1/Node1" is active only user comments associated with Whitepaper1 will be visible in the sidebar.
Thanks in advance!
- Kevin
Edited by WorldFallz - corrected drupal version per comment from op.
Comments
_
I seriously hope you're not building a site with d7-- it hasn't been released yet.
In any case, you would do this with a comments block view and the "Node: nid" argument. You'll have to add the node relationship to get access to the nid argument and also use the "provide default argument" and "node ID from url" options as well.
right, I'm using v6.1 (sorry
right, I'm using v6.1 (sorry for the typo)
Anyway, thanks for the info. I am a total NB to Drupal. Would you suggest using the Views module? Or is there another module I should look into?
_
Views-- yes, the instructions in my comment are specifically for the views module. It's quite a complex module, but indispensable. Checkout the docs and the videos (available through the 'documentation' link on the views project page).
OK. I'll look into the Views
OK. I'll look into the Views module. Thanks again for your timely advice.
- Kevin
Quick question on Views. Is
Quick question on Views. Is Views 1 replaced by Views 2? Views 1 seems MUCH more user friendly, but I can't seem to find the installer for Views 1, just Views 2. Should I bite the bullet and invest my time in Views 2?
_
Yes-- there is no views 1 for d6. The module was completely rewritten for d6 and is amazingly more powerful and flexible.