By outofthegallery on
Hi,
I am trying to something that I think should be quite simple, but I can't work out how to do it.... any help would be much appreciated!
Basically I have a site with multiple users, where I would like for a list of all content that each user has posted to appear on each users profile.
Althought the content will be primaarily accessed through menus, i would like for people to see what content each individual user has uploaded.
I have thoguht about using views, and gallery but not sure if that is the simplest way....
thanks!
Comments
Create a view that selects
Create a view that selects whatever node types you want and the number you want to show, creating just a block, not a page. You will of course need to configure the block to show only on user/* pages. Add an argument "User: UID is Author" and in the argument handling code box enter the following:
I think this is what you're looking for, hope it helps...
Katherine
thanks so much for your
thanks so much for your help!
The only problem is, that now what is happening is that
all recent posts are showing up in a list on the user list page, rather than each users' posts showing up on their individual profile page.
I think that is strange.
Is there something else I need to do to configure the block to show only on user/* pages?
Im sorry, I am very new to this, so I am a little bit slow!
Thanks for replying though!
i have worked out how to
i have worked out how to create views so that the content is organised into each user, and will appear at the url
http://www.example.net/audio/user/1
or
http://www.example.net/video/user/1
etc, but what i really want is for all types of the content the user has posted to be displayed on their single profile page rather than on seperate pages....
i think there must be a simple way to make this transition, that I cannot work out myself!
ok, thanks for the patience
ok, thanks for the patience i have finally worked it out. i simply had to place the block into the profile page (duh) sorry and thanks! that really got me!
ok, thanks for the patience
ok, thanks for the patience i have finally worked it out. i simply had to place the block into the profile page (duh) sorry and thanks! that really stumped me!
ok, glad you got it working
ok, glad you got it working ;-)
hi again sorry, i just have
hi again sorry, i just have one more question, which is - how do i get this to work on each users page independently? I have got it working so when each user looks at their own page, all of their content is displayed. this works between accounts, however when a user looks at anyone else's page it does not display that users content.... ? any suggestions?
Panels maybe?
I think you need to filter your view by created by author.
How about panels, you can then layout all page by blocks, views etc. ?
Hi, yes i am using a block
Hi,
yes i am using a block view, i think the problem is coming in the block view, and that is what should be fixed. because i tried to do a panel but then i wanted to use the same block view, so therefore had exactly the same problem.
The thing that is confusing me is that the view is visible on each users own account, but invisible to any other user. (ie. you will not be able to see it on any other users page.)
I will let you know the settings of my view to see if you can see any mistakes!
___________________________________________________________________
>>Block
x Provide Block
View Type: Full Nodes
Nodes Per Block:20
x[more] Link?
>>Arguments
User:UID is author > Return Page Not Found
>>Argument Handling Code
if (arg(0) == 'user' && is_numeric(arg(1))) {
return array(arg(1));
}
>>Filters
Node: Published > Equals >Yes
Node:Type > is one of > Audio, event, discussion, images, video, opportunities, spaces, works
Node:Author is Current user > is equal to > currently logged in user
>>Sort Criteria
Node:Created Time > Descending >Normal
________________________________________________________________________
THEN I have placed in the block
>show on only the listed pages
user/*
__________________________________________
Is there something else you can see I am missing?
Thanks so much!