Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to have Views automatically add a permalink at the bottom of a view that contains the full url for the current view, including any arguments?
Separately, is it possible to have the RSS feed icon placed at the bottom of a view that also has a Feed display type? This would also have the full URL to the RSS feed of a given view, including arguments.
An example of both of these can be found at the bottom left of http://drupal.org/project/issues/views
If views can't do this already, what do you think is the best way to add this in?
Thanks
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedI'm not sure the permalink is really needed, since Views uses the 'get' method exclusively, the actual URL given should, in fact, be the permalink.
Views uses drupal_add_feed to handle the feed icon for page displays, so the icon goes wherever the theme wants it to be; I would prefer not to override that behavior since that's the "correct" way to handle the RSS icon.
I'm going to leave this open for the moment since I'm not sure the answers I gave are actually satisfactory, but will require further convincing on these.
Comment #2
aclight CreditAttribution: aclight commentedGood point about the permalink.
As for the feed icon, I'll have to take a more in depth look at the theming to figure out exactly what you mean here. I guess it'd just be nice to have a check box for "Add rss feed icon to bottom of view" or something similar, but if this is easy to do in the theming layer than I agree that it's probably best to do it there. I'll mark this as fixed for now. If I need to follow up I can reopen.
Thanks
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedWell, I don't know about 'easiest' it's just that it's 'most consistent'.
see drupal_add_feed() for particulars.
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commentedAutomatically closed -- issue fixed for two weeks with no activity.