Hello,
I'm looking voor a solution, workaround, to get the custom pager working on a view that has exposed filters.
Situation:
a) view: product_overview, with let say a category as argument and filters exposed (like type, color, ...)
b) custom pager that uses a view (product_overview), content type product
Problem:
the nodes of type product do have a pager, but it's not the pager as expected.
You filter the view (type : xyz, color: blue)
then when you click a xyz product that is blue, the pager doesn't know about the views filtering.
With the arguments, you can do little, just replace with a token, but this isn't as expected, because the tokens are based, I think, on the node you are viewing, not on the situation of the view you left by clicking on the product.
I hope the situation is clear, is it something I doing wrong, or can't I do it this way?
If this is not the way to go, does someone has an idea of how I can page the nodes from the view I came from?
TIA,
Fossie
Comments
Comment #1
jnettikI'm also very interested in this feature.
Comment #2
akshar commentedYes i am also in need of similar functionality...could anyone help
Comment #3
fossie commentedI have stopped using the custom pagers module for this.
Workaround, now I put the prev, next node nids in an array, populated by the full view (0 as results per page) applied with the selected filters.
After that you can simply lookup the prev and next nid in the node.tpl.php and write the pagination. It's rather dirty, but working solution.
HTH,
Fossie
Comment #4
akshar commentedThanks fossie for your help but do i need to write any code to get all the nids in an array or is there any configuration option with view that i can use.....thanks in advance
Comment #5
jmones commentedI also need this feature. Any progress on this? Any workarounds? fossie, could you explain a little bit further how did you solve this?
TIA!
Comment #6
jmones commentedFinally custom_pagers DOES really solve this issue.
The clue is to set " Remember the last selection" in each exposed filter we want to affect the selection of items to be paged.
Regards