Page 1 of 1

Plugin BLOG

Posted: Thu Mar 12, 2020 8:29 pm
by HWU
Hello, I'm back with WonderCMS 3.x and it feels good. This time I took a closer look at the blog plugin.

You know - I am not a programmer - I am a freak, a tinkerer, a SEO enthusiast from the first hour.

So I wanted to find out if I can bring the plugin to a score of 100% in Google Lighthouse. And it really works! Ok, the code is not quite clean, the css is not (yet) clean either.

Test installation, link to Google Lighthouse in the footer:
https://www.webpin.ch/alltag/

Productive version for a new small project:
https://www.notiert.ch/

I look forward to more exciting plugins and themes. Thank you all for your work.
Many greetings, Heinz

Btw. wiz, thank you for your message. You see - I'm back. You know why? Because I never give up! :!:

Re: Plugin BLOG

Posted: Sat Mar 14, 2020 11:34 pm
by StephanStanisic
Wow, is that the blog plugin?

Looks awesome! It's cool to see WonderCMS actually being used!

Re: Plugin BLOG

Posted: Sun Mar 15, 2020 12:23 pm
by HWU
Yes, StephanStanisic

It's your blog plugin. Good to hear that you're not totally horrified by my changes...! :mrgreen:

You're the professional - respect for the youth :idea:

Re: Plugin BLOG

Posted: Sat Sep 19, 2020 9:03 pm
by otismo
@ Heinz Wüthrich

luv your blog - got a plugin ?

Thank You !

Cheers !

Re: Plugin BLOG

Posted: Sun Sep 27, 2020 2:18 pm
by HWU
Hello otismo :!:

Thank you for your inquiry. Unfortunately I don't have a plugin for it - the changes are hard coded and apply to WonderCMS 3.0.6 and Simple Blog 3.0.5. :idea:

I just wanted to prove that you can build WonderCMS websites that score "100" in all relevant disciplines in Google Lighthouse. And I succeeded with the productive version. :mrgreen:

Greetings, Heinz

Results (printscreen) from 2020-09-27:
Image

Re: Plugin BLOG

Posted: Fri Apr 16, 2021 10:56 pm
by c0mp0ser
I start to test a latest WonderCMS (3.1.4) and I installed the Simple Blog plugin. Everything is working ok. Thank you! :) I have a suggestions to this plugin.
1. It would be very nice to implement a categories. It's very useful to helping the readers to quickly find the article they want. I know it from my own experience. Nothing is better than the categories or/and tags. So, imo, it's a "must have".
2. There is the problem with the "og:url" tag generated by this plugin. It's stricly pointing the hompage of entire service instead of the single article in the blog. Eg: "www.somewebsite.com" instead of the "www.somewebsite.com/blog/blog-article". The Facebook Sharing Debugger indicates it as the incorrect.
3. This plugin has no support. It would be nice to add the information to the plugin description - how to find any necessary code to adapt/localize it to other language. I did translation by myself, but there may be some people who may have some difficulties to do it.

Re: Plugin BLOG

Posted: Sat Apr 17, 2021 9:07 am
by c0mp0ser
I found something to change (improve) in the plugin. :roll:

On line 50 of

Code: Select all

/plugins/simple-blog/css/blog.css
it would be worth changing

Code: Select all

(max-width: 576px)
to

Code: Select all

(max-width: 1023px)
Blog Cards at lower screen resolutions become unpleasantly narrow. What do you think?

Re: Plugin BLOG

Posted: Wed Sep 01, 2021 8:08 am
by NorfolkGreg
@ c0mp0ser
I haven't investigated your suggestion for a change in the max-width but it sounds reasonable...

@ StephanStanisic
I installed the Blog plugin immediately after installing WonderCMS. I'm a competent HTML coder so didn't feel the need for a WYSIWYG editor. I abandoned it as no edits to a published blog post could be made (A Save action appeared to take place but was lost in the process) nor could any post be deleted. I uninstalled the plugin!

Then, while exploring the WonderCMS demo (where both the Blog and Summernote Editor are installed) I found edits and deletion of posts could be made.

So I installed the Summernote editor and reinstalled the Blog plugin. I discovered that "uninstalling" the plugin merely unlinks it from the WonderCMS installation as my three test posts immediately reappeared but, more importantly, I could now my edit and delete Blog posts.

In summary:
The documentation should record that the Summernote Editor is required for the Blog Plugin to work!

Re: Plugin BLOG

Posted: Wed Sep 01, 2021 11:27 am
by NorfolkGreg
I do have a feature request too!

Is it possible to make the date of a post editable. I am considering migrating a blog to WonderCMS and have around 300 posts going back eight years to transfer.

I suppose that as a temporary fix I could comment out the line

Code: Select all

    "date" => time(),

in new.php and add an editable area in which I can place the date. As you'll gather my PHP skills are extremely limited!

Re: Plugin BLOG

Posted: Sat Nov 06, 2021 3:44 pm
by wiz
Hi NorfolkGreg.

There's an updated version of the blog plugin, which should successfully delete blog posts and also enable you to use it without summernote.
- We can implement this feature in the future, for the time being you can also edit the blog database manually.

Hope this helps, any feedback is appreciated.