Coder Social home page Coder Social logo

redkite-labs / redkitecms Goto Github PK

View Code? Open in Web Editor NEW
134.0 134.0 36.0 25.22 MB

Content Management System built on top of Symfony2, Knockout, Jquery, Twitter Bootstrap frameworks.

License: MIT License

PHP 0.92% Gherkin 0.02% ApacheConf 0.01% HTML 1.85% CSS 1.42% JavaScript 95.47% Shell 0.01% Haxe 0.01% Nix 0.01% ABAP 0.01% ActionScript 0.01% Ada 0.01% Assembly 0.01% AutoHotkey 0.01% C++ 0.01% Cirru 0.01% Clojure 0.01% COBOL 0.01% CoffeeScript 0.27% ColdFusion 0.01%

redkitecms's People

Contributors

alexkvak avatar alphalemon avatar boekkooi avatar bvleur avatar dantleech avatar franmomu avatar gaelb80 avatar gilles-g avatar marcoooo avatar mdford avatar redkite-themes avatar seldaek avatar symfonycoda 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

redkitecms's Issues

Command install doesn't work

I try to install RedKiteCMS on my local website, but got a problem I can't find any solutions on the web ...

here my log :

app/console redkitecms:install --env=rkcms
Database has been created

[Propel] Error

An error has occured during the "om" task process. To get more details, run the command with the "--verbose" option.

File+ /var/www/RedKiteCmsSandbox/app/cache/rkcms/sql/default.sql
File+ /var/www/RedKiteCmsSandbox/app/cache/rkcms/sql/sqldb.map
1 SQL file has been generated.
Use connection named default in rkcms environment.
All SQL statements have been inserted.
PHP Fatal error: Class 'RedKiteLabs\RedKiteCmsBundle\Model\om\BaseAlLanguage' not found in /var/www/RedKiteCmsSandbox/vendor/redkite-cms/redkite-cms-bundle/RedKiteLabs/RedKiteCmsBundle/Model/AlLanguage.php on line 8

An idea ?

Design blocks from the scratch

Actually to handle collection of blocks with RedKite CMS is quite complex. To simplify that design, we need to define a block as a flat PHP class, serialize it with the JMSSerializer library as json, save the serialized object to the database and deserialize it for the frontend.

Add Page redirect management

When porting a CMS to Redkite url's need to be remapped/redirected to new url's.
Currently there is no place to do this and this should be added (in my opinion).

Also when changing published page/seo permalink support should be added to auto generate permanent redirect for these pages.

I will probably start work on this next week but please let me know if you are already working on this or if you have a better idea.

Database with no pages gives fatal exception.

If you remove all rows from al_page and go to /backend/login you will see the following exception:
FatalErrorException: Error: Call to a member function getPageName() on a non-object in /vagrant/vendor/redkite-cms/redkite-cms-bundle/RedKiteLabs/RedKiteCmsBundle/Controller/SecurityController.php line 62

I expect that this is not meant to happen a quick fix would be to just add a homepage is there is none or even better tell the user and force him to create one.

problem with deployement

after deployement, when accessing the website url :

An exception has been thrown during the compilation of a template ("You must add ModernBusinessThemeBundle to the assetic.bundle config to use the {% stylesheets %} tag in ModernBusinessThemeBundle:Theme:base/base.html.twig. (currently enabled: AcmeWebSiteBundle)") in "ModernBusinessThemeBundle:Theme:base/base.html.twig".

Package not found

Hi Guys, please help-me!

I'm trying install the redkitecms via composer but I always have the error:
"redkite-labs/bootbusiness-theme-bundle v1.1.0 requires redkite-cms/bootbusiness-product-bundle 1.1.* -> no matching package found"

I tried add the package in the composer.json but it doesn't exists.

What's wrong?

Sorry for my bad english.

Thks of lot,
Mirela Lisboa

Error

Getting an error upon installing. After running:

