Closed (cannot reproduce)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2009 at 14:46 UTC
Updated:
7 Dec 2010 at 21:19 UTC
I'm looking at a node and I want to get the uid of its author as my block argument. I have accomplished this. However, each block view on the node will have a read more link (this link may or may not be the one that views provides through basic settings more link). After clicking the read more link you are redirected to the page view. Now the page view isn't on the node (obviously) so now my argument doesn't work. Is there a way to preserve the block display arguments so they can be passed on to it's corresponding page display.
Comments
Comment #1
joachim commentedI think what this involves is render_more_link() in views_plugin_display.inc adding the view's current arguments to $path.
It seems reasonable to me that if a block display is giving itself default arguments, that these should carry through to the more link.
Comment #2
jbrown commentedsubscribing
Comment #3
grendzy commentedHow strange - I am having the opposite problem. My "Read more" and feed links contain the block's default augments, so they end up linking to /calendar/42/900 which results in a 404.
Comment #4
iamjon commentedI'm marking this as a duplicate of [#564106 ]. Please update the issue queue there.
Comment #5
iamjon commentedI may have been a bit too zealous in my closing.
FatGuyLaughing,
Did you find a solution to your issue? If yes please post so other can benefit.
Were you using the default arguments on the view? If so you may need to add an action 'if argument is not present'
Marking as postponed
Comment #6
iamjon commentedPlease feel free to reopen the issue if you have more info.