I'm trying to create a view with the nodes that I added to my list.
What I seek is how to add a link or button to delete the node from the list that I'm showing with views?
Can I delete a node from a list created by "Flag lists" from a view?
If so, how? Can you help me? Please!

Ready waiting for their news,
Regards,
Barry Collins

Comments

awolfey’s picture

I need to add this feature (views field handler for the flag toggle) to the module. I will put it on my todo list.

rosko’s picture

I can't delete this comment, so I will say that I misread the question as deleting the node versus removing it from the list. You could remove it from the list with a similar tactic if you were able to get views to provide the token that authorizes the action. Sorry for the added post.

To delete a node from the database you would do this:

Create a page view with argument Flag lists: fid and give it a path. Add a field for Node: Nid Nid and check to exclude from display. Add a second field for Node: Title and check "rewrite the output of this field". In the text box put:

[title] - <a href="/node/[nid]/delete">Delete</a>

To see it in action go to the path with /list number, for example http://youserver.com/deltest/1 and you will something like:

How to draw clouds - Delete

awolfey’s picture

That is a link to delete the node (which views already provides, btw). The question is about unlisting a node.

orkutmuratyilmaz’s picture

This module could be useful for d6:

http://drupal.org/project/hlfov

sl27257’s picture

Issue summary: View changes
Status: Active » Closed (outdated)