corzblog 3.4bAs usual, lots of work is going on behind the scenes here at the org. The latest package to drop off the end of the production line being corzblog 3.4b, you're looking at it!
Since I last posted about corzblog, this has happened..
* Added the side-links into the preference tabs, with a system to add more link groups later, of required. The link preferences are stored in an ini file, next to the main ini, in inc/data.
* Got the themes working pretty much the way I imagined. We now have a "themes" folder called "sometheme", inside is sometheme.css, which defines the styles, layout and such, and a sometheme.ini, which defines the color schemes to use in the auto-generated CSS. You can keep multiple color schemes inside your ini file, each scheme altering the colors and images for the individual elements.
You can still use a static CSS file, if that's your bag.
* I properly implemented the external password file. In the configuration tab, you can now enter the FULL SERVER LOCATION of a plain text password file, in place of the normal password string, e.g.. /var/www/vhosts/mysite/secret/.ht_password
* I gave all the preference items their own grouped tabindex property, enabling you to <TAB> through all the options in the correct sequence, one tab at a time, with the save at the very end, no mouse required! As well as making preference navigation easier, this should improve accessibility on a wide range of reading devices.
* For our convenience, I added an edit button to all blogs. If you are logged in, a wee pencil icon will appear at the foot of all regular (not perma-linked) blog views. This works for the current blogs, archives, and about-blog page. The edit link is still a quick way to get editing any specific blog, but the button is handier if you are already there.
* There is now a button to add a new link to the sidebar link groups, from directly within the preferences. By the way, to delete a link, simply delete its link text (the first input) and save the prefs.
* Your current preference tab is remembered when you save/load/navigate to the configuration/preferences. This means, for example, if you add a link to the links, you remain on the same tab. I did a little AJAX for this, so when you lock a tab (by clicking it) and leave the prefs, it is open on your return.
* There is now an option to delete blogs (a button will appear in the edit page when you are logged in).
By the way, the AJAX is all handled internally, all you need to do (after initializing the spelling class) is..
The spell-checker now provides preferences and methods (functions) for *everything*, from outputting the spell options controls to printing out cute lists and boxes of relevant information, e.g. make_list_of_bad_words().
* I moved a lot of the admin styles and layout around, making things more logical, more ergonomic. I kept going for the "Logout" button when I wanted to save my preferences!
* Fixed a bug where setting the default custom spell-checking list in the prefs was being ignored (it was using the setting in init.php).
* Valid HTML5 output. Oh yeah!
* Various style changes and fixes. In particular, <h1> is now used for the blog titles, creating a better document outline.
* Added a user preference for the RSS feeds time difference (previously you had to hack this into the code) and custom headers (so you can have corzblog insert your site's header into the pages, directly below the opening <body> tag).
* Rolled the last of the images into the theme prefs (no more orange rss buttons in the blue theme!).
* Discontinued support for Internet Explorer versions prior to IE8. No more pngfix!
* Removed browser-checking code, it's no longer required.
For more details, check out the version history, here.
You can grab the latest release here.
I've returned to Linux for the packaging, so if you are new to corzblog, you will find that if you unzip in-place, all the file permissions are good to go. Drop in and blog!
If you are not new to corzblog, and are looking to simply update the code parts, you will find what you need here.