Skip to content

florincatalin/Simple-Blog

 
 

Repository files navigation

Simple Blog

Blog plugin for Typesetter CMS

Scrutinizer Code Quality

I wanted to modify SimpleBlog so that ArchiveGadget will display the years and months in collapsed form, and at the click open the years, months and then posts. My idea was taken from

https://stackoverflow.com/questions/31508500/dead-simple-collapsable-list-function-for-deep-and-shallow-nested-ul-li-lists-j

with an example on

https://jsfiddle.net/ufb9q3n3/

Unfortunately, this approach requires the modification of the original generator code in php, which is difficult to achieve. After careful documentation we discovered on stackoverflow that modern browsers allow a smarter approach to the situation:

https://stackoverflow.com/questions/15095933/pure-css-collapse-expand-div

Without jquery, without too many code changes!

Unfortunately, this solution does not work well for browsers that have not implemented the details and summary tags. Another solution, using jquery, was suggested by Juergen and will be available soon as an update (3.0.5) to the Simple Blog plugin on the Typesetter site. This solution is deprecated.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 96.9%
  • CSS 2.9%
  • Other 0.2%