Giter Site home page Giter Site logo

hansschouten / phpagebuilder-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
36.0 2.0 24.0 16 KB

Boilerplate for quickly spinning up websites using PHPagebuilder.

Home Page: https://www.phpagebuilder.com

PHP 94.39% HTML 1.59% CSS 1.90% JavaScript 2.12%
page-builder boilerplate starter-template php-starter

phpagebuilder-boilerplate's Introduction

Hi there 👋 I'm Hans Schouten

  • 🚀 Currently working on a platform to deliver and maintain websites with advanced search for the travel industry
  • 🐦 Enjoying nature and developing app.faunamap.nl / FaunaMap app to efficiently track large numbers of wildlife observations
  • 💬 Feel free to ask about advanced search, data processing, GIS, geo visualisation, (dynamic) page builders or travel websites
  • 📫 How to reach me: www.falcosolutions.nl/contact

phpagebuilder-boilerplate's People

Contributors

hansschouten 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

Watchers

 avatar  avatar

phpagebuilder-boilerplate's Issues

please add a more complex example block

@HansSchouten could you please add a more complex example with settings perhaps?
i.e how to define the input for images or sections for a slideshow? That would help aus very much to understand what to do and what's possible. Thanks for this nice solution. I'm planning to make it a REDAXO cms Addon.

How to render page title ?

I have used this code to render a page

 public function viewPage($pageId)
   {
   	$theme = new Theme(config('pagebuilder.theme'), config('pagebuilder.theme.active_theme'));
   	$page = (new PageRepository)->findWithId($pageId);
   	$pageRenderer = new PageRenderer($theme, $page);
   	$html = $pageRenderer->render();
   	return $html;
   }

But the page title did not render.
Screenshot_2020-07-02_12-52-14
.
In the master layout , I have written the code for title
<title><?= e($page->get('title')) ?></title>

ERR_TOO_MANY_REDIRECTS

I clone it, run the composer command, copy the config.example.php to the root and rename it to config.php and change the general to

'general' => [ 'base_url' => 'http://MY-DOMAIN-NAME-HERE.com', 'language' => 'en', 'assets_url' => '/vendor/hansschouten/phpagebuilder/dist', 'uploads_url' => '/uploads' ],

then change the storage settings to MySQL database, then try to load the page and I get ERR_TOO_MANY_REDIRECTS

SERVER_SOFTWARE = Apache/2.4.52 (Ubuntu)

Loading long time and not show builder

Hello all,
This is good builder for use, i am working good with default, today i make builder in to exists my project so not use manage default. I use this:
PHPageBuilder\Modules\GrapesJS\PageBuilder
But i see loading more and not show builder. (look at my attach).

This is all in code open builder:

require_once __DIR__ . '/vendor/autoload.php';

$config = require __DIR__ . '/config.php';

$pb = new PHPageBuilder\PHPageBuilder($config);

$builder = new PHPageBuilder\Modules\GrapesJS\PageBuilder();

$builder->handleRequest('', 'edit');

Someone can help me tell me know how to fix it?
Thanks all.

Create tutorial

Hi dear.
Please create complete tutorial of this we can't create this project without complete tutorial, it's may help us thanks,

I have some question

Hello every body,
The first i am sorry because not good english. I working and need ask something.

  1. Example i need create one block form so how to i can find config? or any config for field?
  2. Can i have one config for block can upload image (working for block slider)

Let me know if someone know document i can read, because in readme i see short and i can not found.
Thanks!

Login page missing

I loaded the boilerplate and when I click the link to Get started the /admin can not be found. What should I do now?

Testing Localhost

I'm trying to use the page builder on localhost sub folder.

Installed downloading the zip files and removed the http/s from the htaccess.

When I try to go localhost/pagebuilder or localhost/pagebuilder/admin it always gives me page not found.

Tried to debug but haven't found anything.

Pages are not being created

I already started the project, went through the login, commented the error messages, but for some reason the pages are not being created.

Captura de tela 2021-09-13 000232

failed to open stream

require_once(/XXXXXXXXXXXXXXX/public/phpagebuilder/src/Core/helpers.php): failed to open stream: No such file or directory in /XXXXXXXXXXXXXXX/public/index.php on line 10

LINE 10 require_once DIR . '/phpagebuilder/src/Core/helpers.php';
And the file exists...
UBUNTU Server

Page not found error

I have installed PHPagebuilder-boilerplate.

I have used both composer and without composer but i am getting "Page not Found" in both type.

Could you please help me?

Não está funcionando em subpasta

Quando realizo a instalação na raiz do localhost ele funciona normalmente criando e abrindo o editor. Porém quando realizo a instalação em uma subpasta como https://www.localhost/grap o editar fica carregando infinitamente e ao clicar em visualizar diz que não pode localizar o caminho especificado.

Captura de tela 2021-09-15 110900

PHPageBuilder page not found. Check your URL: http://localhost/02.186

I made a folder in the root called phpagebuilder and put the core files there, I also placed the boilerplate files in the root, I moved the config.php file to the root and set the database creds, ran the commands to create the tables, ran composer require hansschouten/phpagebuilder in the root folder, index.php says

`<?php
// Uncomment to disable error reporting
ini_set('display_errors', 1);
error_reporting(E_ALL);

// Uncomment when using composer
require_once DIR . '/vendor/autoload.php';

// Uncomment if you downloaded PHPagebuilder
//require_once DIR . '/phpagebuilder/src/Core/helpers.php';
//spl_autoload_register('phpb_autoload');

$config = require DIR . '/config.php';

$builder = new PHPageBuilder\PHPageBuilder($config);
$builder->handleRequest();

?>`

in the config.php file I also removed 'assets_url' => '/assets', and replaced it with 'assets_url' => '/vendor/hansschouten/phpagebuilder/dist',

Any help at all is greatly appreciated

Dynamic option or repeater ?

Hello all,
Today i working and i can not found document or option for make one option repeat for block? Someone can help tell me what is option setting?
Details: I working for make one block FAQs and I need repeat options on it.
Thanks!

Setup for Xampp

Composer is just pure bullshit.
No old-fashioned narration?
I want to run it inside Windows Xampp.

O sistema não está criando as páginas

O login foi realizado com sucesso. O form das informações funciona normalmente, porém parece que a página não é criada. Tanto quando clico em View quando em Build não funciona.

Captura de tela 2021-09-13 093156
Captura de tela 2021-09-13 093106

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.