Question:
WIX STUDIO QUESTION: Does anyone know if it’s possible to set permissions for page content elements (such as Sections or Containers), rather than just whole pages?
I’d like to vary the content within a page depending on whether the user is logged in or not.
Is this possible with WIX STUDIO?
Product:
WIX STUDIO
What are you trying to achieve:
I’d like a single page (to avoid having to make duplicate pages, one for members and one for guests). On this page will be a variety of standard content elements. But in certain situations I want to show different content within specific areas of the page depending on the status of the user (logged in, or guest).
What have you already tried:
Tried internet searches, wix searches, lots of trials and tests in Wix Studio. Nothing so far.
There isn’t any built-in feature like that but you can do it with coding (JS + Velo), you can check roles of a member and based on the roles you may render or not render UI elements and also get required data based on this.
Thanks very much for the reply. It’s a pity this isn’t something built into Wix Studio natively.
I’ve designed and managed website using different platforms for the last 10 years. But - I’m no coder. Whilst I’ve heard of JS, Velo is totally new to me.
It’d be useful to know if anyone has already coded something for this type of solution previously that could be shared for the community?
Otherwise I will see if ChatGPT might be able to offer-up some code snippets to test with.
Sadly the project I’m building has zero budget, so external dev contract support isn’t an option for me.
ChatGPT might help or not I’m not sure maybe 4o model could help about this. Velo is a set of APIs (think like lego blocks) that’s created by Wix to let us control Wix Apps or create custom flows with these lego blocks.