Publication Extensions

A publication extension is a bundle of functionality that can be added to any standard CUE Front publication. It typically consists of one or more new content types plus everything needed for CUE Front to render them: recipe extensions, GraphQL code, datasources, Twig templates and Waiter extensions. In order to ensure that it can be easily applied to any publication, an extension must be organized in a standard folder structure and packaged in a zip file.

Extending a publication with a correctly packaged extension doesn't involve much more than unzipping the extension into the publication folder. It is, however, also necessary to be careful with the naming of files: if an extension file has the same name and location in the structure as a file in the original publication, then it will overwrite it, so you should take care to avoid this. It is also the case that sometimes you may need to manually edit some publication files in order to make an extension work properly. This is typically the case with GraphQL code, since CUE Front does not provide any extension hooks or plug-in mechanism for GraphQL code.