neilcrookes / cakephp-blog-plugin Goto Github PK
View Code? Open in Web Editor NEWA CakePHP Plugin for a blogging engine with posts, categories and tags
A CakePHP Plugin for a blogging engine with posts, categories and tags
Is there any CSS for these pages?
Followed your instructions, but still get missing controller notices
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
I have tried to use this plugin on cakephp 2.4
But "/admin/blog_posts" route doesn't work.
So I can't enter the admin page.
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.
When going to a specific category index (/blog/category:category-slug) the view shows all posts. It is not being filtered by the category.
Is there an example site where this is working nicely?
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
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 :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.