0

How can I customise the archive view in views 3 so that each user blog page has an archive relating to that page. The default view is for the whole site.

1

Add a "User" relationship, then just add the corresponding contextual filter. If absolutely necessary, you can set the contextual filter to always use the default value, and set it to be a raw value from the url, and set the number to wherever the username is in the url path.

Example:
url = http://mysite.com/user/USERNAME/blog/archive
raw value from path number = 2 (/user/USERNAME -- it's the second part of the path)

1
  • i've just tried it, still did work. Thanks for trying – Jasmine Ahmed Feb 16 '12 at 2:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.