Skip Navigation

[Resolved] no acces to block by editors

This support ticket is created 2 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by corineV 2 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#2238265
Schermafbeelding 2021-12-06 om 16.44.28.png

Tell us what you are trying to do?
I want to use Toolset blocks on a page to show dynamic content. Above this block is normal text. Is it possible to hide the blocks for my customers (editor-rol)?

Is there any documentation that you are following?
I've not found it

Is there a similar example that we can see?

What is the link to your site?
hidden link

In image: hide the red part.

#2238323

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Hello and thank you for contacting the Toolset support.

If I understand well, you want to hide the view for editors, right? If yes, just put the view inside a conditional block that checks the current user's role. Check this article about the conditional block https://toolset.com/course-lesson/using-toolset-conditional-block/

Otherwise, can you elaborate more? Give an example, and probably allow us temporary access to your website to check this further. Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#2238345

Hi Jamal.
To be more specific:
I want an editor not to be able to edit a view or block. Only the content.

With your solution the view is , for the editor, hidden at the front-end as well. That’s not what I want.

Kind regards,
Corine

#2238347

Sorry. Connection problem. So I have send the same message twice

#2238531

I think I have found the solution. I have to work with content templates. I make a dynamic content view of CPT + a single field for the content of the current page. On the page I choose this content template. In this way my customer does not see anything of the view in the backend. Is that the best way to do it?

#2239041

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+01:00)

Well, it would not be possible to freeze or disable selected blocks for specific users.

Yes, the content template is the best way to do it. It will define what information and how it will be displayed. And you can put a block for the post/page content. For example, a single block that will display the default field "Post body". When you create the content template, you won't have this option. You will need to save it first, assign it to the post type, and reload the editor to have this field on the dropdown. Check this screenshot hidden link

I hope this helps. Let me know if you have any questions.

#2239049

My issue is resolved now. Thank you!
I bit of Jamal and a bit of myself. Thank you for thinking together.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.