Serendipity 1.2 released
Serendipity 1.2 released Posted by Garvin Hicking in Announcements, Security, Templates at 13:37
Comments (11)
Trackbacks (0)
The Serendipity Team is proud to present the final release and immediate availability of Serendipity 1.2.
This release is a feature consolidation release and focuses on small usability improvements, a shiny new template (bulletproof) as well as backend templating and backend login mechanisms as well as some tighter security restrictions.
Some more changes in depth are:
- Templates: The new bulletproof template is an awesome example to show off Serendipity's cool template options. This template allows you to easily configure the look of your Serendipity site: Place navigation links, choose sidebar layouts, indicate if you want to use/show trackbacks and comments, pick your custom header image or even custom colorsets. Don Chambers, Matthias Mees and David Cummins as well as other contributors have worked very hard on this template that provides an awesome, unified template structure. Go to their site at http://s9y-bulletproof.com to check out the details!
- Templates: The admin backend (overview page and entry editor) can now be styled via Smarty and gives you the full flexibility to make a custom look of the backend. Plus, more CSS classes have been added to the default admin theme that make CSS-only changes much easier. Templates now also can have large preview images by clicking on their thumbnail.
- Usability: Moved the problematic option to withdraw your own privileges from personal configuration to the user configuration panel.
- Feature: Added SQLite3 and PDO:PostgreSQL support.
- Feature: Allow to configure whether article overviews for a certain category should include articles of subcategories or not.
- Performance: Improved SQL performance for archive overview generation and permalink lookups.
- Plugins: Plugins can now hook in much earlier to make external authentication easier (like trough the OpenID plugin).
- Spam: Enhanced the spamblock plugin with captcha previews, .htaccess generation and some more options.
- Security: Stronger autologin cookie encryption and template option handling, thanks (once again) to Stefan Esser. Proper session fixation prevention, thanks to David Vieira-Kurz.
- Bugfix: Sending pingbacks now properly works.
- Bugfix: The Track-Exits plugin now properly tracks links in conjunction with the caching of the entryproperties plugin.
The full list of changes can be found in the NEWS-file of the release.
You can download the new release as always on the Serendipity homepage at http://www.s9y.org/3.html. Updating is easy: Just upload the new files, visit your Serendipity installation and let the upgrader do the rest.
After the upgrade you might want to purge your browser's cookies (due to the new authentication mechanism of Serendipity 1.2) to prevent login problems. Detailed upgrade instructions can be found in the FAQ on our website.
Enjoy Serendipity, and thanks to everyone who participated in the release process!
For the team,
Garvin.
Backend Templating
Backend Templating Posted by Garvin Hicking in Development, Templates at 12:43
Comments (0)
Trackbacks (0)
For Serendipity, only the frontend (what the visitors see) could be subject to Smarty-Templating. One reason for not utilizing these features in the backend was to maintain stability, ease of change for core developers and reduce migration woes so that the Admin Backend would always be accessible.
What we have now added to the Serendipity 1.2 snapshots (that will soon become public beta and a final release in late Summer) is functionality that allows you to template the backend layout as well as the 'New/Edit Entry' screen. Other functions like category manager, plugin manager etc. will remain hardcoded and eventually changed, because most of their look can already be controlled with CSS only.
To maintain stability and prevent migration problems where Smarty might not be initialized, Serendipity can fall back to the usual PHP-only backend. This is done using a tricky session variable scheme - when Smarty cannot be loaded, a session variable is set, and on the next page call, this variable will force the Serendipity framework to use the fallback routines. Nifty stuff. :-)
Please try out the new theming possibilites and give feedback. The default admin stylesheet can be found in the templates/default/admin/index.tpl and templates/default/admin/entries.tpl templates, and can be copied to your own theme directory as usual.
New theme: Adaptation
New theme: Adaptation Posted by Garvin Hicking in Templates at 16:35
Comments (6)
Trackbacks (0)
Alp Uckan has released his theme Adaptation (german page, layout can be seen on his site). It's a "content-first" based theme with advanced Serendipity 1.1 design options such as choosing color- and fontsets. It evolves around full CSS and XHTML compatibility and thus providing accessibility options being set by the user in his browser (fontsize, colors etc. are based on browser setup).
Have a look at this clean template, it's now also being added to Spartacus! Thanks a lot to Alp for providing his theme to the public.
Carl Galloway releases Hemmingway-Theme port
Carl Galloway releases ... Posted by Garvin Hicking in Templates at 10:31
Comments (6)
Trackbacks (0)
Carl Galloway has released his port of the Hemmingway Theme for Serendipity.
It's quite bleeding edge and supports various new features of Serendipity 1.1-beta, so check it out! Hooray for Carl. :-)
Customizable Plugin Sidebar locations
Customizable Plugin Sidebar locations Posted by Garvin Hicking in Development, Templates at 22:37
Comments (3)
Trackbacks (0)
For ages, Serendipity has given users the flexibility to move around plugins in the left/right sidebar. Two sidebars were a usual concept for blogs in the days past, and for surely some more days to come.
But some themes, like the Hemingway theme give people a different approach to surrounding their blog content. The result of a porting discussion on the forums lead me to patch our plugin API.
Serendipity 1.1 already support custom theme options (like special navigation bars, colorsets etc.), and what came out of my recent patch is the functionality to define multiple custom sidebars.
With this, you can add a "top", "bottom", "middle" or whatever else sidebar locations to your themes, and put them in the smarty templates using the function {serendipity_printSidebar side="XXX"} wherever you like.
It's as easy as adding a config.inc.php file to your template, add a $template_config array value like this:
$template_config = array(
array(
'var' => 'sidebars',
'title' => 'Sidebars',
'type' => 'string',
'default' => 'left,hide,right,bot'
)
);
(or modify existing config arrays) and save the file. When you now enter your plugin configuration section, you will see each of the sidebar locations next to another, so that you can move around plugins from one to the other location.
There are two things to watchout: If you use locations other than 'left' and 'right', other templates may not output plugins that were put to a location like 'bot'. So if you switch templates, you must watch out on where you put your sidebar plugins into.
The other thing to pay attention: Only use "," to separate the sidebar item names (no spaces!) and never use more than 6 characters for your locations.
Please have a test with these new possibilities, tell us if you like it, and show us the results you made with it!
This functionality has been implemented into recent Serendipity 1.1 nightlies (currently 1.1-beta4)
How to add Hijri dates
How to add Hijri dates Posted by Garvin Hicking in Templates at 16:48
Comments (0)
Trackbacks (0)
Fellow serendipity-user Abdussamad wrote a nice Tutorial on how to add Hijri-dates (arabic) to the blog output. Thanks a lot for your contribution!


