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

Widgets zone as template, page parts based on template? #69

Open
teodorsandu opened this issue Aug 14, 2015 · 0 comments
Open

Widgets zone as template, page parts based on template? #69

teodorsandu opened this issue Aug 14, 2015 · 0 comments

Comments

@teodorsandu
Copy link
Contributor

hi, I think the your widgets approach is great, very powerful and flexible. However not EVERY page need that flexibility. People expect to enter data immediatelly into a page, based on a template. Imagine an entry blog -an article- all articles would have a title, slug,breadcrumb title, content(body), summary and some widgets activated. But the widgets would be the same for all of them. I'd suggest to move the widgets zone
widgets zone to template
to a new Design category named like Templates. Each template will have to implement some Layout (currently only normal.blade) (with/without left/right sidebar, 3 columns etc).
Then each type of page (Blog type, or News type) will have the page parts known and ready to be filled in, based on template which implements. Look at how other CMS does that:
2015-08-09_215954
(instead of "Add page part" button add page part)

The "Settings" tab is:
2015-08-14_120704
which shows the template used to implement this page.
Of course, the template must be declared at the creation of the page:
new article
to know beforehand which fields must be available for fill in when editing(creating) the page.

So the central point would be creating content for the pages.
A page would:

  • implements a template -> who implements a layout
  • uses widgets + page parts (fields) declared in template (currently the page parts are added after widgets). The widgets uses snippets (and/or Sections?).
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