php app/rkconsole redkitecms:install --env=rkcms

I get:

PHP Fatal error:  Class 'RedKiteLabs\RedKiteCms\RedKiteCmsBundle\Model\om\BaseLanguage' not found in /srv/www/tsudalab.org/RedKiteCms/src/RedKiteLabs/RedKiteCms/RedKiteCmsBundle/Model/Language.php on line 8

Upon looking closer, it seems that the Model/om dir is not getting filled with the files it should (all the 'BaseXXX' classes). I am not sure which modules installs these files, so no idea how to fix this...

Custom user provider

I wanted to use this bundle in my Symfony project. But there is a problem, I already have user registration\login system. It's own bundle similar to FOSUserBundle. But RedKiteCms uses it's own user system.

How can I join my user system with RedKite's?

Change licence to MIT

I'm not sure why GPLv2 was chosen but I personally think MIT would be a better choice.
Any good reason why not to change this?

[Exception] Block definition with a single group

When you define a block like:

<service id="xoip_block.languages_menu.block" class="%xoip_block.languages_menu.block.class%">
    <argument type="service" id="service_container" />
    <tag name="red_kite_cms.blocks_factory.block" description="Languages navigation menu" type="XoipLanguagesMenu" group="xoip" />
</service>

The following error is thrown:

Impossible to access an attribute ("filter") on a string variable ("Languages navigation menu") in RedKiteCmsBundle:Cms:BlocksMenu/blocks_menu.html.twig at line 28

This happens due to a invalid return from RedKiteLabs\RedKiteCmsBundle\Core\Content\Block\AlBlockManagerFactory::getBlocks and is due to the group not having a ',subgroup'.

Add Doctrine ORM support

Currently only propel is supported as a ORM, I think adding doctrine as a alternative ORM would make adoption within current projects easier for people so they don't have add extra dependencies and database connections.

(A example of a bundle that implements this is FOSUserBundle)

Rearrange bundle structure

@boekkooi I've created a temporary repository where are saved the proposal for the new RedKiteCMS bundles structure. https://github.com/janxin/RedKiteCmsBundles

I didn't arrange the src/RedKiteCms where blocks and themes still live to avoid users to do additional work to upgrade to next release, while I moved all the other bundles under the RedKiteLabs/RedKiteCms.

This bundles structure will simplify the RedKIte CMS exclusion from productions deployment, because users will exclude the RedKiteCms\Block and the RedKiteLabs\RedKIteCms folder.

This is the reason while the ThemeEngineBundle has been left under the RedKiteLabs folder.

See #25

Pages and languages interface restyling

Redesign both the pages and languages panels. Pages (languages) will be rendered in a table placed on the left of the panel and the form to handle them, will be rendered on the right of the panel

Just fresh install

Hi All, first thnxs for this tool :-)
Juste freshly installed redkite from my fork, install went ok, but I have a message when opening media manager.
"Invalid backend configuration.
Readable volumes not available.
"
FI : I a under windows, wamp and I doubt having file permission issues. (My deployment will be on linux hopefully).

I didn't find any way to configure ElFinder to work (as it returns this message from this page "backend/en/al_elFinderMediaConnect?cmd=open&target=&init=1&tree=1&_=1396134653751"
["Driver "elFinderVolumeLocalFileSystem" : Root folder does not exists."]}

thnxs for your help.

Installation documentation is not easy for exisiting applications

Thanks for this bundle. I have tried it and managed to get it work with my existing symfony2 app. I found that the installation manual is not good enough for developers of level 0 like me. The installation changes the config files and it does not include the encoders for user entity or add config of existing app. The rework of bundles into single Redkite labs is good. Please improve the documentation.

Error 500 on the media library

rkcms.php/backend/en/al_elFinderMediaConnect?cmd=open&target=&init=1&tree=1&_=1396134653751
-> The server returned a "500 Internal Server Error".

