â–Ľ
Streaming live at 10am (PST)

Multi-Reference CMS item


#1

Is it possible to somehow use Multi-Reference in CMS item? For example I have preview blog posts list and I need in this items showing authors photo and name (green area). Photo and name takes from other collection.


#2

Hey! Yeah that would be doable. Something like this:

1.(CMS) Create “Team” collection with Image and text fields.
2.(CMS) Create multi reference field in “Blog post collection”
3. (Designer) In your Blog collection list layout you should now be able assign your multi reference fields to the author image and name.


#3

Sorry, I probably did not correctly ask the question. I have this collections structure:

In bottom of Blog Post Page I add CMS collection and connect to it “3 Also Like Posts” Multi-reference:

And when I try to connect authors photo I can’t do it (see list with only Blog Post values option):

Maybe I did not properly organize CMS structure?


#4

Looks like your doing it right. Im not sure but maybe you need to set your “Author field” to a single reference instead of multi. Could you provide me with a read-only link to your site?


#5

Thanks now I will try it.

Sorry I can’t. This is not my project.


#6

Ok! Yeah that will probably work. :crossed_fingers:


#7

Here Read-Only link, can you try do it?

https://preview.webflow.com/preview/bro-test-cms?preview=8f97b08e8074c92552fccb387cdd8d77


#8

Check out the video:
CloudApp

Everything was set up correct. I just had to reference the collection and then the fields.


#9

Thats right, but you connect Blog collection and Webflow show all list. I find the way how showing 3 chosen items (like as you can see on screenshot):


#10

So it’s generally possible to do Webflow?))


#11

Yeah it possible. Im not really sure I understand what you are trying to achive with the “3 Also likes posts”. Are you trying to create something like “related posts” on a blog post detail page?


#12

Right, but these posts must be selected manually (for each post they will be different)


#13

Ah okey, no problem!

Take a look at my example here:
CloudApp


#14

Good and now is a main question: could you try connect to this reference item authors photo or name?


#15

I dont think its possible to reference that because its already inside of a multi reference. You can achieve what you want by simply adding the author image and name to every single blog post as a text and image field. Then you could display the image and text inside of the “related post multi reference”.

But this would probably be horrible for the client. I have to run to a meeting now but i can look further into this later.


#16

Yes, I started to consider this method, maybe this will suit.

Thank you for your help and time, and have a good day :v::slightly_smiling_face:


#17

No problem buddy! Have a good day! :slight_smile:


#18

Hey! In case you missed the latest update from webflow on how to control visibility of cms items based on referenced items.

Control visibility of CMS items based on referenced items


#19

I missed this news, thanks for the notification!)