I've been trying to get the current view in a viewfield footer so I can create a link using the argument passed to the view.

views_get_current_view() gives you the parent view.

The simplest way to get it seems to have a global vabiable with the current viewfield view.

I've attached a patch to do this.

CommentFileSizeAuthor
viewfield-current-view.patch662 bytesasciikewl

Comments

darren oh’s picture

Status: Needs review » Needs work

Patch conflicts with fix for issue 373373. Found duplicate issue 281409.

sun’s picture

Status: Needs work » Postponed (maintainer needs more info)

Is this still an issue?

asciikewl’s picture

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

Nope this works like advertised these days :)

Thanx.