-
☆ A M B ☆
- 397 Posts
What I am trying to do is use the pagination functionality of getPage to create a navigation. I have a folder called "History". Inside of this folder, I have resources, one for each year in a company's history. I am using getPage for the navigation because I want to only show 10 years at a time. So I have getResources using a limit of 1, so that getPage shows all pages and allows me to limit it to 10 entries and gives me the prev and next functionality. My only problem now is that instead of a page number listing "1 2 3 etc", I want it to show the pagetitle of all resources in the "history" folder. I have look around, but have not found a thread about this.
I would appreciate any help.
Thanks!
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
bump interested in this aswell
-
☆ A M B ☆
- 397 Posts
To solve this we created a free plugin:
http://rtfm.modx.com/display/ADDON/siblingNav
But you could also solve it by using this as well:
http://modx.com/extras/package/subpages
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
Can you use this with getpage?
-
☆ A M B ☆
- 397 Posts
You shouldn't need getpage. SiblingNav creates a navigation of all sibling resourcses inside of a container. If you want to display page numbers for the navigation, you can use the menutitle.
Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.