orchardcms - Orchard :how to hide fields in content part by using placement.info? -
i add 1 customer field called wrappersuppressed
widget content part. can add , remove wrapper widget. boolean field management purpose, not content. i'm trying hide filed in front end.
i put 1 line in placement.info, this, working.:
<place fields_boolean-wrappersuppressed="-"/>
i need add more condition, content part, field belong to, this
<place fields_boolean-widgetpart-wrappersuppressed="-"/>
this not work.
anyone can me on issue?
this not how works: can't make shape names that. first part of attribute name has shape name emitted driver of field (fields_boolean
in case), , second name of field. have more 1 field named wrappersuppressed
on content type? if so, that's not such idea. there other conditions can put match
tag surrounding place
. can match on content type, display type, , path. recommend read http://docs.orchardproject.net/documentation/understanding-placement-info details.
Comments
Post a Comment