Hello All,
I have two types of blogs on my site...my wife and I, which we will write for ourselves and a second set of blogs for our children...very young, so we will write for them. So, I don't want the blog tied to the user, so in the future when our kids are older and want to write their own, they can. I also have a few other reasons, which are so I can display authors as nodes, instead of users. Thus I've created a content type called "Authors". And added a cck field called "blog authors" to my blog entry content type.
So, in summary...two content types...Blog Authors and Blog Entry.
I have one cck field attached to Blog Entry...called "Blog_Author" which pulls its values from a user reference field select list.
What I want to do is create a page, that based on the URL, displays only the posts of a particular author. Simple...the blogs for that author.
1. So, my example... my starting page is Http://base_url/hammock_talk
2. I have a rotating DDBlock, which shows pictures of each author and a description of their blog...each image has a "READ MORE" link.
3. This link goes to http://base_url/hammock_talk/[author_name]. For example if I click on the image for myself...the link goes to http://base_url/hammock_talk/bhylenski.
4. When I arrive on this page I want it to display the blog entries for myself, bhylenski.
So, I setup a view..to display the blog fields on a page. Page View settings:
1. Path = hammock_talk/%
2. For my argument I selected the cck field "blog_author" - but am confused on how to actually set everything up...I've read the documentation and I think I pretty much leave it to it's default setup to start.
3. Filtered the view to only display blog_entry content types.
4. Added the fields I wanted.
I assume that this should be enough. Everything works, until I click on the "read more" link, it goes to the right page, with the right author in the URL...but nothing is returned from the view? Why? Suggestions? How can I trouble shoot this? Could Pathauto be screwing with this? How do I check what is being sent to the view?
Any help or if you need further information from me, please let me know!
Comments
Comment #1
manuel garcia commentedbhylenski, this not an issue for views_accordion, views_accordion has nothing to do with arguments... this module is only used for displaying the results as an accordion, so your support request is outside the scope of this module.
I'm feeling generous, so I will tell you what I think of your setup:
1. If you want to use nodes for user profiles, use http://drupal.org/project/content_profile
2. You can allways change the author of any node to the user you want it to be, if you have the right permissions. I would create a user for each of you kids, and do it that way, using uid as the argument.
I will not reply any more to this issue, because it is not a support request for views_accordion, so good luck with it!
Comment #2
bhylenski commentedSorry guys, as you probably can deduce it was a mistake. Views is right next to views accordian in the dropdown. my apologies, but thank you for the response Manuel, I look into content profile.
Bryan