By karc2008 on
Hi,
i created a content "User Image Gallery" and gave all rights to use a blog users to edit their own content. This all works fine. Even the image gallery is working and not too hard to user (I feared, I wouldn´t be able to do that), but how can I show a user all his own content sorted in categories ?
I don´t know what´s the best strategy to do it.
Thanks for any help... it´s enough if someone points to the direction. (like ... "use views!" or whatever).
Marc
Comments
Definitely views. You can do
Definitely views. You can do this pretty easily with views once you understand how views works.
Hmm, I tried.. but failed...
I tried, but failed at the moment.
I frist created the the new view, including the fields, Node:title, Edit, Delete, Creation Date etc., then I filtered it by the content type User Galleries, but I can´t find a filter, like "user = Author of node".
Soemone in the past told me to do it by using arguments, but aren´t arguments connected the url ?
What I want finally is a page-view, which is linked from the profile of the user, so it would be one URL for all, just with a different view-content.
Or did I get that wrong? Can it be done with filtering (and what filter should, I use?) or by argmuments?
Sorry, that I need more help, I thought, i would be able to do it, but I clearly still don´t understand arguments.
_
Check the views advanced help-- one of the tutorials is very similar to what you're trying to do.
I think, I got it (more or less by trial and error)
That´s what I did:
(I need to mention, that I just got the german version here, so I can just guess, what the english phrases for options and menus are)
Well, that´s all.. and it worked.
I hope, this is the right way to do it, and won´t bring up trouble of some sort in the future.
Depends on what you want. 1 -
Depends on what you want.
1 - Only I will go to the page of all of my content. No one else needs to be able to get there except me. If this is the case, then you can just use filters. The filter is under "User" group and is called "Current".
2 - If other people will be getting to the page as well as me, then you will need to use arguments (yes, they are connected to the url). Obviously, the argument in the url would need to be unique to the user (uid or username). The argument is under the "User" group and would be one of the options (whichever you choose). When you set your url, make sure to add % for the argument. For example, 'user/content/%' would be the url, and then that last argument would be added. You can also accomplish the first option by using an argument as well. Check out the different options when you add the filter.
Thanks for your help...
Seems this is a much easier solution than mine. But at least, I understood a tiny bit of arguments now.