332 Posts
Kenneth
6 years ago
Topic

Hi. I'm wondering how to pass a value from a field in a content view to a search & list type. 

I'm using a field in the content type to set a value to show or not show images on the list shown with list field.

How can I "grab" the value in my list, and use it in the template override?

I tried SD Live CCK but I don't think that was the right thing to try.

Get a Book for SEBLOD
4229 Posts
Kadministrator
6 years ago
3
Level 1

it easy with list plugin, see manual

332 Posts
Kenneth
6 years ago
2
Level 2

I'm currently using it, as I understand what this does is pass value from content view to search view, between content type and search & list type.

But does it send from content view to list/item view as well? I'm not using the value as a filter in search, but as a variable to adapt code in a custom template. 

4229 Posts
Kadministrator
6 years ago
1
Level 3

What it does is to pass a value to the search like a live value. AS a result you will also get this search value in your list e.g. if you pass "age" to the search and parent item has value 5 and  you add a hidden field "age" to the list and all items will have value 5 (unless you set some non-default matching like <=)

332 Posts
Kenneth
6 years ago
0
Level 4

Nice. Thanks. And those fields should be storage none?

Get a Book for SEBLOD