corzblog 3.4b

As 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..

3.3 ßeta


* 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).

* Added cute delete/move up/move down buttons to the link preferences, so you can re-order your links. These buttons require JavaScript to work properly. HOWEVER, I have (with some effort) enabled them to also function without JavaScript. Note, that when using this non-javascript functionality, the preferences are saved immediately on your change. There is no undo, though your last set of preferences will always be in the backup directory, should you need them.

The delete button works the same way, though for non-JavaScript editing, simply deleting the link text and saving the prefs would be quicker, especially if you plan to delete more than one link.

* Added an option to get to the advanced properties for all links (previously you would need to edit the ini file manually to alter these). If you have JavaScript disabled, the input will be open at all times. With JavaScript enabled, you can toggle it in and out of view by clicking a wee triangle button.


* Did a lot of work on the spell-checker, making it more user-friendly (and developer-friendly). Firstly it is now a proper php class. I also added the capability to add words to the dictionary and ignore words for a session. There are also cute AJAX-driven links for this (which fall-back to regular links if JavaScript is disabled)

By the way, the AJAX is all handled internally, all you need to do (after initializing the spelling class) is..

$spelling->check_ajax();

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).


3.4 ßeta


* 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.

Have fun!

;o)


More than a 404..

My "Clever 404" has come a long way over the years. The most recent evolution being that it can now handle all your error document needs. Clearly the old name had to go, so.. Introducing...

Active Error Pages


Here's a quick summary of what Active Error Pages has to offer..

  • Automatically redirect visitors to your moved documents. (without .htaccess hacking!)
  • Automatically search for the visitor's lost page. (and returns a list of likely candidates)
  • Automatically jump visitors on single matches. (they won't even know they got a 404!)
  • Partial and Fuzzy matches weird and not-so-weird user typos.
  • Automatically handles all your error document needs (400, 401, 403, 410, 500, 503, whatever you need).

Active Error Pages is compatible with the old 404's "catchers", so any redirections you have setup in your moved.ini will function with no extra work on your part.

I've also added a testing mode, so you can send 302 headers, aka. "Temporary Redirect". And other goodies.

And lastly, I (finally) gave it a page of its own, here.

That's it. Now you keep your lost visitors!

for now..

;o)


Handy HTML5 Document Outliner

Dismayed (again) by the lack of valid HTML5 document outlining in Firefox's Web Developer add-on (come on Chris!), I hunting around found this, a "bookmarklet" you slam into your (surely visible) bookmarks toolbar and <click> to get a cute HTML5-capable document outline hovering over your page.

Here's that URL again..

http://code.google.com/p/h5o/downloads/list

Download the HTML and drag the bookmarklet into your bookmarks toolbar (or grab one of the specialized versions). Voila!

From then on, you simply click the bookmarklet and your page's Document Outline instantly appears. Handy.

;o)

ps. behind the scenes, the HTML5 update continues..


 ©  2024 « autoconfig.corz.org » 24.12.17  

Welcome to autoconfig.corz.org!

I'm always messing around with the back-end.. See a bug? Wait a minute and try again. Still see a bug? Mail Me!