Hi All, I've a little problem which I can't seem to figure out, pretty new to xslt so sorry if this is an easy one.
I'm creating a work portfolio where we can view all projects or view / filter projects by their tags. The structure of which is as follows...
Home - About us - People - Projects - Project 1 (tags: Print, Design) - Project 2 (tags: Design) - Project 3 (tags: Design, Illustration) - Project 4 (tags: Illustration) - Project 5 (tags: Film, Digital)
What I want to do is filter the work by their tags, so if I click on the filter for 'Design' it will show me a list of 3 design projects, click into a project and then let me page through the result eg. previous 2 of 3 next.
I've got it working without the tags using the code below...
*Note. I've got the site listing the tagged projects ok. It's just paging from one to another when you click in to view more project details that I can't seem to get my head around.
Deliverable is the name for the requestQuery used to identify which button has been clicked.
DevId is the value of the current button that has been click (which is derived from the deliverable requestQuery).
You can see it in action at www.infinitedesign.com/ The links under the project section are made up of unique tag entries for each type of work. When you click on a project type the deliverable QueryString is filled and relevan projects are then listed, click on one of the project then the pageing featre can be seen, top right.
Here is the final code that is being used on the site...
Paging through tagged projects
Hi All,
I've a little problem which I can't seem to figure out, pretty new to xslt so sorry if this is an easy one.
I'm creating a work portfolio where we can view all projects or view / filter projects by their tags. The structure of which is as follows...
Home
- About us
- People
- Projects
- Project 1 (tags: Print, Design)
- Project 2 (tags: Design)
- Project 3 (tags: Design, Illustration)
- Project 4 (tags: Illustration)
- Project 5 (tags: Film, Digital)
What I want to do is filter the work by their tags, so if I click on the filter for 'Design' it will show me a list of 3 design projects, click into a project and then let me page through the result eg. previous 2 of 3 next.
I've got it working without the tags using the code below...
It's just the paging with the tags that is causing me a headache, any help would be welcome.
*Note. I've got the site listing the tagged projects ok. It's just paging from one to another when you click in to view more project details that I can't seem to get my head around.
Hi, managed to figure this out, code below... (just need to add the project number you're on)
Hi, I am trying to understand your code, could you explain what is deliverable and devId?
Hi,
Deliverable is the name for the requestQuery used to identify which button has been clicked.
DevId is the value of the current button that has been click (which is derived from the deliverable requestQuery).
You can see it in action at www.infinitedesign.com/ The links under the project section are made up of unique tag entries for each type of work. When you click on a project type the deliverable QueryString is filled and relevan projects are then listed, click on one of the project then the pageing featre can be seen, top right.
Here is the final code that is being used on the site...
Anything else just give me a shout.
is working on a reply...