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

joachim’s picture

I 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.

jbrown’s picture

subscribing

grendzy’s picture

How 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.

iamjon’s picture

Status: Active » Closed (duplicate)

I'm marking this as a duplicate of [#564106 ]. Please update the issue queue there.

iamjon’s picture

Status: Closed (duplicate) » Postponed (maintainer needs more info)

I 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

iamjon’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Please feel free to reopen the issue if you have more info.