QR URLs in Views

Created on 11 February 2019, almost 6 years ago
Updated 1 August 2023, over 1 year ago

Hi there,

Is it possible to format the 'Content: Link to Content' field in views as a QR code? I need to create a view that lists the URL of each matching record as a QR code. Is there any other way to accomplish this with Barcodes?

Thanks for your help!

💬 Support request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇨🇦Canada mrogers

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇫🇮Finland Nchase

    With Replacement Tokens I'm only able to change the output of a field to something else as in content but not as in formatting. I can use a token from a field before to display that instead, but I can't render a field as Barcode with that token.

    Can you be more specific on how to override the template? I was looking into the structure and what is actually loaded, like for example when a Datamatrix Barcode is used in views the template is modules/contrib/barcodes/templates/barcode--datamatrix.html.twig. I can use that to override a specific view-view-field-* template of a field that initially wasn't thought of for Barcode, like the UUID or Content ID, which are both available in Views. But I don't see how the usual {{ ouptut -}} can be replaced on that level with {{ barcode }}

Production build 0.71.5 2024