By NRaf on
Instead of using the inbuilt content management system, I want to use views to list specific types of contents. The problem is, I don't want the user having to visit each node he wants to edit and then click on the edit or delete button. Rather, on the actual views page, I want a Delete and Edit button next to each content item. This way the user can simply click on what the what to do.
How can I go about achieving this? Is there any inbuilt module that does this automatically?
Comments
Any ideas?
Any ideas?
Anyone at all have any
Anyone at all have any ideas? I've tried searching on Google and the most relevant thing that comes up, ironically, is this topic.
add the links to the .tpl.php file
I don't know of a module that does this but you could add the links when you theme the list that views outputs.
Be sure to include the nid when you create your view, then you can use it like this in your views-view-list-YOURLIST.tpl.php:
Hmm, I was working on your
Hmm, I was working on your suggestions when I realized that views2 was out (I was still on the older version). Turns out links to edit and delete the data are inbuilt, although I don't remember them being present in the older version.