no log found anywhere :(

on ubuntu 12.04 lts
php5.4
screenshot - 30_03_2014 00_25_39

Add deploy revision and rollback support

Currently there is no way to restore the editor/work environment to the state that the live or stage environment is in, It would be nice to have a rollback to last deployed version staging or live environment.

On a user interface note maybe it would be a idea to combine the deploy to stage and deploy to production button into one deploy button where people can those which revision to deploy to which environment.
For example be able to say deploy 'stage' to 'production' or deploy 'working' to 'stage'.

What are your thoughts on this?

Save blocks per user

Actually block contents are not bound to users, this means that every user can add and edit blocks and these changes are always overridden.

What is required is to bind block contents to the user who generates that content.
The content will be saved but it will not be immediately published but that content
has to be approved by someone who has an appropriate role. If the user who generated the content already has an adequate role can approve its own content immediately.

When a content has a new versions available and the user can approve contents, a counter will be displayed in the bottom-left corner of that content so the approver can open a list with all changes displayed and approve or discard each single change.

When one or more changes will be available through the website, a fixed icon will be
displayed in the top-right corner to indicate that changes are available somewhere in
the website. Clicking on the icon, the involved pages will be listed and the approver
can easily move to pages to approve the new contents.

This change will produce several BCs

Typo in Readme.md

app/console rekitecms:configure -> app/console redkitecms:configure

app/rkconsole rekitecms:install --env=rkcms -> app/rkconsole redkitecms:install --env=rkcms

rekit -> redkite

Improve UI

The user interface will be improved updating RedKite jquery plugins, rewriting javascript code, implementing better validation for forms and more

Unable to generate a URL for the named route

I added a Nav dropdown block into Menu block and when I added a new sub navigation link, I've got 500 Error.

 
An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "_stage_de_download_und_testen" as such route does not exist.") in "AcmeWebSiteBundle:RedKiteCmsStage/de/base:home.html.twig" at line 16.

It seems that the Rkcms forget to generate the route to my dropdown element. How can I fix it?

Separate bootstrap css/js from deployed content

I would like to use RK but without bootstrap on our site. We have a full time designer that has a very intricate css system he designed and we use and bootstrap causes conflicts for us.

I know that bootstrap is needed for the editor, but I would like to eliminate it from our production pages.

I have created my own theme bundle and in the base.html.twig file I have tried moving

{% stylesheets filter='cssrewrite' 'components/redkitecms/twitter-bootstrap/3.x/css/bootstrap.min.css' %}

to {% block external_stylesheets_cms %}

and {% javascripts 'components/jquery/jquery.min.js'
'components/redkitecms/twitter-bootstrap/3.x/js/bootstrap.min.js' %}

to {% block external_javascripts_cms %}

so that it is a cms only style but then the menus and editor do not work. I assume because it is due to the order in which it gets loaded.

So, is there an easy way to remove bootstrap from our rendered pages or is bootstrap too integrated into RedKite that it is a requirement and cannot be separated??

Thanks!

Command redkitecms:configure doesn't work

Hi,

I would like to test your cms but the command "redkitecms:configure" with custom parameters doesn't work.

Message: I cannot connect to the database using the given parameters

Thank's

Allow for different rout pattern generation

The current route generation uses the AlPageManager::slugify for both the pagename and permalink.
This can give some problems when converting a old to a new site. It seems like it is currently not possible to have routes like '/en/test' or '/mycompany/about'.

I think adding a way to better manage urls and/or page would be a feature needed for people to start using RedKiteCms.
What are the ideas on this?

This issue maybe related to #6

Simply development using filter-branch

Currently fixing bugs or adding features across multiple RedKite bundles is a bit of a hassle.
Maybe a look can be taken into using a main repo (for example redkite-labs/RedKite) for development and using a automated git subpath splitting to create the needed readonly git repo's.

A example for a project using this method is Symfony and Sylius.

More information about git can be found here:

(Also some mention was made by fabian on http://symfony.com/blog/symfony2-components-as-standalone-packages)

Pages organization

Implement pages grouping and searchable select to keep pages better organized

Remove Al class prefixes

Most classes within RedKite have a Al prefix (probably referring to AlphaLemon) due to the usage of namespaces these prefixes just don't make any sense.

I propose that once #25 is done that all these prefixes should be removed.

Cannot access new page deployed to stage

Creating a new "product" page, and adding a link to this new page will give this error on the "stage" environment:

An exception has been thrown during the rendering of a template ("Unable to generate a URL for the named route "_en_product" as such route does not exist.") in "AcmeWebSiteBundle:RedKiteCmsStage/en/base:home.html.twig" at line 194.

Looking at "config_stage.yml", the framework.router config references "%kernel.root_dir%/config/routing_stage.yml". And this files includes "@AcmeWebSiteBundle/Resources/config/site_routing_stage.yml".
In there, there is no "_en_product" route. Only "_stage_en_product". If we put a link to the product page somewhere, the link will look something like this:

<a href="{{ path('_en_product') }}">Product1</a>

And this route does not exist when running "stage.php".

BlockManageImages not found

Hi Guys,

After last update with composer I'm having the following error:
Class 'RedKiteLabs\RedKiteCms\RedKiteCmsBundle\Core\Content\Block\ImagesBlock\BlockManagerImages' not found in /vendor/redkite-cms/twitter-bootstrap/RedKiteCms/Block/TwitterBootstrapBundle/Core/Block/Slider/BlockManagerBootstrapSliderBlock.php on line 29

In my directory /vendor/redkite-cms/twitter-bootstrap/RedKiteCms/Block/TwitterBootstrapBundle/Core/Block/Slider/ only exists the AlBlockManagerImages class.

I think is because the 'Al' initial was removed, but it didn't submited at packagist.

My current packages versions are:
redkite-cms/bootbusiness-product-bundle v1.1.3
redkite-cms/installer-bundle v1.1.3
redkite-cms/redkite-cms-base-blocks v1.1.3
redkite-cms/redkite-cms-bundle v1.1.2
redkite-cms/tinymce-block-bundle v1.1.3
redkite-cms/twitter-bootstrap v1.1.3
redkite-labs/bootbusiness-theme-bundle v1.1.0
redkite-labs/modern-business-theme-bundle v1.1.0
redkite-labs/redkite-labs-bootstrap-bundle v1.1.3.1
redkite-labs/redkite-labs-elfinder-bundle v1.1.3.1
redkite-labs/redkite-labs-theme-engine-bundle v1.1.3.1

My composer.json:
...
"redkite-cms/redkite-cms-bundle": "1.1.",
"redkite-cms/installer-bundle": "1.1.
",
"redkite-labs/bootbusiness-theme-bundle": "1.1.",
"redkite-labs/modern-business-theme-bundle": "1.1.
",
"redkite-cms/redkite-cms-base-blocks": "1.1.",
"redkite-cms/tinymce-block-bundle": "1.1.
"

thks,
Mirela

Theme generator

Hi guys,

When I tried create a new theme, I found an error at file /vendor/redkite-cms/redkite-cms-bundle/RedKiteLabs/RedKiteCms/RedKiteCmsBundle/Core/Generator/AppThemeGenerator.php line 23. Is missing one '/../' at path.

/../../../../../../sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Resources/skeleton must be changed to /../../../../../../../sensio/generator-bundle/Sensio/Bundle/GeneratorBundle/Resources/skeleton

Sorry for my bad english.

Rework the resource locking

Currently the resource locking is based per url.
This seems a incorrect and very unfriendly way of working with this.

I propose to rework the locking mechanism to be handled on a resource.
And to rework the interface to show a locked resource as read only.

This will also remove the very nasty The resource you requested is locked by another user. Please retry in a couple of minutes error page.

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.