Dario Bösch
9b169f70a7
page_number global in blog_handler
2015-05-22 15:43:29 +02:00
Dario Bösch
601b88ab36
blog handler optimized, blog user handler created
2015-05-22 15:34:32 +02:00
Dario Bösch
2b0e1a2b84
Improved structure of blog handler
2015-05-22 14:39:43 +02:00
Dario Bösch
db77c4024d
created blog.scss, added link to blogs/{user}
...
Later we will list all posts of a user under the route blogs/{user}
2015-05-22 14:04:00 +02:00
Dario Bösch
261aeca300
Bugfix: Author was hidden
...
I had to add the authors to each post after getting the list. Made a helper feature add_authors.
2015-05-22 12:34:30 +02:00
Dario Bösch
027463a910
#3 : added pagination links at bottom of the blog page
2015-05-22 12:02:33 +02:00
Dario Bösch
a4c50adefa
#3 : Calculate and show number of total pages
2015-05-22 11:48:20 +02:00
Dario Bösch
1f61126d22
Configuration File added
...
Created CMS_BLOG_CONFIG at moved the feature entries_per_page to this new class. The blog hander inherits from the config class
2015-05-22 11:30:54 +02:00
Dario Bösch
fb196735b6
#3 : Routet page and limited entries
...
The blog module routes /blog/{page} and the blog handler limits the entries per page (given as a feature) and sets the offsets according to the given page number
2015-05-22 11:17:34 +02:00
Dario Bösch
802ad0626e
Bugfix: wrong API in initialisation of blog module
2015-05-21 16:10:07 +02:00
Dario Bösch
470b1b2e05
Restructured Blog Module
...
All blog handlers and storage classes are detached from the nodes module. All files of the blog module are in the modules/blog folder
2015-05-21 16:04:58 +02:00
Dario Bösch
57c2a7bccd
Removed the summary from the detail page
2015-05-21 14:12:01 +02:00
Dario Bösch
4dd980963a
Moved filter of nodes of type blog to the node storage layer.
...
This is more efficient because the result set from the query will be smaller and it will be easier to implement the pagination
2015-05-21 14:06:08 +02:00
Dario Bösch
6a782e412d
#2 Structure of list of posts (blog)Ordered the posts by creation date. For this, I added a field to the nodes storage and api. Show the creation date and author. Styled the post and added a more link to the detail page
2015-05-21 12:03:09 +02:00
Dario Bösch
0e0cd131a5
#1 : Added the summary field to all nodes. It gets saved if we edit the node. On a node page the summary is shown first, then the main content. In the blog list the title and the summry is shown
2015-05-21 10:18:03 +02:00
Dario Bösch
202253e414
Added summary field in edit and add mode of a node
2015-05-19 17:28:37 +02:00
Dario Bösch
f72fcce440
Link fix
2015-05-18 15:40:47 +02:00
Dario Bösch
f48f09bfdf
Bugfix (blog disappeared as create option)
2015-05-18 14:49:21 +02:00
Dario Bösch
35b186cec8
gitignore
2015-05-18 14:39:49 +02:00
Dario Bösch
c65265b025
added blog handler that lists all blog entries
2015-05-18 14:36:24 +02:00