Jump to content

Permissions for blocks?


MMXII

Recommended Posts

I like the fact that we can place blocks wherever we want in the frontend. However, I wonder if permissions for these blocks do exist somewhere? Let's say, for example, I put the "Latest Topics" block in the sidebar, but I want it to be visible to logged in users only, how would I achieve that? Clicking on the Edit button doesn't do the trick. There I can only choose a number for the amount of latest topics, that should be displayed.

Link to comment
Share on other sites

I like the fact that we can place blocks wherever we want in the frontend. However, I wonder if permissions for these blocks do exist somewhere? Let's say, for example, I put the "Latest Topics" block in the sidebar, but I want it to be visible to logged in users only, how would I achieve that? Clicking on the Edit button doesn't do the trick. There I can only choose a number for the amount of latest topics, that should be displayed.

​You have to edit the widget PHP file to add the select with user groups. I made it on widgets for my app.

Capturar.thumb.PNG.75e5fb2af2b59b1a8f358

Link to comment
Share on other sites

​You have to edit the widget PHP file to add the select with user groups. I made it on widgets for my app.

Thanks for your reply! So there is no permissions option that I have missed. There should be one for stupid people like me. :sad:

Rather than an edit, should probably be default, slight oversight?

​I totally agree. Setting up visibility for certain usergroups only should be possible without editing IPS4 or installing an addon or using hooks or whatever.

Link to comment
Share on other sites

  • 7 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...