How to randomize CMS items with low code in Webflow

  Рет қаралды 5,248

Webflow

Webflow

Күн бұрын

Join host Nelson Abalos Jr for a Build with me (BWM) session. We’ll learn how to randomize CMS items with low code in Webflow. In this session you’ll learn the basics of Webflow collections, Collection lists, and adding low code to randomize the CMS items every time the page is loaded.
Clone this project here:
webflow.com/made-in-webflow/w...
Reorder CMS items:
webflow.com/apps/detail/toolkit
----------
Chapters
00:00:00 Stream starting soon
00:00:42 Stream start
00:01:53 Today's topic
00:04:57 Stream agenda
00:05:43 Set up the Collection
00:06:47 Randomize using the Webflow UI
00:11:40 Randomize with low code
00:15:46 Creating floating cards in a 3D space
00:19:32 Enabling CSS 3D
00:20:49 Creating a 3D rotation on mouse over
00:21:06 Explaining the 3D rotation concept
00:24:55 Creating the 3D interaction
00:26:49 Adding the random floating cards
00:35:19 Adding the randomizing low code
00:38:43 Q&A
00:38:55 Q: Reorder CMS items manually?
00:40:48 Q: Randomize a featured blog post?
00:41:44 Q: Can randomize HTML embeds?
00:43:07 Outro
----------
Get started with Webflow: wfl.io/2r7cVUW
Join the Webflow Community: webflow.com/community
webflow.com
/ webflow
/ webflow

Пікірлер: 20
@alex-pattison
@alex-pattison Жыл бұрын
Great tutorial as always Nelson. Thanks!
@Webflow
@Webflow Жыл бұрын
My pleasure!
@sabuein
@sabuein Жыл бұрын
Thank you.
@Webflow
@Webflow Жыл бұрын
You're welcome!
@tomvoltz7506
@tomvoltz7506 Жыл бұрын
Fun tutorial, thanks Nelson. Question: In a cms file I have 1 featured image plus 10 more images for an author. On the front page where all blog posts are displayed I now see the same featured img many times. Can I somehow randomize those images so not only the featured image is displayed but also the others on a randomized basis?
@Webflow
@Webflow Жыл бұрын
Thanks for watching! :) You can have two collection lists. One with a filter for featured images and a second for non-featured images. Then have the second collection list use a different class that the first and make the code point to that one. Hope this helps.
@tomvoltz7506
@tomvoltz7506 Жыл бұрын
@@Webflow thanks
@SammyStep
@SammyStep Жыл бұрын
The random code seems to disable my hover state for the images in my CMS (a block of text which overlays the image). Is there any way around that?
@Webflow
@Webflow Жыл бұрын
Can you post this question and your project's read-only link on our forum? discourse.webflow.com university.webflow.com/lesson/share-your-site
@ihajo
@ihajo Жыл бұрын
Is it possible to execute the code on hover/scroll/click instead of reload the page?
@Webflow
@Webflow Жыл бұрын
Yes. You can execute a function on all of this triggers with jQuery. api.jquery.com/on/ Hope this helps 😀
@rebeccalowe9061
@rebeccalowe9061 Жыл бұрын
This seems not to work on a paginated CMS collection with only 1 item showing at a time. Is there any work around for this?
@Webflow
@Webflow Жыл бұрын
This will only work with collection lists that don't have a pagination. The reason being is that the custom code goes through the list thats already on the page.
@christofferfurnes
@christofferfurnes 6 ай бұрын
@@Webflowdoes not work with collection lists with only one item showing
@ionelCristianLupu_
@ionelCristianLupu_ Жыл бұрын
For the question on min 40:30: will this work if I have 1000 articles? I mean, Webflow will render all 1000 of them and then get the three random articles from there? I think we want to get three random articles directly from the database.
@Webflow
@Webflow Жыл бұрын
You can try combining multiple collections on a single page using this script by Finsweet: finsweet.com/attributes/cms-combine Then you can use the shuffle script to help you with picking three random articles. Hope this helps :😀
@stephanlenting
@stephanlenting Жыл бұрын
@@Webflow It’s good other talented devs create these plugins, but personally speaking i’d rather have as much native support for these features as possible. It’s a bit concerning i see Webflow moving towards plug-ins and APIs, instead of building these features natively. Like with Wordpress, I don’t want to manage scripts or plugins, neither manage multiple sources to pay for functionality. I want one tool where you can do it all.
@stephanlenting
@stephanlenting Жыл бұрын
Less low-code, more no-code ❤ 😅
@Webflow
@Webflow Жыл бұрын
Thanks for watching. We'd love to hear what you'd be interested in learning with no-code 😀
@stephanlenting
@stephanlenting Жыл бұрын
@@Webflow doing the same without code 😅
(2022) Build a Webflow CMS Slider - No-Code Attributes
9:49
Finsweet
Рет қаралды 41 М.
Creating a CMS-powered basic slider in Webflow using Swiper
16:33
Ilja van Eck
Рет қаралды 24 М.
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 51 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 1,8 МЛН
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 124 МЛН
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
How To Structure Websites Efficiently With Webflow
8:46
Flux Academy
Рет қаралды 146 М.
Next.js 14 - SEO & Metadata Tutorial (Complete Guide)
39:40
Codewalk Empire
Рет қаралды 7 М.
Three Tips for Using Custom Code in Webflow
21:28
Timothy Ricks
Рет қаралды 26 М.
Webflow + Javascript: 3 Tips To Improve Your Code!
10:55
Mike Pecha
Рет қаралды 6 М.
How to scale your web design agency with systems
55:45
Webflow
Рет қаралды 8 М.
Exploring Webflow’s Devlink with Finsweet CTO part 1
45:58
Finsweet
Рет қаралды 3,9 М.
Build a website hero section - Webflow 101 (Part 1 of 10)
15:05
Building a CMS-powered parallax image gallery in Webflow
16:19
Ilja van Eck
Рет қаралды 8 М.
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,6 МЛН
Как слушать музыку с помощью чека?
0:36
Что еще за съемные фронталки от Vivo? #vivo
0:41