Open lantian opened 10 years ago
Will try to take a front-end design from somewhere else, unless you gays can come up with some ideas.
It seems that we need to play it around coz of common theme layout system and styles... just to make sure that themes switching will not break module blog ))
Yup. Was also wondering how many and what kind of layout settings make available initially. Examples are:
List view:
Position of the date will be set from css (float:left) so that user's template can override it easily. I think that's the way to approach it instead of putting too many settings upfront.
Post view:
Admins should be able to see all blog posts, including these disabled which should be greyed-out or bordered with a dotted line etc..
That's all pretty easy, just throwing random ides before pushing for anything.
Yep, this is common things. I've thought about this in that direction, too.
Just pushed:
:+1: I have left some comments https://github.com/PhalconEye/module-blog/commit/b3a2c30af4fae1c0cd80bdd2ff08dd79011a5cb7 ))
Thanks, both issues sorted.
Just pushed:
Things still needs addressing:
Post image/thumbnail. I'm still not sure how do we handle resizing. We can either use single image and let browser scale it or ask for upload and re-size on server. All platforms I'm aware of will do the latter.
I think that we can resize them on server using some settings from admin panel
Pushed implementation for post image, thumbnail and resizing.
These images are saved into /public/files/blog but ideally this could be abstracted in the CMS to allow other filesystems than local filesystem only (eg. S3, FlySystem, CDN or whatever). I'm gonna create a ticked under cms to discuss this further.
Great! Yep, some sort of Storage feature must be present. We will discuss it.
These basics seems to be nearly there. Will try to do some more testing over then next few days.
Basics: