Code Monkey home page Code Monkey logo

cakephp-blog-plugin's People

Contributors

dezzzus avatar mikeotown avatar neilcrookes avatar ryanjohnston 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

cakephp-blog-plugin's Issues

How to add post from admin?

Hi,

I have used your plugin in my fresh cakephp 2.6 setup.
I can access mydomain.com/blog but am unable to access mydomain.com/admin/blog_posts
It is showing 404 error.

I have Configure::write('Routing.prefixes', array('admin')); in core.php file
and I am not using Auth.

Please help me to resolve this.
Thanks

Example site?

Is there an example site where this is working nicely?

Manually including routes.php is not required

With the new CakePlugin architecture, Blog's routes.php file can be loaded in a more Cake way:

CakePlugin::routes('Blog'); // Load Blog plugin routes

or

CakePlugin::routes(); // Load all plugin routes

Not an issue really, but just a note that it's even easier to use your plugin now :)

Admin routes issue

Admin routes are not working properly by default as specified in the README file.

The url specified of /admin/blog_posts is not pointed at the 'blog' plugin.

I had to instead use /admin/blog/blog_posts but I'm not sure if that will create other issues.

CSS?

Is there any CSS for these pages?

Category pagination does not work

When going to a specific category index (/blog/category:category-slug) the view shows all posts. It is not being filtered by the category.

Allow extension of existing model

I'm not sure exactly how it would be implemented yet, so I thought I'd ask here and get your opinion.

I would like to be able to extend the BlogPost model and use that instead of the default one inside the plugin. This is because I'd like to be able to store multiple images with each blog post using the davidpersson's 'Media' plugin (which I'm working on converting to cake 2.0).

Naturally a dependence on the Media plugin to use the Blog plugin wouldn't necessarily be a good thing, but being able to use custom fields, validation, methods, and behaviors for the BlogPost model would be an important feature for many use cases.

Not sure if you have any ideas on how that could be achieved, or if you have any other ideas in mind for allowing custom field types, especially image attachments.

Thanks!

Ben

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.