It's increasingly common for one or more full (!$teaser) nodes to be displayed on a page which is not the 'node/*' page, for instance in the output of Views or Panels.
Something like this patch would allow for the display of edit/delete links for full nodes in contexts other than their node pages.
| Comment | File | Size | Author |
|---|---|---|---|
| admin_links_full_node-6.x-1.5.patch | 3.32 KB | Matthew Davidson |
Comments
Comment #1
dave reidI think I can implement this. Instead of checking the $teaser parameter, I'm going to check if
(arg(0) == 'node' && is_numeric(arg(1))) == FALSEwhich should hit any kind of node list (including views) besides the individual node page.I created a sample view that showed nodes with their full content and not their teasers, and it worked correctly.
Comment #2
dave reidNow available in the 6.x-1.6 release! Give it a try and let me know if it works for you!
Comment #4
k3vin commentedHi Dave,
support admin links are still only in node list but not in a full node view. I have seen some code is changing in version 6.x-1.7 so i can't use the patch from Matthew. It would be great if there is an option to have admin links in full node view.
Edit: The reason why i want admin links in full node view is, that i want remove the tabs on the top of the node. Otherwise this feature doesn't make much sense.
Thanks
bit7
Comment #5
dave reidThe only time links shouldn't be showing up is on the actual node/[nid] pages. Everytime else they should. Please try the latest code and report back if its fixed for you. If not, re-open the issue. I even just tested it with a View node listing displaying Full nodes and it was working just fine.