By lamb0176 at umn dot edu on
When I look at my front page with commenting enabled for the recent nodes, I only have an "Add new comment" link at the bottom and no "View comments" or "Comments (#)" link. I believe in Drupal 4.6 I saw this. An example of a site that has this is http://gizmodo.com/
So, do anyone know how to enable a link on each node, on the front page, so I can see if there are comments for a node? I can see the comments when I click on the node but I want users to know if there are comments or not so they can save time by not clicking on each node.
Thanks in advance. :)
Comments
Some More
I noticed that the theme on this site even contains the comments link in the form "# comments" to click on. One option I'm considering is editing the comments module to make it display something on each node when the node is on the front page/teaser. One more note, I'm using the Garland theme but it seems to be the same for all themes. Any other ideas?
Some Images
Here is an image from the current Drupal 5, which has a red circle where I would expect to see a "# Comments" link:
http://img266.imageshack.us/img266/5788/nocommentset7.jpg
Here is an image from the Drupal home page, which has such a link:
http://img266.imageshack.us/img266/7057/commentslc3.jpg
Anyone know why I don't have this comment link or why I can't get it to show up? Anyone have any hacks for the comments module to add this link to each node that shows on the front page?
Drupal only adds the wording
Drupal only adds the wording # comments if comments really exist on the node otherwise it defaults to the inviting wording add new comment. So it's not really necessary to hack anything up, bad idea anyway.
Still Nothing
This doesn't seem to be the case. Even with nodes that have comments attached to them, they don't show the "# Comments" link on the front page. When I click the node title, it goes to the node and no links are shown but the comments appear at the bottom.
could it be that the stats
could it be that the stats module is not enabled and set up properly ? causing this ?
edit nevermind I just tested my theory, and that doesn't look to be the cause.
Modules
That's a good thought though, maybe I'm missing an important module? I also use a hosting service that doesn't allow temporary tables. I hacked the search.module to allow it to work. Do other modules, other than search and install, use temp tables that could affect this?
Something else I noticed is when I go to Administration -> Post Settings and change the post length to something like 200 characters, it doesn't actually trim the posts on the front page.
I even did a full clean install of Drupal 5.1 and am still having problems.
You will have to resave the
You will have to resave the nodes for your new comments settings to take effect. Like, if you change it from 200 to 400, or vise versa. Of use the
<!--break-->to trim it forcibly.Youfolder.com
Share what's in your folder for the Hispanic community in Canada.
That Sorta Worked
Re-saving nodes after changing settings worked but it's buggy. If you change to 200 and save a node then go to 400 and try to save the node, it's stuck at 200.
Anyway, I'm still having the original problem where the "# Comments" link does not show. :(
Re-Save Doesn't Work
I found that if I create a brand new node with comments set to Read/Write, they "# Comments" link shows when a comment is left. However, for nodes that were originally created with comments set to Disabled, even updating the node to Read/Write and then saving a new revision does not fix the problem.
Any ideas on this? I really don't want to create hundreds of nodes again from scratch that have the comments enabled the first time. Why doesn't updating the comments settings and "saving a new revision" fix this problem?