Posted by Raf on June 9, 2010 at 10:39am
I got a page that lists nodes (a list of services, where each service is a node). I now want to add those view / edit tabs above each item, so that if you click the edit tab, you can edit the node right below it.
I know how to add those tabs above a single node that spans the entire page, but am stumped on even figuring out how to start on adding them on a listing. Can anybody shed some light on this?
Thanks!
Comments
Are you using Views to
Are you using Views to generate the list? Views provides "Node: Link" and "Node: Edit Link" field types.
Thanks, I didn't know about
Thanks, I didn't know about that.
Very usefull!
.
Nope. Guy who taught me Drupal didn't understand the use of Views, so I build it all up in code... Got to get those tabs there within an hour (question came in at a reasonable time... about 2,5 hours ago :P ), so I don't think I've got the time to change it completely.
.
Yes! I'm starting to get the hang of this! Waaaaay beyond deadline, but turned out to be fine just as it is. Still, I'll be learning this further, as it'll definitely speed development time up.