Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it is better to be able to create a json with layout content reading from DB #205

Open
jtydhr88 opened this issue May 6, 2022 · 0 comments

Comments

@jtydhr88
Copy link
Contributor

jtydhr88 commented May 6, 2022

In that latest DXP, Liferay has a new layout type called fragment or content.
Not like a widget/portlet layout, fragment layouts store the structure as json in DB.
In some cases, developers need to read the json and store in their custom module, so it is better to have a way to create a json with this content from DB.
Some initial ideas:

  1. a menu item under File-> New to popup a window
  2. a window shows available site/group list, along with available layout/page list
  3. after choosing proper site and layout, it will read the content from DB basing on selected the information group and layout

image

Some key tables relating to this topic:

  1. layout
  2. layoutpagetemplatestructure
  3. layoutpagetemplatestructurerel
  4. fragmententrylink
@jtydhr88 jtydhr88 mentioned this issue May 6, 2022
@jtydhr88 jtydhr88 changed the title Feature request - able to create a json with layout content reading from DB it is better to be able to create a json with layout content reading from DB May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant