Hi,
I have a page with 2 tabs in it, each tab containing a view with a non-ajax pager. When I click on the second tab and then click on the pager, I am redirected to the right pager page but on the first tab, which can be really annoying.

I've searched for a solution but couldn't find one. So what I would like to do is add anchors to pager links on these two tabs only, so he users stays on the same tabs when the page is reloaded.

On this page, I see that creating a phptemplate_pager_link() function in my theme could be a solution.

But how could I target a specific view, so that only on this view the pager is modified?
What is the right "workflow"? (start from hook_views_pre_build? hook_views_pre_render? From a view template file ? How?). Shall I pass a variable to phptemplate_pager_link()?

Any indications will be greatly appreciated!

Comments

MustangGB’s picture

Issue summary: View changes
Status: Active » Closed (outdated)