Code Monkey home page Code Monkey logo

aem-sites-example-custom-template-type's Introduction

Adobe AEM 6.2 - Update pack extension: Editable template - Template Type

The current repository contains a sample content-package providing a content structure illustrating the creation of a custom template type.

Description:

The current content package provides:

  • a custom page component with
    • extra open graph meta tags with dynamic values
    • extra tab on the page properties dialog for editing open graph values
    • a base client library hook to add mandatory stylesheet and scripts
  • a dedicated /conf directory named custom-template-type
  • a custom template type which
    • make use of the previous page component
  • a suite of policies that
    • carry an example of configuration for the mapping of asset to component
    • different list of allowed components
    • a default page client library category hook

This package is designed to work with AEM 6.2 SP1 update pack.

References

Build & Install

This project uses Maven for building. Common commands:

From the project directory, run mvn clean install -PautoInstallPackage to build the bundle and content package and install those to a running CQ instance.

Avoid running the following command line mvn clean install content-package:install as it doesn't install the necessary permissions

Using with VLT

To use vlt with this project, first build and install the package to your local CQ instance as described above. Then cd to src/main/content/jcr_root and run

vlt --credentials admin:admin co http://localhost:4502/crx/-/jcr:root . --force

Once the working copy is created, you can use the normal vlt up and vlt ci commands.

aem-sites-example-custom-template-type's People

Contributors

bpauli avatar gdoublev avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.