6

Product support

Get help in the plugin support forum.

Categories

Based on grapesjs. demo: http://demo.pkurg.ru/backend/cms login: demo pass: demo

Added the ability to store uploaded images in the Media Library

Added ability to add custom blocks

Added frontend ContentBuilder component, see video manual.

Backend page bulder video manual.

Table of Contents

  1. Backend Page Builder
  2. Frontend Content Builder
  3. Custom blocks
  4. Add Google Fonts

1) Backend Page Builder

Video manual

2) Frontend Content Builder

Create layout.

example builder-layout.htm (modifed layout from demo theme)

==
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>October CMS - {{ this.page.title }}</title>
    <meta name="description" content="{{ this.page.meta_description }}">
    <meta name="title" content="{{ this.page.meta_title }}">
    <meta name="author" content="OctoberCMS">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="generator" content="OctoberCMS">
    <link rel="icon" type="image/png" href="{{ 'assets/images/october.png'|theme }}">
    {% styles %}
</head>
<body>   
    {% page %}
    <script src="{{ 'assets/vendor/jquery.js'|theme }}"></script>
    <script src="{{ 'assets/vendor/bootstrap.js'|theme }}"></script>
    <script src="{{ 'assets/javascript/app.js'|theme }}"></script>
    {% framework extras %}
    {% scripts %}
</body>
</html>

Create content file. example empty main.htm

Create cms page and add ContentBuilder component.

example main.htm

title = "main"
url = "/"
layout = "builder-layout"
is_hidden = 0
robot_index = "index"
robot_follow = "follow"

[ContentBuilder]
file = "main.htm"
==
{% component 'ContentBuilder' %}

Go to frontend and edit your page.

Video manual

3) Custom blocks

Go to Builder settings and add your custom blocks code


3) Add Google Fonts

Add 'Poppins', sans-serif example

var head = Editor.Canvas.getDocument().head;
head.insertAdjacentHTML('beforeend', `<style>
@import url('https://fonts.googleapis.com/css?family=Poppins&display=swap');
</style>`);

Editor.on('load', function () {
    styleManager = Editor.StyleManager;

    fontProperty = styleManager.getProperty('typography', 'font-family');

    var list = [];
    fontProperty.set('list', list);
    list = [                     
        fontProperty.addOption({value: "Arial, Helvetica, sans-serif", name: 'Arial'}),
        fontProperty.addOption({value: "Arial Black, Gadget, sans-serif", name: 'Arial Black'}),
        fontProperty.addOption({value: "Brush Script MT, sans-serif", name: 'Brush Script MT'}),
        fontProperty.addOption({value: "Comic Sans MS, cursive, sans-serif", name: 'Comic Sans MS'}),
        fontProperty.addOption({value: "Courier New, Courier, monospace", name: 'Courier New'}),
        fontProperty.addOption({value: "Georgia, serif", name: 'Georgia'}),
        fontProperty.addOption({value: "Helvetica, serif', cursive", name: 'Helvetica'}),
        fontProperty.addOption({value: "Impact, Charcoal, sans-serif", name: 'Impact'}),
        fontProperty.addOption({value: "Lucida Sans Unicode, Lucida Grande, sans-serif", name: 'Lucida Sans Unicode'}),
        fontProperty.addOption({value: "Tahoma, Geneva, sans-serif", name: 'Tahoma'}),
        fontProperty.addOption({value: "Times New Roman, Times, serif", name: 'Times New Roman'}),
        fontProperty.addOption({value: "Trebuchet MS, Helvetica, sans-serif", name: 'Trebuchet MS'}),
        fontProperty.addOption({value: "Verdana, Geneva, sans-serif", name: 'Verdana'}),
        fontProperty.addOption({value: "'Poppins', sans-serif", name: 'Poppins'}),

    ];
    fontProperty.set('list', list);
    styleManager.render();
});

Video manual -> https://www.youtube.com/watch?v=qraQIENweJ8

Drag&Drop Built-in Blocks

Plugin comes with a set of built-in blocks, in this way you're able to build your templates faster. If the default set is not enough you can always add your own custom blocks.

Limitless styling

Plugin implements simple and powerful Style Manager module which enables independent styling of any component inside the canvas. It's also possible to configure it to use any of the CSS properties

Responsive design

GrapesJS gives you all the necessary tools you need to optimize your templates to look awesomely on any device. In this way you're able to provide various viewing experience. In case more device options are required, you can easily add them to the editor.

The structure always under control

You can nest components as much as you can but when the structure begins to grow the Layer Manager comes very handy. It allows you to manage and rearrange your elements extremely faster, focusing always on the architecture of your structure.

The code is there when you need it

You don't have to care about the code, but it's always there, available for you. When the work is done you can grab and use it wherever you want. Developers could also implement their own storage interfaces to use inside the editor.

Asset Manager

With the Asset Manager is easier to organize your media files and it's enough to double click on the image to change it

1.2.0

Same id for new pages fix

Dec 13, 2019

1.1.9

fix

Dec 12, 2019

1.1.8

Adds Editor var

Dec 11, 2019

1.1.7

update

Dec 06, 2019

1.1.6

update

Dec 05, 2019

1.1.5

update page after edit in Frontend

Dec 05, 2019

1.1.4

fix

Dec 05, 2019

1.1.3

no load js scripts fix

Dec 04, 2019

1.1.2

Frontend Bulder fix

Dec 04, 2019

1.1.1

Uploaded image name fix

Nov 27, 2019

1.1.0

Added the ability to store downloaded files in the Media Library

Nov 26, 2019

1.0.9

fix php echo

Nov 06, 2019

1.0.8

fix Builder Not Appearing

Oct 29, 2019

1.0.7

Custom Block

Oct 27, 2019

1.0.6

Adds Frontend content builder component

Oct 15, 2019

1.0.5

adds panel

Oct 12, 2019

1.0.4

fix

Oct 07, 2019

1.0.3

import fix

Oct 07, 2019

1.0.2

update

Sep 24, 2019

1.0.1

Initialize plugin.

Sep 24, 2019