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 89.9 MB

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

License: Other

JavaScript 69.24% CSS 20.61% PHP 8.06% SCSS 0.76% Hack 1.26% TypeScript 0.07%
javascript php bootstrap css html mysqli cms drag-and-drop page-builder website

php-grapesjs's Issues

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.

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?

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!

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.

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

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

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.

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

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 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 ?

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'];

    
    ?>
    

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 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.

Install bug

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

Error, Database connection failed: (1045)

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

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.

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.