Coder Social home page Coder Social logo

f3-blog's People

Contributors

chrisfrench avatar rdiaztushman avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

pannet1

f3-blog's Issues

Fix routes

admin/blog/posts
admin/blog/categories
etc

Add support for date-based URLs/filtering

Lots of blogs support these types of URLs:

/blog/2014/05/04/ ==> list of all blog entries from May 4, 2014
/blog/2014/05/ ==> list of all blog entries from May 2014
/blog/2014/ ==> list of all blog entries from 2014

This can just be a part of the \Blog\Site\Controllers\Home::index method
Remember to add support for pagination on those URLs

the /blog/{year} route shouldn't ever conflict with any of the existing routes because all the other ones are more specific ( /post/{slug}, /category/{path}, etc)

handle non-existing authors

Blog posts require authors. Right now, when the author doesnt exist, the post is assigned to Raf (line 50, file \Models\Posts.php). We should fix this when we get stable.

beforeValidate is being called prior to viewing a blog post

Need to figure out why. If it's OK for it to be called there, then need to fix this error that occurs when the safemode user has created a blog post:

Fatal error: Call to a member function fullName() on a non-object in /f3-blog/src/Blog/Models/Posts.php on line 71

Don't use the metadata.creator for author data

Often (such as on another project i'm working on), the displayed author for an article will be different from the person who actually created the blog post. They're distinct. So for blog posts, lets add an ->author field to the model.

Leave the metadata.creator field alone -- it should continue to track the person who created the blog. But the ->author field should be used for the front-end display. Add an element to f3-users for selecting a user, and include that element in the f3-blog editing form

Check the f3-assets element for a sample of making an element.

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.