Override Core Content Type

Sometimes you may need to modify the core content types (eg. news,picture). To do this you have to follow the following simple steps:

  • Take the widget-framework-core-<version>.zip and unzip it.

  • Run a mvn clean install in misc/widgets folder.

  • Now go to the misc/demo folder. Add the definition of one core content type (i.e, news) in src/main/webapp/META-INF/escenic/publication-resources/escenic/content-type file. And then modify it in your way.

  • Run a mvn clean install in misc/demo folder.

  • Take the war file from target folder. This war file should contain the modified content-type definition instead of the standard content-type definition. You can verify it by opening the content-type resource using a text editor.

  • Upload the war file via escenic-admin and see that everything is OK. If your content-type definition contains an error, there will be an error in the merged file too.

  • Update a publication and check the custom fields from Content Studio.