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.

Comments

dave reid’s picture

Version: 6.x-1.5 » 6.x-1.x-dev
Assigned: Unassigned » dave reid
Status: Active » Fixed

I think I can implement this. Instead of checking the $teaser parameter, I'm going to check if (arg(0) == 'node' && is_numeric(arg(1))) == FALSE which 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.

dave reid’s picture

Version: 6.x-1.x-dev » 6.x-1.6

Now available in the 6.x-1.6 release! Give it a try and let me know if it works for you!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

k3vin’s picture

Version: 6.x-1.6 » 6.x-1.7
Status: Closed (fixed) » Patch (to be ported)

Hi 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

dave reid’s picture

Status: Patch (to be ported) » Fixed

The 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.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.