Closed (fixed)
Project:
Panels
Version:
7.x-3.3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2012 at 08:15 UTC
Updated:
2 Oct 2012 at 10:01 UTC
Is there any way to restrict to only add specific content categories when adding new pane ie. custom content and existing node only? Please see the attached image..
| Comment | File | Size | Author |
|---|---|---|---|
| 2012-09-07_1534.png | 38.55 KB | Mark Vincent Verallo |
Comments
Comment #1
Mark Vincent Verallo commentedNobody would like to help?
Comment #2
merlinofchaos commentedDepending on what app is actually creating the panel (page manager or panelizer or mini panels) there is a settings page that will control what layouts and what content types are allowed to be added to that type of panel.
There isn't any such thing for an individual panel. You'd have to write an app to create permissions that fine-grained.
For page manager, this page is a tab at admin/structure/panels/settings I believe.
Comment #3
Mark Vincent Verallo commentedThanks merlinofchaos. I did tried to check your suggestion and could see that I can indeed, specify the available content type that can be added in a pane. And you are correct that although it can be set as desired, I still need to write a module that will give fine-grained permissions. Is there any api or documentation you can suggest to get started working with fine-grained permissions for panel contents? I'll get into this more deeper until I finish my other task..
Again, thanks for helping.
Comment #4
Mark Vincent Verallo commentedIt worked merlinofchaos! Thank you very much. However, is there any way to specify different values for these settings for different roles?
Comment #5
merlinofchaos commentedUnfortunately there is not, at this time, role-based control of content availability.
Comment #6
Mark Vincent Verallo commentedI see. Well, anyway, I could live with this for now. Thanks for the help!