Overlay the comment system with a custom version by copying the minimal number of files necessary from
/apps and modifying them in
The contents of the /libs folder are never edited because any reinstall or upgrade may delete or replace the /libs folder while the contents of the /apps folder is left untouched.
Using CRXDE Lite on an author instance, begin by creating a path in the /apps folder which is identical to the path to the overlaid components in the /libs folder.
The path being duplicated is:
Some nodes in the path are folders and some are components.
Browse to http://localhost:4502/crx/de/index.jsp
/apps/social (if it does not exist already)
List of comments without showing avatars
Create > Create Component
A comment instance without avatars
Select Save All
Delete the default
Delete the default comment.jsp
To preserve the inheritance chain, the
Super Type (property
sling:resourceSuperType) of the overlay components are set to the same value as the
Super Type of the components being overlaid, in this case:
The overlay’s own
sling:resourceType) must be a relative self-reference so that any content not found in /apps is then looked for in /libs.