Coder Social home page Coder Social logo

pepiuox / php-grapesjs Goto Github PK

View Code? Open in Web Editor NEW
52.0 9.0 28.0 88.18 MB

PHP-based CMS that uses the GrapesJS Web Builder Framework, it also includes an access and registration system

License: Other

JavaScript 66.08% CSS 22.74% PHP 8.87% SCSS 0.83% Hack 1.39% TypeScript 0.08%
javascript php bootstrap css html mysqli cms drag-and-drop page-builder website

php-grapesjs's Introduction

PHP GrapesJS

This is a PHP-based CMS that uses the GrapesJS Web Builder Framework, it also includes an access and registration system.

Easy installation recommendation, unzip your source in the folder to install and follow each step each step, in case you need to configure your database first, the page.sql file is in the installer/sql/ folder then continue with installation.

Many more functionalities are being developed, but as this is very functional and practical.

Dashboard

Basic and classic.


Builder

Build and edit your web site.


Components drag and drop.


First step

Installation start, connect to database.


Second step

Verify the base connection and create database.


Third step

Install tables.


Fourth step

Define configuration.


Fifth step

Create user for administration.


Sixth step

Create file connection and installation completion.


Seventh step

Rename installation files, to prevent illegal installations.

CRUD system included.

Create, read, update and delete data from your tables without making forms.

Plugins

Extensions

Presets


Dear friends.

This application is being developed, there are parts that are not yet fully functional, but the creation of pages if it is useful and is in function, if you want to contribute to the development, it would be of great help.

Thanks to all of whom I use your code to implement this development.

php-grapesjs's People

Contributors

pepiuox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

php-grapesjs's Issues

After installation

Parse error: syntax error, unexpected identifier "SCRIPT_FILENAME" in /home/d/dissokdf/*****/public_html/config/dbconnection.php on line 23

<?php

include 'error_report.php';
include 'Database.php';
$link = new Database();
$conn = $link->MysqliConnection();
require_once 'Routers.php';
require_once 'function.php';
include_once 'define.php';

$protocol =
        (!empty($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] != "off") ||
        $_SERVER["SERVER_PORT"] == 443
            ? "https://"
            : "http://";


        if (!empty(SITE_PATH)) {
            $siteinstall = SITE_PATH;
        } else {
$base = $protocol.$_SERVER['HTTP_HOST'].';
}
$fname = basename($_SERVER['SCRIPT_FILENAME'], '.php');
$rname = $fname . '.php';
$alertpg = $_SERVER['REQUEST_URI'];

    
    ?>
    

Problema ao declarar variável $base

Após a atualização de ontem, resolvi reinstalar, e desta vez o css e scripts não funcionaram. Fui checar no inspecionar e vi que o caminho para os arquivos estava errado, com esse favicon.ico:
Captura de tela 2021-09-15 170030

E logo que fui checar a variável $base em dbconnection.php vi que a variável estava assim:
Captura de tela 2021-09-15 165955

A principio pensei que fosse um erro meu, e refiz a instalação, porém o erro persiste. Vou tentar verificar mais o código para ver se acho o erro.
Captura de tela 2021-09-15 170049

Erro ao atualizar o banco de dados

Ao tentar atualizar o banco de dados, recebo sempre um erro, referente à imagem. Na hora de cadastrar a página tudo vai normal, porém os erros começam ao atualizar.

Captura de tela 2021-09-14 144151

Error during database registration

In the install.php page, inside the "if (isset($_POST['createfile'])) {" there is the "if (file_exists($connfile)) {" but the variable $connfile does not exist here. Fixed replacing with $file.

Installation Chaos

When I try to install this its just chaos, I recommend you check the installation script because it kept redirecting me all over the place and not executing scripts properly. Also do you have a demo of this anywhere? Id love to see if it meets my needs before getting elbow deep in it.

help me for my cms

hello . mr , i have simple cms and want to use GrapesJs for page builder in article section . do your package can help me to use simply in my cms ?

