By steveadamo on
I have a view for one of my custom content types (which has user comments enabled). If I enter the node ID (in Live Preview) of a brand new node, I'm getting a return value of "Anonymous" for the user, and "n/a" for the body.
I've set a value for Empty Text, which I assumed would display for the newly created node (that had not yet had any comments). As soon as I add a real comment, the Anonymous | n/a entry is gone from the Live Preview in the view.
Where is this anonymous "comment" coming from, and how can I filter it from the view?
Comments
I've now looked in the
I've now looked in the database, and can find no entries for the nid in question (25). So, if there are no entries for "anonymous" in the comments table, where is this value coming from in the view?
*confused*
can u tell while creating a view u have used node in the first
can u tell while creating a view u have used node in the first form??
I'm terribly sorry, but I
I'm terribly sorry, but I didnt follow your reply. Can you repeat the question?
If you are on drupal 6 the place where you write view name
If you are on drupal 6 the place where you write view name ,view decsription and view tag you select if the view is for comments,nodes users etc.What have you selected over there??
Gotcha. The view was added of
Gotcha. The view was added of type "node". I'm betting you're suggesting I create the view of type comment?
well, i found a solution to
well, i found a solution to my problem... i never figured out there the default anonymous "comment" was coming from, but i added the following filter, which seems to have done the trick (and seeing as how I dont allow anonymous posts, this works for my specific situation).
Same problem here. Where do
Same problem here. Where do you add that?
Under Filters
Add the filter Comment: Author, and under the settings, set Operator: Is not equal to Value: Anonymous