I think thats not possible with current MM code.
The easiest and fastest way to do it, is via second template.
OK, then I will do that.
Thank you for your answer!
Hi,
I know this is an old topic, but if there is any way in getting around this in ManagerManager, or any alternatives that other people have used then I’d love to hear about them!
This is my problem:
I have 3 parent/container resources, ’General News’, ’Development News’, and ’Customer Comments’, each of which has a Ditto call to display the respective child posts. This is straightforward enough, but the parent resources also have a TV which is a drop-down to select a post to display the first paragraph as a headline at the top of the page. So there are 3 TVs, 1 for each parent (’General News’, ’Dev News’, etc).
What I REALLY want, mainly for ease of use for the end user, is that when you are editing the ’General News’ resource, you see just the relevant drop-down for general news posts to select, and not the other 2 drop-down TVs (which is how it is at the moment). The same is true for the child posts, which use the same template; I don’t want these TVs to be visible.
I’d prefer not to use a lot more templates, especially as I’d like posts added to inherit the template of the parent resource.
Is there any way this can be done with User/Resource groups?
Thanks,
Dan
Thanks cipa, that’s great!
I’ll settle for just 3 extra templates! If I can set all the posts to use the same 1 template, and then have 3 (extra) separate templates for the 3 container resources, so the client only sees the relevant TV (so when editing ’General News’ they only see the TV for selecting the General News posts), then I can’t complain.
It’s just a shame I can’t keep those 3 extra templates down to 1 extra! If anyone else has run into similar problems I’d still be interested to know how you overcame them.
Thanks again.
Thanks Eol. My PHP isn’t great, but I’ll have a look at this and see what I can do; should be able to get something working with a bit of head scratching!
if($content[’id’] == 42){
mm_hideFields(’content’);
}