Download the PHP package park-holidays-uk/pagebuilder without Composer
On this page you can find all versions of the php package park-holidays-uk/pagebuilder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download park-holidays-uk/pagebuilder
More information about park-holidays-uk/pagebuilder
Files in park-holidays-uk/pagebuilder
Package pagebuilder
Short Description Page editor for Park Holidays staff
License
Informations about the package pagebuilder
Page Builder
Page editor for PHAST CMS built using the GrapesJS framework...
New Installation
Run the following commands in the CLI
Add the following to the App config 'providers'
Don't forget to publish the config and assets..
Once config has been published, add the following to the .ENV file and change the values appropriately
When ready run the migrations and seeders
Update Installation
Run the following commands in the CLI
The publish the assets in the same way as the enw installation above. Check for any changes to ENV settings.
Things To Know
- All layout blocks should be contained within a DIV element with the class wrapper. This will allow the use of both fullwidth and non-fullwidth blocks in the page.
- When creating FORM blocks, they must contain an empty DIV with the class form-dropzone. This be the only area a user can drop form field blocks into.
- To use SVG for block icons you can put teh code in the label field. see Fig. TTK1
- Check out Fig. TTK2 for editing image srcset.
FIG. TTK1
FIG TTK2
Example..
PHAST Wizard Requirements
- For dynamic blocks, it will need to populate the payload_properties field with a JSON object that is used to create dynamic traits (payload object). see Fig. PW1R
FIG. PW1R
For different trait input types please refer to (https://github.com/artf/grapesjs/wiki/Traits). At present only type text and select is available.
Authors
- Mark Bailey - Initial work - markbailey
See also the list of contributors who participated in this project.
TODOS
- Tweak filtering options for Asset modal to work better.
- Look at changing video default source to YouTube
- Look into more permenant fix for DomDocument parsing issue (https://stackoverflow.com/questions/39479994/php-domdocument-savehtml-breaks-format)
- Improve on the multiple select traits.
- Look at implimenting being able to add traits (by user) in PB. - Dynablocks, Serverblocks only.
Known Issues
- When text blocks are emptied, after text is re-entered or pasted in, the text or the block is duplicated.
- Sometimes when canvas is loaded, some content or blocks are missing (although the content is in DB). Refreshing page seems to restore them.
- Dragging blocks into the canvas (BODY) causes the block to be appear duplicated, but it is only vision ghosting.
- Some blocks are randomly unable to be dropped into droppable components (elements).
- Traits are not always being set when selecting a empty value.