131 Posts
layonill
5 years ago
11
Topic

if I made a user profile (let's remember that with the bridge, the user profile comes as an article), I want in this user profile to show a list categories that the user that owns this  profile created, how do I do it?

Get a Book for SEBLOD
131 Posts
layonill
5 years ago
9
Level 1

any ideas?

1283 Posts
Bucklash
5 years ago
8
Level 2

Create a list if categories

have created field set with live value of user id...

and use a seblod list to pull the list in your profile view (can use seblod module field instead, up to you and your requirements...

In the list field you can optionally set the live value ie

created_by=user_id

131 Posts
layonill
5 years ago
7
Level 3

for some reason it's not working, let's see, I have 1-the user profile (that comes as an article) 2-the category list (categories created by this user)

1-the profile, in content view, it has all the necesary fields

2-in the list of categories, in search, I have the user id field, in 2 is in variable>int>user_id

but it shows me all categories, I need now that it can filter the result only for the ones that matches with the profile

4229 Posts
Kadministrator
5 years ago
6
Level 4

"I have the user id field" - you need to use "Category created by" field, normal article field will do nothing in categories search as storages are different. Same goes for any other content type that does not use article as its  base storage.

131 Posts
layonill
5 years ago
0
Level 5

and the custom variable? I feel I am close, it shows me the list, just need to filter the result to show the info based on the profile, in case the url is importan, the url of the profile is id-category/id-user alias so it says "13-users/34-sanga, in case it is important, I really need to complete this part

131 Posts
layonill
5 years ago
4
Level 5

any idea of what to do with this, because I know some people had the same issue and got to solve it, but I am not sure here what step did I missed

1283 Posts
Bucklash
5 years ago
3
Level 6

a) If you need a value from the url, is the value in your url i.e myurl.com?id=123

if not then you need to learn how to pass it via a link to the url

are you passing the live value to your search field correctly and is it the correct field ie live/2 -> url variable -> id

I think you need to step back and work on one concept at a time as too many potential hearaches hitting you at once

Also, a good thing to do is paste the debug query in to phpmyadmin and do a searfh that way. subtitute #_ for your table prefix. This confirms swardh is good or bad

131 Posts
layonill
5 years ago
2
Level 7

i did this twice with other content, this is why I don't know why this time is nor working, the step is in the content type is the user profile, here is a module of a list of categories made by users, in this category list in search form there is the user I'd>variable>Id, isn't it? But, if this field is not working, what field does it need to show the specific author categories?

4229 Posts
Kadministrator
5 years ago
1
Level 8

Please read my previous answer. Unless you do what I tell you there is no point in me answering.

131 Posts
layonill
5 years ago
0
Level 9

I did that, that is why I am asking, I used the category created by>variable>id

131 Posts
layonill
5 years ago
0
Level 1
Get a Book for SEBLOD