Hi !
is there a way to add context as paramater to siblingnav?
or another simple "previous-next" pagination plugin ?
Thanks for your help !
[ed. note: troubadour last edited this post 12 years, 3 months ago.]
i installed all pdotools package and used snippet pdoNeighbors.
it's working, but not delimited inside context. and it shows hidden ressources.
do you know paramaters to that ?
-
☆ A M B ☆
- 24,524 Posts
You should be able to use a &where property; it looks like it should be a JSON-array.
You also might be able to use all of the properties that getResources uses, such as showPublished=`0` and context=`context`, but I'm not sure of that.
Hi!
i didn't find how to delimitate the ressources available through pdoneighbours within the active content.
does someone know how ?
i tried different things like :
[[!pdoNeighbors? &context=`[[+context_key]]`]]
but it doesnt work.
thanks !
did you also try
[[!pdoNeighbors? &context=`[[++context_key]]`]]
not sure, if [[++context_key]] returns something
thanks bruno!
i tried your code, but doesnt return anything... it's like pdoneighbour doesn't support context parameter ?