Multiple collections of fragments for use in demos or as examples what is possible with Liferay Page Fragments.
Developed to run on the following versions of Liferay and/or Commerce: Liferay DXP 7.4
. For fragments built for 7.3 go here.
Built with Liferay Workspace and Blade CLI. This workspace contains the following module types: Contributed Fragment Collection, Theme Contributor
Follow the steps below to build and deploy or copy the modules from the releases page to your Liferay's deploy folder.
In order to build or deploy this module you will need to install Blade CLI.
$ blade gw build
You can find the built modules at modules/{module-name}/build/libs/{module-name}.jar
.
In gradle-local.properties
add the following line to point towards the Liferay instance you want to deploy to:
liferay.workspace.home.dir=/path/to/liferay/home
$ blade gw deploy
Since these fragments are packaged as a Contributed Fragment Collection, they will automatically be available on all sites in your Liferay instance. Thus, you can start using them as you would the OOTB Liferay Fragments. You can see how to add fragments to a content page here.
View Included Fragment Collection Docs
Thanks to our current contributors:
- @ethib137
- @jverweijL
- @martin-dominguez
Pull requests welcome.
Fragment documentation can be auto generated using the following command:
$ python3 generateFragmentDocs.py
Releases are handled using Github actions.
To release a new version do the following:
-
Create a git tag.
git tag v0.0.1
-
Push the tag to Github.
git push origin v0.0.1
The Github action will be triggered and will attach all assets to the release.