cancel
Showing results for 
Search instead for 
Did you mean: 

Overwrite default meta-data

gidion
Champ in-the-making
Champ in-the-making
Hi,

I have configured the following files:
example-model-context.xml
exampleModel.xml
web-client-config-custom.xml


This has left me with a content type "profile page" which has additional meta-data fields. The problem is, I need to remove the default meta-data fields that come with the content model i have extended. For example the description field, the edit inline check box and the name/title field.

Any help would be much appreciated.

Thanks
3 REPLIES 3

gavinc
Champ in-the-making
Champ in-the-making
You can do this quite easily.

In your web-client-config-custom.xml file add config similar to the following:

<config evaluator="node-type" condition="customSmiley Tonguerofile-page">
   <property-sheet>
      <show-property name="custom:yourProp" />
      <show-property name="app:editInline" show-in-view-mode="false" show-in-edit-mode="false" />
      <show-property name="description" show-in-view-mode="false" show-in-edit-mode="false" />
   </property-sheet>
</config>

gidion
Champ in-the-making
Champ in-the-making
Thanks for that.

Appologies if this was specified somewhere in the documentation and i missed it.

Regards,
Luke

gidion
Champ in-the-making
Champ in-the-making
Is there also anyway to seperate the different meta-data properties with headings (ie. to have different sections of the meta data like, company details heading and company references heading).
I see this is possible by adding different aspects, each of which brings with it a header. But can i do this with content types?

thanks,
Luke