Where is savecontent.php ? I have not a found this file in PHP-GrapesJS?

Hi everone,
I'm downloaded PHP-GrapesJS , but not I can see(not found) : savecontent.php

                        $.ajax({
                            **url: 'savecontent.php',**
                            type: 'post',
                            data: {content: content, style: style}
                        }).done(function (rsp) {
                            alert(rsp);
                        });
$(document).ready(function (argument) {
                        $('.btn-save-button').click(function () {
                            saveContent();
                        });
                        $('#save').click(function () {
                            var content = editor.getHtml();
                            var style = editor.getCss(); //get css content of document
                            // Get edit field value

                            $.ajax({
                                url: 'savecontent.php',
                                type: 'post',
                                data: {content: content, style: style}
                            }).done(function (rsp) {
                                alert(rsp);
                            });
                        });
                        $('#clear').click(function () {
                            var clear = 'clear';
                            $.ajax({
                                url: 'clearcontent.php',
                                type: 'post',
                                data: {clear: clear}
                            }).done(function (rsp) {
                                alert(rsp);
                            });
                        });
                    });

help for install on local host

hello
i am new in github and i have problem to install php-grapesjs in localhost with this error
"There is a user with the highest level of administration, delete that user, to continue with the installation."
please help tnx

Undeclared Variables I Included

I recently downloaded the update and came across loose variables. (Page: start.php)
This error is also repeated on other pages of the system.

Captura de tela 2021-09-11 215928

Some question

Hello,
Thanks for share project, It is very good for starter as me.
I have some question bellow, please give favor to help.

  1. I see missing folder images on assets, so can you update?
  2. I need make update for component or sections dymamic content. Example i have posts and when drage section blog i need dynamic load latest my post so can you help me give some idea or document?

Thanks!

Problema com os ícones do editor de imagem do GrapesJS

Fui dar uma fuçada no editor de páginas e ao abrir o editor de imagens me deparo com uma seção vazia, ou era o que eu achava até usar o inspecionar. Ele me mostrou o link da tag que deveria fornecer um ícone, imagino eu, porém ao pesquisar os links na web, os mesmos levam para páginas de erro 404.

-> ERRO ao abrir o link do svg:
Captura de tela 2021-09-15 191327

-> Ao abrir o editor de imagens:
Captura de tela 2021-09-15 190219

-> Ao inspecionar:
Captura de tela 2021-09-15 190157

** O CKeditor do grapesjs também não está funcionando, mesmo com as variáveis iniciadas.

Install bug

Cannot install -> App says Grapejs is alrady installed..

Error, Database connection failed: (1045)

Installation on localhost

Hi,

I´m having problems installing on localhost, at step 4, i don´t have any button to save the configuration or chance of editing any installation strings, they are not displayed.

Alert refresh causes problem

There would be a way to put a close button in place of refresh alerts. In some places the time of 5 seconds until it is good. However, when registering, when a PIN is provided, the alert disappears very quickly, as well as in some actions within the system.

Problem in installation

Hi, first sorry to disturb but I have a problem. I installed everything but when I will try I have this message
"Fatal error: Uncaught Error: Undefined class constant 'PDO::MYSQL_ATTR_USE_BUFFERED_QUERY' in /home/xxx/public_html/config/dbconnection.php:5 Stack trace: #0 /home/xxx/public_html/elements/view.php(6): require_once() #1 /home/xxx/public_html/index.php(14): require_once('/home/xxx/p...') #2 {main} thrown in /home/xxx/public_html/config/dbconnection.php on line 5. "

How can I solve that? And thanks I really love your idea!

Installation and Running Problem

I'm trying to Install this script on localhost, but it's not working. On the first page, Images are not loading properly and links are not working.

Image Upload

Thanks for creating this php implementation. I was trying to use this project. I was wondering if you have implemented the image upload feature and or what is your thoughts on this? specially if it is needed to implement the access control over the files.

Do you have any doc of this project?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.