Closed (duplicate)
Project:
Shorten URLs
Version:
7.x-1.1
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Mar 2012 at 01:51 UTC
Updated:
10 Aug 2014 at 04:52 UTC
Jump to comment: Most recent
Comments
Comment #1
icecreamyou commentedThis feature doesn't exist. I've marked several similar issues "by design" in the past, and I still think it's not a great idea since you can end up with a lot of requests to an external URL shortening service on one page, but I suppose I should leave that decision up to site builders.
Comment #2
mrpeanut commentedI must not understand how it works. How would I have a lot of requests? Maybe I didn't explain what I'm looking for correctly...
For any given URL (that could be a panel, it could be a view, a view within a panel, or a node on its own), I'd like a QR code in the sidebar for that URL. So, my thought was, mydomain.com/panel would only be one request, mydomain.com/view would only be one request, and mydomain.com/node would only be one request.
I was just going to create a view to create that QR code (and even then, I was only going to use a view because I was going to add other information, like a short URL and social media links).
Comment #3
icecreamyou commentedI think I misunderstood what you're trying to do because it sounds like you're abusing Views. Views is for making lists of things, not for displaying additional information about a single page. If you want to just display the short URL of the current page, you can do that with the "Short URL" block.
Comment #4
mrpeanut commentedHow do I display additional information about a single page, then? I've always created a view with a block with a contextual filter.
My goal was to have the short URL, QR code, and social media links all in one block. I can't do that with the default Short URL block.
Comment #5
icecreamyou commentedIf it were me I would do it at the theme or block layer, but I guess if Views works for you you can stick to it. But right now Shorten URLs doesn't provide a Views field for node views with the short URL of the node.
Comment #6
hanno commentedAs an alternative to a block view with a contextual filter you could use the module display suite to display additional node information in a region.
Comment #7
icecreamyou commentedThis will be fixed by #2317241: Better token support