backdrop-contrib / node_authlink

Backdrop CMS module that generates links to view, edit, or delete content without login.
https://backdropcms.org/project/node_authlink
GNU General Public License v2.0
1 stars 0 forks source link

Not clear where to find the authkeys and/or links #1

Closed yorkshire-pudding closed 3 months ago

yorkshire-pudding commented 3 months ago

Steps to reproduce

  1. Install module
  2. Enable on content type with one or more nodes
  3. Generate auth keys for 1 or more operations
  4. Navigate to node

Expected result Something like the screenshot on the D module page: image

Actual result No tab link image

indigoxela commented 3 months ago

That's not how it works in Backdrop. There isn't any page created for the authlink (no hook_menu), so the D10 screenshot is quite pointless here. :wink: (And usually a super-easy way to annoy me right away :speak_no_evil:).

You can get the key displayed by, for example a view.

Create a node based view (for example a block), add a contextual filter for nid, get the key as field. If your view is a block, put it somewhere in the layout.

yorkshire-pudding commented 3 months ago

Thanks @indigoxela Perhaps you could expand the README to explain this as it was not clear when installed or from the README

indigoxela commented 3 months ago

Perhaps you could expand the README to explain this

That's a good idea. :+1:

yorkshire-pudding commented 3 months ago

so the D10 screenshot is quite pointless here. 😉 (And usually a super-easy way to annoy me right away 🙊).

PS - sorry for annoying you with the D10 screenshot. I had no idea what I should be expecting. - I also get annoyed by all the "D10 does this so can we?"

indigoxela commented 3 months ago

...sorry for annoying you with the D10 screenshot

It's not all that bad, especially not if it's from you. :wink: But, yeah, Drupal-this-Drupal-that-Drupal-whatnot... :roll_eyes:

You seem to find my readme attempt helpful. I'll have another look later - with a fresh mind. But will probably merge it soon.