Giter Site home page Giter Site logo

pagekit / pagekit Goto Github PK

View Code? Open in Web Editor NEW
5.5K 266.0 648.0 16.37 MB

Pagekit CMS

Home Page: https://pagekit.com

License: MIT License

PHP 84.45% CSS 4.89% JavaScript 5.28% HTML 0.21% Vue 5.17%
pagekit php cms content content-management website vue symfony

pagekit's Introduction

Pagekit Banner

Pagekit

Build Status Discord

Pagekit is a modular and lightweight CMS built with Symfony components and Vue.js.


Pagekit is an Open Source project developed by YOOtheme.


Download release (recommended)

  1. Download the latest release.
  2. Extract the archive and copy the extracted folder to your webserver.
  3. Open the extracted url in your browser, i.e. http://localhost/pagekit and follow the installer.

Install from source

If you want to run the current development version, you can install Pagekit from source.

CLI

Pagekit offers a set of commands to run usual tasks on the command line. You can see the available commands with

./pagekit --help

Contributing

Finding bugs, sending pull requests, translating Pagekit or improving our docs - any contribution is welcome and highly appreciated. To get started, head over to our contribution guidelines. Thanks!

Copyright and License

Copyright YOOtheme GmbH under the MIT license.

Credits

Half Dome Photo by Brendan Lynch / CC BY

pagekit's People

Contributors

aheinze avatar ahoiroman avatar amirhossein693 avatar annemoeller avatar ckdarby avatar crwgregory avatar floriandotpy avatar fridzema avatar hendrikbehncke avatar huglester avatar janschoenherr avatar josefweibel avatar jumuro-dev avatar kehet avatar kix avatar lionelgaillard avatar malles avatar malte-christian avatar maqnouch avatar mustaqsheikh avatar nfrasser avatar nicolas-brousse avatar nstaeger avatar overtrue avatar saschadube avatar sergejsteinz avatar steffans avatar teddy95 avatar thgh avatar uasan 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  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  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  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

pagekit's Issues

Page image upload

are you aware the image upload on pages does not work, I get this code output
<//img src="/pagekit/""c:/xampp/htdocs/pagekit/storage/twitter-superhero.jpg" alt="">

Repeated word in your Documentation

In your site - pagekit.com, under Documentation -> Themes -> Adding CSS and JavaScript, one paragraph before the last, on the last sentence, the word "third" appears twice.

twice-third

Installation Problems

After cloning the repository, then running composer install, and navigating to my local install in the browser, I'm redirected to /installer, which is expected. From that point, I just get a blank white screen.

