Customised simple edit layout...workarounds?

Hi There,


I was trying to work around the limitation of there being only 1 simple edit layout across an entire matrix install. The way I was trying to do this was by using links to other content divs from within the simple edit layouts, then setting different permission levels for the the different divs. So when person A logs in they only see layout 1 (as that's the div they have permission to se) person B would see layout 2 as thats the div that they have permission to see.



Sounded like a plan until I hit the error:

MySource Error

File: [SYSTEM_ROOT]/core/include/backend_outputter.inc Line: 420

Message: Screen Code "Edit Contents" already in use [SYS0202]



Can anyone think of another work around to essentially get multiple simple edit interfaces? I tried using a nested content div in the simple edit layout and having it point to another page with multiple divs with different permissions…which worked in that it didn't error out…but it rendered all the matrix tags as just plain old text…it didn't try to parse and execute them.



Any thoughts appreciated, or should this be a feature request?



Cheers



Dale


Hey,

why don't you use a Paint Layout for this?

1) create a Paint Layout
2) apply it on your asset,
3) right-click 'Standard format' in your Paint Layout
4) there you can find Conditional Keywords,
5) choose Condition Type -> "In user group condition". This way you can restrict access to different user groups using Paint Layout and its keywords:
6) go to Default Format (or customised format) and Edit Contents, use your keywords

%begin_user_group_A%
<!-- display content for user_group_A -->
%else_user_group_A%
<!-- display content for other users -->
%end_user_group_A%

etc..

I hope that helps..