New theme based on Bulletprooved?
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
New theme based on Bulletprooved?
Hi.
I would like to do a new theme based on the bp themes. How do I start? Do I copy the hole folder and start from scratch or do I simply produce a new css file and add it into the configuration and language files?
What is the way you would propose?
I think, there is some mechanism missing detecting new CSS files added to the bp theme. It would be a nice feature, if I could just drop my css file into the BP folder and the theme would be able to add it to the css selector itself.
I would like to do a new theme based on the bp themes. How do I start? Do I copy the hole folder and start from scratch or do I simply produce a new css file and add it into the configuration and language files?
What is the way you would propose?
I think, there is some mechanism missing detecting new CSS files added to the bp theme. It would be a nice feature, if I could just drop my css file into the BP folder and the theme would be able to add it to the css selector itself.
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
Yes - we just became aware of the problem.... it only happens when the footer navigation is not displayed.
Answering your first question - start by copying bulletproof to a new folder and go forward from there.
I would have loved for bulletproof to simply "see" newly added stylesheets, but the config.inc.php file defines which stylesheets exist, and the language files provide language specific translations for the names of those stylesheets.
Answering your first question - start by copying bulletproof to a new folder and go forward from there.
I would have loved for bulletproof to simply "see" newly added stylesheets, but the config.inc.php file defines which stylesheets exist, and the language files provide language specific translations for the names of those stylesheets.
=Don=
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi!
The idea of simply dropping a CSS file is sweet. If it only came before the 1.2 release!
I made a patch to config.inc.php to support this:
http://svn.berlios.de/viewcvs/serendipi ... ig.inc.php
Regards,
Garvin
The idea of simply dropping a CSS file is sweet. If it only came before the 1.2 release!
I made a patch to config.inc.php to support this:
http://svn.berlios.de/viewcvs/serendipi ... ig.inc.php
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: New theme based on Bulletprooved?
Shoot, I meant to post an article to the doc site right about this, but I ran out of time (day job). However, Garvin's solution looks smooth, and I'm pretty sure you can figure out how to use it yourself All non-coders will simply have to wait for BP 1.1blog.brockha.us wrote:I would like to do a new theme based on the bp themes. How do I start? Do I copy the hole folder and start from scratch or do I simply produce a new css file and add it into the configuration and language files?
What is the way you would propose?
YL
-
- Regular
- Posts: 3652
- Joined: Mon Feb 13, 2006 2:40 am
- Location: Chicago, IL, USA
- Contact:
That's a very nice Idea, i asked myself how this would be possible.
With a nice uploadpossibility for images and css-file within the themeconfig if possible.
This would be great and make it possible for noncoding bloggers to build up very simple an own template.
I wouldn't be greedy and i hope you don't disunderstand me.
Greetings Seraphyn
With a nice uploadpossibility for images and css-file within the themeconfig if possible.
This would be great and make it possible for noncoding bloggers to build up very simple an own template.
I wouldn't be greedy and i hope you don't disunderstand me.
Greetings Seraphyn
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Hi Garvin.
I planed to do this patch today.. Thanks for doing it for me!
Do you support a meta file? I was thinking of adding meta data as comments into the css file. Name of the css and something..
Later: berlios seems to be offline at the moment?
Don:
Later: It seems to work, if I leave the div for the sitemap. Instead
I have now:
Now my footer looks okay.
You are too fast..The idea of simply dropping a CSS file is sweet. If it only came before the 1.2 release! Smile
I made a patch to config.inc.php to support this:
I planed to do this patch today.. Thanks for doing it for me!
Do you support a meta file? I was thinking of adding meta data as comments into the css file. Name of the css and something..
Later: berlios seems to be offline at the moment?
Don:
Do you know a solution for that already? It is the last thing to do for me before setting my new template online, so I'm very interested in it..Yes - we just became aware of the problem.... it only happens when the footer navigation is not displayed.
Later: It seems to work, if I leave the div for the sitemap. Instead
Code: Select all
{if ($template_option.sitenavpos != 'none' and $template_option.sitenav_footer == 'true')}
<div id="footer_sitenav">
</div>
{/if}
Code: Select all
<div id="footer_sitenav">
{if ($template_option.sitenavpos != 'none' and $template_option.sitenav_footer == 'true')}
{/if}
</div>
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Hi seraphyn!
No, adding an CSs-upload manager to that interface is IMHO not good, as it would require write access to the template. You should upload files via FTP for some security.
Regards,
Garvin
No, adding an CSs-upload manager to that interface is IMHO not good, as it would require write access to the template. You should upload files via FTP for some security.
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Another idea: Before using BP I had some sidebar plugins only visible, if the user was logged on. I know, there is a plugin for that, but that slows down my site a lot, so I decided to do this by coding it into the index.tpl.
It would be very nice to have a configuration input, where I could name plugins comma separated, that should only be displayed when logged in. This shouldn't be too hard to implement, I guess, but BerliOS is down at the moment, and I wanted to have Garvins Patch first..
It would be very nice to have a configuration input, where I could name plugins comma separated, that should only be displayed when logged in. This shouldn't be too hard to implement, I guess, but BerliOS is down at the moment, and I wanted to have Garvins Patch first..
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Still is.blog.brockha.us wrote:Later: berlios seems to be offline at the moment?
Haven't checked it in IE yet, but an additional float: left; for #footer in base.css seems to do the trick. It might need (that's the part I'll have to check) a float: none!important; for #footer in both ie6.css and ie7.css, though.blog.brockha.us wrote:Do you know a solution for that already? It is the last thing to do for me before setting my new template online, so I'm very interested in it..
YL
-
- Regular
- Posts: 695
- Joined: Tue Jul 03, 2007 3:34 am
- Location: Berlin, Germany
- Contact:
Checked it with FF and IE7. You are right, float none is needed for IE. But now it is working! Very cool, thanks a lot!yellowled wrote:Haven't checked it in IE yet, but an additional float: left; for #footer in base.css seems to do the trick. It might need (that's the part I'll have to check) a float: none!important; for #footer in both ie6.css and ie7.css, though.
You're welcome We had that before we made some final changes (i.e. added the #footer_sitenav). I guess we got carried away by the fact that it didn't seem to need any IE hacks at all, which is probably why no one checked it out in detailblog.brockha.us wrote:Checked it with FF and IE7. You are right, float none is needed for IE. But now it is working! Very cool, thanks a lot!
YL