I've tracked it down to an issue loading require.min.js. I don't have a vendor/assets directory (I'm supposed to, right?), so when you call @script('installer' ...) in the install.razr.php, it says it depends on requirejs, which it can't load it since the assets directory doesn't exist.

On the page load, this causes a syntax error, because requiring a nonexistent js file in Razr shows up in the <head> as <script src="/?ver=0.8.0"></script>. That src URL ends up redirecting to the installer again (since the app is not yet installed), but since it's in a <script> tag, it's read as JS causing a syntax error.

Here's a screenshot of my Chrome Dev Tools - http://d.pr/i/bQWb

Manually creating vendor/assets/requirejs/require.min.js allows that asset to load, but I'm still getting a blank white screen.

Theme Beta

Installing this theme caused this error on both the frontend and backend.
"Whoops, looks like something went wrong."

I had to do the following to get the system back into a working state.

mysql
UPDATE pk_system_option SET value='alpha' WHERE name='system:theme.site';

Also had to clear the cache
rm -rf app/cache/*

Invalid API Key

Get the error invalid API Key on re-install, trying to download themes or extensions.

The function "url" does not exist in Razr

After the latest update, on the frontpage,

SyntaxErrorException: The function "url" does not exist in "theme://alpha/views/renderer/menu.navbar.razr.php" at line 8

and on the Admin

SyntaxErrorException: The function "url" does not exist in "view://page/admin/pages/index.razr.php" at line 3

Installation failed! Could not find mixer

Just pulled the latest from Github, ran composer install, and installation hangs at

Installation failed!
Could not find mixer

Commenting out vendor/pagekit/framework/src/Component/Auth/AuthServiceProvider.php:10 changing the error to

Installation failed!
Whoops, something went wrong!

Apologies for not having more time to troubleshoot.

User Roles

I added a new Role named Writer with a permission of Manage pages only. I updated the Authenticated Role with permission Manage url aliases and Manage pages. When I tried to create a new user the authenticated role doesn't show up.

Invalid comments count

Writed a blog post, posted some comments, but it still displays No comments in Blog view and Comments (0) in Post view.

Menu - choose link

When you try to create a new menu item it doesn't show any items when you click on the "choose link".

Invalid argument supplied for foreach() in ./extensions/system/src/Theme/Theme.php

Installation went fine, but after I get:

Warning: Invalid argument supplied for foreach() in /var/www/vhosts/pagekit.tld/httpdocs/extensions/system/src/Theme/Theme.php on line 151
Call Stack

1 0.0001 130632 {main}( ) ../index.php:0
2 0.0232 1973416 Pagekit\Framework\Application->run( ) ../index.php:8
3 0.0263 2272508 Pagekit\Framework\Application->handle( ) ../Application.php:142
4 0.0577 4131484 Pagekit\Component\Routing\Router->handle( ) ../Application.php:159
5 0.0580 4137148 Symfony\Component\HttpKernel\HttpKernel->handle( ) ../Router.php:290
6 0.0580 4137188 Symfony\Component\HttpKernel\HttpKernel->handleRaw( ) ../HttpKernel.php:66
7 0.0582 4151532 Symfony\Component\EventDispatcher\EventDispatcher->dispatch( ) ../HttpKernel.php:126
8 0.0583 4152216 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( ) ../EventDispatcher.php:53
9 0.0583 4152952 call_user_func ( ) ../EventDispatcher.php:164
10 0.0583 4152972 Pagekit\SystemServiceProvider->onKernelRequest( ) ../EventDispatcher.php:164
11 0.0583 4153856 Symfony\Component\EventDispatcher\EventDispatcher->dispatch( ) ../SystemServiceProvider.php:94
12 0.0583 4154368 Symfony\Component\EventDispatcher\EventDispatcher->doDispatch( ) ../EventDispatcher.php:53
13 0.0593 4201508 call_user_func ( ) ../EventDispatcher.php:164
14 0.0593 4201528 Pagekit\Theme\Event\ThemeListener->onSystemInit( ) ../EventDispatcher.php:164
15 0.0612 4277000 Pagekit\Alpha\AlphaTheme->boot( ) ../ThemeListener.php:35
16 0.0612 4277024 Pagekit\Theme\Theme->boot( ) ../AlphaTheme.php:20
17 0.0612 4277024 Pagekit\Theme\Theme->registerLanguages( ) ../Theme.php:57

Here:

public function registerLanguages(Translator $translator)
{
    foreach (glob($this->getPath().'/languages/*/*') as $file) {

$this->getPath() exposed to "/var/www/vhosts/pagekit.tld/httpdocs/themes/alpha" but there is no languages folder.

0.8.1 installation: "cache", "logs", "sessions", "temp" in apps/ missing

The installation stops with an error messages saying "cache", "logs", "sessions", "temp" in apps/ have to be set "writable". These folders just don't exist in the package. After creating them the installation process continues.
EDIT: Shame on me. I expanded the installer package on the server. The folders went missing in the process. They exist in the original package. Sorry for that.

[with fix] Unable to enable extensions.

I have been trying to enable some of the extensions from the marketplace (superforms and a new generated extension), but I keep getting the following error:

Fatal error: Class 'Pagekit\Framework\Extension\Extension' not found in /home/joomla/joomladev.se/html/dev/projects/pagekit/extensions/superforms/src/SuperformsExtension.php on line 9

Fatal error: Class 'Symfony\Component\DependencyInjection\Extension\Extension' not found in /home/joomla/joomladev.se/html/dev/projects/pagekit/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/DependencyInjection/Extension.php on line 22

Pagekit Version 0.8.2-dev1397034355

Hidden Error on install if database not exists

If the database does not exists on installation(step1), an error throws up. Only visible over XHR inspection.


Notice: Undefined variable: tmpConnection in /var/www/virtual/reini/html/pagekit/extensions/installer/src/Controller/InstallerController.php on line 203

Fatal error: Call to a member function getDatabasePlatform() on a non-object in /var/www/virtual/reini/html/pagekit/extensions/installer/src/Controller/InstallerController.php on line 203
Whoops, looks like something went wrong.


1/1 FatalErrorException in InstallerController.php line 203:
Error: Call to a member function getDatabasePlatform() on a non-object
in InstallerController.php line 203

Invalid argument

After installation the pagekit show me some errors, reading this post on google+ community : https://plus.google.com/105077122590712223916/posts/UzeuKjG7NVa
I reduced all the error whit debug = 0 in config.php.
But, there are other error that I report below:

pagekit/extensions/system/src/Extension/Extension.php on line 144

pagekit/extensions/system/src/Theme/Theme.php on line 149

I can't see fronted pagekit and I can't enter in admin area.

How can solve it?

RuntimeException in NativeSessionStorage.php line 143

Directly after installation of Pagekit, following error will be displayed:

RuntimeException in NativeSessionStorage.php line 143:
Failed to start the session because headers have already been sent by "/var/www/html/test/pagekit/extensions/system/src/Extension/Extension.php" at line 144.

Anybody the same?

0.8.1: Add Menu Item: Only input field for the URL is type="hidden"

When trying to create a new menu item there is the label "URL" but no field to enter or select a target. There is an "input" but it is type="hidden". After changing "hidden" to "text" I can manually enter a URL and save the menu item, but this would surely not be the way.
EDIT: It turned out to be an installation issue. After a fresh install the problem didn't exist anmyore.

Installation bug

I'm experiencing a bug in the installation process. The installation loads just fine however all of the fields/"cards" you fill out are hidden(i can get them to show through firebug if i remove the "hide" class). If i plant a config.php file in the root from another pagekit installation the system works just fine. This only happens when i clone the latest build from github, if i use the build on the alpha website the installation works just fine.

Adding extensions to the root.

How would the following be done in PageKit from an extension, to listen on these routes.

/products
/products/{id-slug}
/products/{id-slug}/somethingelse
/categories
/categories/{id-slug}

unknown error if api key missing

I get an 'unknown error' when trying to install widgets if the api key is missing in the pk install.

The error message should be changed to reflect the cause, Or even better, the 'install' button should be inactivated if apikey is not set, and a notice/tooltip should notify the user of the cause.

Admin Enhancment

Just playing around with PageKit and noticed that the admin section is a little hard to navigate. Maybe if there were some breadcrumb links for getting back to parent pages that would be helpful.
Just a thought.

URL generated when creating a new Page contains spaces and not "-"

I'm not sure this is on purpose or not but the alias/slug that is generated when you type in a new title for a page contains spacing rather then dashes so if my title of my page is "This is a test" the url looks like this "/this is a test" instead of "/this-is-a-test" which means it ends up looking like this on the front end: "/this%20is%20a%20test" which I'm not sure is intended.

IDN URL aliases

When i add a page with a IDN slug ('användar-villkor') it gets url encoded: 'page/anv%C3%A4ndar-villkor'

When I then add an alias to remove the 'page/' section, it doesn't get URL encoded ('användar-villkor'), and the url doesn't work:


NotFoundHttpException: No route found for "GET /anv%C3%A4ndar-villkor" (from "http://joomladev.se/dev/projects/pagekit/admin/page")

Installation Problem

I set all the permissions, DB-Connection is working but at the end of the Installation it says "Uuups, something went wrong!."

My Hoster is "Hosteurope" and i'm on an Managed Webserver.

I tried it on a local System and its working fine. (Windows)

The PHP Log is empty and the Log Folder in Pagekit is empty.

Does anyone tried it with an Hosteurope Managed Server?

password confirmation during installation

When creating the admin user during installation, there isn't any password confirmation box.

Without a password confirmation box, there is a risk that the user locks himself out of the freshly installed pagekit.

Even if the user can toggle to show the password, it's not something that a user will do.
A user may think hes typed the right password, and hit next, only to find that they made a typo during the install. a confirmation box eliminates this issue.

Post-installation message

I just created a custom theme, Zeta, by copying the existing Alpha theme into an external directory, and altering theme.json to be as follows:

{ "name": "zeta", "version": "0.8.0", "type": "theme", "title": "Zeta", "description": "Pagekit Theme", "license": "MIT", "authors": [ { "name": "Matt Thomas", "email": "[email protected]", "homepage": "http://betweenbrain.com" } ], "extra": { "image": "theme.jpg" } }

All worked well, except the installation confirmation screen seemed a bit incomplete.

screenshot - 05062014 - 02 41 51 pm

admin

Hi,
I was trying to install pagekit on my localhost. after configuring everything, you need to login to admin page, but unfortunately it cannot find admin page getting 404 page error.

Failed installation causing white screen

Using Google Chrome browser my installation failed during database setup step. No error message appeared but clicking "Next" did not appear to do anything. Trashed that install and started over with a new install in a different directory... however the install screen was just completely blank. Viewing source showed code within body tags but nothing rendered.

Finished install in Safari browser, but admin is still inaccessible via Chrome.

This was done in local MAMP environment. PHP 5.4.10, with all PHP extension requirements met and all files/folders writeable.

Unsuccessful Installation

The installations just throws an error Uuups, something went wrong!. . I just pulled the repository a minute ago from the last update which was 8 minutes ago

0.8.3 - Database Connection Fatal Error

After add Database details. When click on next nothing happen.
captura de tela 2014-07-21 as 09 15 37

Notice: Undefined variable: tmpConnection in /Applications/MAMP/htdocs/lab/pagekit/0.8.3/extensions/installer/src/Controller/InstallerController.php on line 203

Fatal error: Call to a member function getDatabasePlatform() on a non-object in /Applications/MAMP/htdocs/lab/pagekit/0.8.3/extensions/installer/src/Controller/InstallerController.php on line 203

Marketplace version numbers problem

When adding an extension to marketplace on pagekit/alpha, the version numbers aren't listing in order making it impossible to deprecate an older version and apply a new version.

Example... version 0.1.8 is listed above version 0.1.9... so 0.1.8 can't be deprecated and 0.1.9 can't be published to the marketplace.
screen shot 2014-04-12 at 23 40 29
screen shot 2014-04-12 at 23 40 39

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.