Join the Webstudio community

Updated 3 months ago

Simple repeater blocks without a cms

At a glance

The community members are discussing options for creating a simple "repeater blocks" feature without using a CMS. Some suggestions include hardcoding a JSON object, using a tool like Baserow or Airtable, or learning to use JSON. The community members acknowledge that JSON might be a good option, but express concerns about non-developers being able to use it. There is no explicitly marked answer, but the discussion suggests that a CMS or a JSON-based solution could both be viable options depending on the specific needs and technical expertise of the user.

Useful resources
Is there any option or future plans for simple "repeater blocks" without connecting to a CMS?
For example: a static profile page with multiple blocks for profile pics/names/about
It's only updated every once and a while by the dev so a CMS isn't necessary, but each block is the same structure so it makes sense to have some "repeater" setup.
1
J
L
J
19 comments
You could hard code a json object. I do this a lot on webstudio site. Main downside is you can't use first party images as we don't expose img URLs
Well I want the easy way to do it and I'm not against using a CMS
Just wondering if there was any easy option other than CMS
If you are comfortable with JSON then that. Unless you need pngs/non svgs
eg our pricing page is nearly entirely controlled by first party json
Attachment
image.png
I only design one row in the whole table and it repeats over the json
Attachment
image.png
You know what Json might be easier than I thought cause I don't even really know about it
Could be worth learning πŸ€·β€β™‚οΈ Its just a structured list more or less
I know I can definitely learn it. I've made a website with Laravel before πŸ˜‚
Mostly just thinking about non-devs cause I'm creating a web course
Ah gotcha I misunderstood
Yeah might be tricky for non devs. I'd use baserow or airtable or something
Yeah I think CMS is just fine for that
Myself personally, I'll probably use JSON in the future. I really didn't know about it with WebStudio though so thanks for mentioning it
I need to read through all the docs
πŸ™‚ its pretty nice. I use it a lot. But I also use Baserow for other areas that are bigger
@Luke Monroe, you can use AI very easily for this. See my example prompt for your profiles.

Grab the JSON data and create a collection. In the collection bind it to your items. (John has a bunch of videos on YouTube for binding if you get lost).
Attachment
CleanShot_2024-11-22_at_13.55.202x.png
I actually think even non devs won't have a problem, once they learn it. Json itself isn't hard
Add a reply
Sign up and join the conversation on Discord