Sticky Postings
Bulletproof - what is it?
Bulletproof (bp) is a template framework, which means it is, on the one hand a template for the weblog engine Serendipity (s9y), and on the other hand is meant to be used as a framework to build new templates for s9y.
The Bulletproof developers' primary design goal was to create a template which is, well, bulletproof!! It should be able to create any of the "classic" website/blog layouts, in any popular browser, on any popular platform, without falling apart. The developers are fairly confident that we have achieved that goal, but of course nothing is 100% certain.
Bulletproof makes great use of s9y's "theme options", so users can now configure almost any desirable option using just the administration panel. There is almost no need to edit any of the template's core files. Of course we cannot cover every specific custom feature every user might desire, but we are fairly sure we have covered the most desireable features.
Continue reading "Bulletproof - what is it?" »Sep 21
Additional user colorsets
One of the, if not the major new feature in Bulletproof v1.1 is the possibility to add additional colorsets add. Users can add their own colorset without having to edit any of the template's core files as long as they follow certain instructions.
Here's how it works: Create a new stylesheet in the template's directory, /templates/bulletproof/. The file has to be named <COLORSETNAME>_style.css, with <COLORSETNAME> being the name you want to give that new colorset. I.e., if you want to call it mycolorset, you have to create the file /templates/bulletproof/mycolorset_style.css. Bulletproof will automagically detect and include this colorset in the list of colorsets available via the Bulletproof theme options in your admin backend. You don't have to do anything else.
It might be a good idea – especially for new users – to start by copying one of the colorset stylesheets provided with bulletproof and modify it. That way, you don't have to start from scratch. Also, keep in mind that there are other stylesheets (base.css, style.css, ie5.css, ie6.css, ie7.css) included in Bulletproof. Some of these (base.css, all ie-specific stylesheets) are crucial to Bulletproof's layouts. Overwriting styles included in these files might break the layout. style.css on the other hand is kind of a fallback stylesheet – it includes many styles which are not crucial to the layout, but common styles used in all colorsets, meaning they may be overridden, but they don't have to be.
You'll also have to provide the colorset specific icons for your new colorset. These have to follow the same file naming convention like the stylesheet, i.e. a colorset specific back icon for the example mentioned above would have to be called /templates/bulletproof/img/mycolorset_back.png. These images have to be PNG images, and they have to be in the img subdirectory – otherwise the automagic detection won't work. If you feel your graphic skills are too poor or you just don't have the time to create these files, you can always copy the default ones or those used in any other colorsets. Remember, if these images are not present, visitors will only see the alternate text for them.
Sep 20
Bulletproof 1.1 released
The Bulletproof development team has finished the most important changes and therefore released v1.1 of the Bulletproof template framework. BP v1.1 is available for download at http://s9y-bulletproof.com/index.php?serendipity[subpage]=download.
Changes in this release are:
- added: automagic detection of additional user stylesheets (thanks to Grischa and Garvin!)
- added: new theme option for alternate display of number of comments and trackbacks
- added: new theme option to suppress the display of footer and/or header for sticky entries; also added a new class for sticky entries to make it possible to style them differently
- added: Bulgarian translation (thanks to Ivan Cenov; the Bulgarian translation might not be completely up to date, though)
- added: classes to style each row of the calendar individually
- added: new theme option to display text and/or icons for the previous/next page links
- fixed: display of the BP footer
- fixed: display of counter code in BP footer
- fixed: the link to the favicon in index.tpl has been commented out due to excessive apache error logging when it does not exist
- fixed: firefox horizontal line bug
- fixed: new classes for various combinations of sidebars and content
- added: new navigation classes for first and last link
- added: new div containers at top and bottom of wrapper
- added: support for IE5 through additional IE5-specific stylesheet; BP is still not working perfectly in IE5 (and probably never will be), but at least it is usable now
- added: default style for preformatted text in entries
- fixed: the sidebar sitenav is now contained within a .serendipitySideBarContent container for consistency
- fixed: display of 2 column, sidebar left layout in IE (all versions)
BP 1.1 will of couse also be included in forthcoming versions of Serendipity. Users using BP as their blog's template are strongly encouraged to update to v1.1. Template designers are strongly encouraged to update their BP derivates to this release also.
The development team will document these changes in detail over the next couple of days in the Bulletproof documentation blog, but right now, we all could use a little break We are, however, available for support in the s9y forums.
Aug 24
Bulletproof development history
I bet a lot of people have been wondering what that extremely long thread in the s9y Themes forum ‘Brainstorming: What do we need template-wise?’ is all about, but never found the time or courage to read it from beginning to end At the time of writing this, the thread has 600 replies and 31777 views, it extends to 41 pages and has been going on for about seven months.
Well, this thread is where the magic of Bulletproof happened, it's where it all began with an initial post by me. Basically, I was looking for inspiration, ideas for new s9y templates, trying to figure out what kind of templates were needed. A lot of people chimed in on this suggesting various things. Somehow, this all ended up in the decision to start a ‘template framework’, a base template which would be a good starting point for new templates.
Since than initial post, seven months have passed, and now Bulletproof is finally finished (Well, more or less ). Here are some memorable dates from this long development period:
- Jan 23: That was the day I posted a request to the Themes forum on board.s9y.org to brainstorm about template needs
- Jan 26: the first bulletproof zipfile is available
- Mar 12: switching the feed icon for colorsets works
- May 11: the customizable header image works
- Jun 11: the documentation blog is up and running
- Jul 24: first snapshots of the new admin template
- Aug 24: the final Bulletproof v1.0 zipfile
So, it's been quite a ride. We've hit some rough patches along the way, it's been frustrating sometimes, but also a lot of fun. Hopefully, this will also be a lot of fun for the people using it as a template or framework
Aug 21
Date format
In the entry on theme options I mentioned the date format and referenced to the strftime section of the PHP manual. While coders and other geeks will already be very familiar with this, new users and those with no PHP experience probably will not be. So let's see what all those funny little characters actually mean.
%A, %B %e. %Y, what the hell is that supposed to mean? Well, these are variable which basically tell Serendipity how to display a date using the PHP function strftime. Every combination of % and a letter stands for a part of the possible date formats. These are the variables actually used in Bulletproof:
- %a or %A Abbreviated (%a) or full (%A) weekday name.
- %b or %B Name of the month. Again, abbreviated or full.
- %d Day of the month as a number with leading zero, i.e. ranging from 01 to 31.
- %e Same as %d above, but with a space instead of the leading zero, i.e. ranging from 1 to 31.
- %m The month as a decimal number with leading zero, i.e. ranging from 01 to 12.
- %y or %Y The year as a decimal number, either with a century indicated (%Y) or without (%y)
These can be combined with dots or hyphens to format the date display in a Serendipity blog. For example, the default date format in Bulletproof is the one mentioned above: %A, %B %e. %Y. This means the date will by default be displayed like this in a blog configured to use the English language:
Full weekday name followed by a comma, then full name of the month and decimal day of the month without a leading zero followed by a dot and the year with century indicated.
For example, for the time of writing this entry, that would result to
Tuesday, August 21. 2007
Got it? However, if this sounds too complicated, just stick with the default or play with the theme option until you get a satisfying result
Customizable navigation
A frequently asked question (or better: feature) in the s9y forums has always been adding an additional navigation to a s9y-powered blog. In the past, this required modifiying the template's files, until the theme options were added to Serendipity's features. Bulletproof provides an additional navigation bar which can be extensively customized using the theme options. Since these options are very powerful, they will be explained more in detail than the other theme options.
First of all, let's look at the theme options related to the customizable navigation bar:
- Position of the navbar: Choose one of five options for the position of the navigation bar. It can be displayed above or below the banner or in either sidebar. Of course, it can also be deactivated altogether.
- Show navigation links in the footer: The links from the navbar can also be displayed in the page footer as an additional navigation source. These links will be the same links you have in the navigation bar. They are a copy of the navbar links, placed in the footer as a site visitor convenience. When enabled, your visitors will not have to scroll back to the top of the page to use site navigation. Footer navigation links will not be displayed if the navbar is deactivated.
- Show quicksearch in the navbar: If, and only if, the navigation bar is displayed above or below the banner, the input box for s9y's search option can be displayed within the navigation bar. This does not work if the navbar is displayed in either sidebar! Also, the HTML output of the quicksearch sidebar item will be automagically suppressed, you do not have to deactivate it under "Configure Plugins".
- Title for navigation menu: If the navigation menu is displayed in either sidebar, it should have a title. Use this text box to enter the desired title. This title is only for when the navigation menu is displayed in the sidebar - the title will never be displayed if the navigation menu is displayed above or below the header.
Aug 20
Colorset specific icons
Browser Compatibility
It can be a serious challenge coding both the front and back ends of a template to be fully compatible under every possible hardware and software platform. Browser versions themselves can present their own unique challenges. I cannot begin to imagine the billions of development hours that have been wasted thanks to Microsoft!!! But I digress.... Continue reading "Browser Compatibility" »
Aug 16
Theme options
Bulletproof's primary design goal originally was to build a layout base which would make it possible to have the "traditional" website/blog layouts so the layout would not break in any modern web browser. Along the way, we also made great use of the so-called "theme options". These are certain options for the template the user can modify in the admin backend under "Manage Styles".
We're pretty confident we have addressed almost every need a user could have and also have simplified some tweaks to a s9y-based weblog which have been frequently asked in the forums in the past. Let's walk you through the theme options available in bulletproof in their order of appearance, shall we?
Continue reading "Theme options" »Aug 09
Administration interface
There are actually two admin template stylesheets. The default is a 970 pixel, fixed width design. Why fixed width? Simple - the designer has much more control when the template is heavily dependent upon graphics, which is certainly the case with BP. For those with the ability to do so, it also allows a user to replace the background banner image with a fixed width banner image they use on the frontend. Continue reading "Administration interface" »
Aug 02
Colorsets
Although bulletproof is meant to be used as a framework for new templates by template designers, it can also be used as a template out of the box. bulletproof ships with three individual colorsets:
All colorsets can be customized to some extent using the theme options.
Aug 01
Layout types
bulletproof comes with 6 basic layouts:
This covers the most popular layout types for websites and blogs: 3-column layouts with various sidebar combinations, both 2-column layouts possible, and an additional 1-column layout showing the sidebars below the actual blog content (the entries). All of these layout are flexible, meaning their column's widths adjust to the width of the viewer's browser window.
You'll notice some of them are marked CF (content first), meaning the actual content of the blog (the entries) is the first item in the output code generated by Serendipity. It would have been possible to make all layouts CF, but that would have required additional HTML markup which we, the developers, felt was not worth the effort.
Recent Comments
Tue, 04.09.2007 14:37
The documentation for Bulletpr oof consists of the entries in this blog. It is not (and pro bably never will be) ava [...]
Tue, 04.09.2007 14:14
Hi, I think the bulletproof template is a really good con cept. I'd like to work with it and i'm trying to find [...]