Okay, first of all:
Awesome job! I have just now updated
http://www.yellowled.de/tmp/bulletproof.zip and
http://sandbox.yellowled.de once more with that new code and some images which once more show that I really need some practice with Gimp

I've set the sandbox to the blue colorset to demonstrate it.
Owen Stubbs wrote:With regards to using this for Bulletproof, I wonder if the original method of calling the default images should be preserved.
I have solved that part like this:
Code: Select all
{if $template_option.colorset != 'default'}
<!-- additional colorset stylesheet -->
<link rel="stylesheet" type="text/css" href="{$serendipityHTTPPath}templates/{$template}/{$template_option.colorset}_style.css" />
{/if}
I've used similar {if} statements for the calendar and graph bar images. That way, we can keep the standard images for default and use different ones for the colorsets. I felt that this was the safest bet - who knows, somebody might want to use the default graph bar image for a plugin or something, so I think those images should remain in place.
Owen Stubbs wrote:But here is another problem. What if someone copies bulletproof to another folder as a starting point, plays around in it for awhile, thereby setting a value for $template_option.colorset, then deletes the colorset option?
This is one example of 'Don't touch this unless you know what you're doing.'. There are others in bulletproof, i.e. editing the column widths. This may sound rude, but that's why this is not called 'fool proof'

There
are ways to break this, and I'm afraid there's nothing we can do about that.
Owen Stubbs wrote:Then, the final alternative - 2 bulletproofs.
After reading Garvin's statements, I'm pretty sure we're gonna have to 'fork' anyway. I suppose at some point we're gonna have to strip some stuff, i.e. the dynamic navbar, from the original bulletproof code to use it as a default template. So we could have a) the default bulletproof (let's call it 'stable'; it will - hopefully - have no performance issues at the cost of some features like colorsets, dynamic navbar etc.), and b) the advanced, full-featured bulletproof (the 'director's cut', if you like

)
Okay, seems like there's two issues to resolve:
1. Anything Dave mentioned in his last post - I think we'll be able to resolve those flaws pretty quickly.
2. That #!&? feed icon.
I've taken a quick look at the sidebar plugins this morning. As far as I can see, there are three major (i.e. used by more than a few users) sidebar plugins using the xml icon: Syndicate This Blog, Categories, and Show tagged entries. I have barely skimmed the event plugins, but I don't think any of them actually display the xml icon. If anyone knows about an event plugin or another sidebar plugin to cover, shout it out!
So that's about how far I've gotten

I'm gonna take a closer look at some code now, so I'll be back.
YL