When summary view is created, it probably will display links (or a jump menu)
This links are using as base path the first path founded in displays. I'm attaching a view export that just include a summary view. If you hit in "preview" all items are linking to "/"
This occurs because there is no page displays to get the path. This is a problem also when there is multiple displays with different paths. Users needs to create multiple views to get multiple summary views pointing to the right path.
As use case, let say an user want two summary views, one by tags (count) and other by month.
They will want to see something like
drupal (12)
joomla! (2)
wordpress (3)
and
But the links will point to my_path/argument_value (if my_path exists as the path of one of the display of this view)
I'm attaching a patch to allow to define the base path for the links that are generated by summary views.
Comment | File | Size | Author |
---|---|---|---|
#6 | img.png | 48.04 KB | dagmar |
#1 | views-3-summary-path.patch | 5.08 KB | dawehner |
#1 | views-2-summary-path.patch | 5.05 KB | dawehner |
views-3-summary-path.patch | 5.52 KB | dagmar | |
views-2-summary-path.patch | 5.48 KB | dagmar | |
Comments
Comment #1
dawehnerbase_path is not always defined here. I think we should set the default value of get_url first :)
same as above
too
Powered by Dreditor.
The rest looks fine. Here is a new patch
Comment #2
dagmarOk, it is working fine, thanks dereine.
It is a very simple patch, lets change the status.
Comment #3
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to all branches. Great feature, thanks!
Comment #5
Gauravk CreditAttribution: Gauravk commentedHi There,
I am facing this same problem that from contextual filter in jump menu, its linking to homepage instead of link displayed.
I am newbie to drupal and don't know how to fix this issue with the patch. Can you please point me in right direction by advising if i still need to patch something (and how) with drupal 7.23 and views 7.x-3.6. Thanks.
Comment #6
dagmar@Gauravk this was included three years ago.
Comment #7
Gauravk CreditAttribution: Gauravk commentedThanks dagmar, what should i mention in base path to open original link content than the homepage?
Secondly i want the jump menu not list, as this is pointing to additional piece of content on similar nodes.