| Comment | File | Size | Author |
|---|---|---|---|
| #31 | blueprint6upgrade-7.patch | 21.4 KB | designerbrent |
| #22 | blueprint6upgrade-6.patch | 21.83 KB | designerbrent |
| #21 | blueprint6upgrade-5.patch | 21.58 KB | designerbrent |
| #13 | blueprint6upgrade-3.patch | 21.58 KB | designerbrent |
| #4 | blueprint.theme_.patch | 19.08 KB | jhedstrom |
Comments
Comment #1
designerbrent commentedI'm currently working on porting this to 6. I'll post a first patch soon.
Comment #2
designerbrent commentedHere is a first patch for Drupal 6. It should be mostly complete.
Two areas that are questionable are as follows:
Please test it out.
Oh, the CSS patch to remove the HTTP requests has not been updated yet.
Comment #3
designerbrent commentedComment #4
jhedstromThe patch doesn't appear to have the required blueprint.info file included...the attached patch adds this file, but other than that is identical to the patch above.
Comment #5
designerbrent commentedOops! Not sure how I missed that one! Thanks for correcting it.
Comment #6
lyricnz commentedHi designerbrent,
How's the update going? I attempted to use the patch today, but struck quite a few issues. I won't bore you with the details, if I'm working on old code here.
Cheers
Comment #7
designerbrent commentedlyricnz,
What were the issues you ran into? What version of the theme were you patching against? I have been using the theme for several sites since I created the patch and it has been working ok for me but I haven't done much to improve it.
However, if there are issues, I'd be happy to try and address them...
Comment #8
lyricnz commentedOkay, here we go, first issue - please consider I'm not a themer at all, and this is my first contact with Drupal 6 theming:
But the CSS are actually in ./css/ - and that's not how they should be used anyway (ie-specific stuff is directly in page.tpl.php, and this doesn't include blueprint css itself). I'll try and copy this back from D5 config, but maybe you can just upload your own blueprint.info, rather than the one above?
Comment #9
lyricnz commentedAhh, yes, it works much better with:
Is there any reason the drupal_flush_all_caches() calls are still in page.tpl.php and template.php?
Comment #10
designerbrent commentedI guess I accedentally left the drupal_flush_all_caches() in. The only reason it is there is that it is helpful to have while adding tpl files. Otherwise Drupal will cache the core tpl's, ignoring any new ones you add in the theme folder. You can either flush the cache, or add that line to do it everytime page.tpl.php loads.
I'll try and look over the theme again in the next couple days.
Comment #11
sam6 commentedsubscribing
Comment #12
mandhdesign commentedsubscribing
Comment #13
designerbrent commentedOk, I think this is a better patch. There are still a couple TODO items that I'm not sure how to trigger those conditions and I appreciate any guidance on those. However, this takes into account the problems noted above.
The patch works against the current blueprint-5.x.1.0 release.
Comment #14
Chill35 commentedSubscribing.
Comment #15
designerbrent commentedHas anyone gotten a chance to test this patch yet? It appears to be working for me but I'd love to get some other eyes on it.
Comment #16
lyricnz commentedIt worked fine for me, with my very simple testing, but I've yet to produce a proper site with it (Yay D6, and decent sub-themes).
Comment #17
bjornarneson commentedI wish I could roll a patch for this right now, but I'm at a coffee shop computer doing a little work before an afternoon wedding (not mine!).
In the D6 patch for blueprint, we need to make sure that css/style.css gets loaded last per blueprint.info. Otherwise, none of the rules specified in css/style.css to override the default blueprint.css rules work properly.
Otherwise, I can also confirm that this D6 patch seems to work as advertised. Thanks for the help!
Comment #18
darumaki commentedWow, this one sounds like a drupal dream, it would be nice if drupal had a starter theme as part of the core themes, one that is fully optimized like this.
Comment #19
lyricnz commentedAgree with #17 of course. That's the way my example did in #9, but the latest patch doesn't :)
Comment #20
pcwick commentedPatch in #13 is working fairly well for me with the addition of the edit to blueprint.info in #9.
When I go to Administer > Themes I get this error:
Fatal error: Call to a member function getName() on a non-object in /home/drupal/sites/all/modules/devel/devel_themer.module on line 370
EDIT: I get this error on several administration menu options. Enabling an administration theme, such as Garland, before installing the devel module seems to be an effective work around.
Comment #21
designerbrent commentedRerolled with suggestion from barneson in #17. I'm not sure that that will always work cause in some of my testing, it doesn't seem to be consistent but I moved style.css down none the less.
@pcwick: I'm not sure what the problem is on that. I have experienced the same thing but stopped used the devel_themer.module. I'll dig around and see what I can come up with.
Comment #22
designerbrent commented@pcwick: This patch will fix the getName() bug in devel_themer.module. It was a problem with the phptemplate_form_element() function not being properly defined in the transition from 5 to 6.
Comment #23
darumaki commentedCan anyone tell me the difference between blueprint and the zen theme, they both appear to optimize, which is better ?
Also does anyone have a complete patched module, I'm having difficulty understanding the patch,
That last patch appears to have a few incomplete function lines,
ie line 469 (breadcr
I get this error
Parse error: syntax error, unexpected ',' in /template.php on line 173
Comment #24
designerbrent commented@darumaki: That patch file is correct. It is not something that runs on it's own but has to be applied to the code. (http://drupal.org/patch/apply)
zen and blueprint are the same in that they try and establish a solid base for building your theme on. I haven't actually used zen so I can't speak to specific on how zen works. Blueprint, on the other hand, is built on a standardized css framework for building pages. http://code.google.com/p/blueprintcss/ It has a build in grid system, a reset style sheet and a typography style sheet. Additionally for the Drupal theme, m3avrck has built in some SEO optimizations that improve the theme by adding meta tags, in addition to other tweaks.
Comment #25
darumaki commentedwow just learned how to apply a patch via terminal on mac, all this time, I have been trying to do it manually, got the theme working now :)
Comment #26
pcwick commentedThe patch in #22 seems to be working well with some minimal testing. Its helpful to be able to use devel themer. I'll be working with Blueprint for 6.x over the next few days, and I'll report any additional issues I find. Thanks designerbrent for your contribution!
Comment #27
wuf31 commentedThanks for this port.
Been using this patch on a dev site for a week now.
So far everything seems to be working fine.
Comment #28
mlsamuelson commentedI've been using this patch for a couple days and haven't experienced any issues. Thanks.
In light of this success and the testimony of others, I'm changing the status on this to "reviewed and tested by the community."
Comment #29
David Lesieur commentedI'm also using this patch, and it works for me too. Good work!
I haven't tested the comments or the forums, though.
Comment #30
David Lesieur commentedActually, we need to add the following in
phptemplate_preprocess_page()(in template.php):Without the
pathvariable, we don't get the right paths for the IE CSS files in page.tpl.php.The
uservariable is not used in page.tpl.php, but the D5 version of Blueprint adds it in case one wants to use it.Comment #31
designerbrent commented@David Lesieur Thanks for the note there. I totally missed that. The patch this time includes the changes you suggested.
Comment #32
FLX commentedWhen can we expect a final release for drupal 6?
I'm very fresh on Drupal so i'm kind of affraid to do all this patching and using beta's.
Thanks,
Dennis
Comment #33
m3avrck commentedInitial 6.x port committed: http://drupal.org/cvs?commit=136432
Thanks for the help guys. I modified what was there and will continue to post improvements. Look for the 6.x dev release (which is working) will have a final 1.0 release once everything is confirmed.
Comment #34
ica commentedthanks m3avrck for the update to v6.
but i think the theme blueprint.info file is missing from the 1st release of 6.x dev
Comment #35
designerbrent commentedThe info file is now committed. Should be added the next time it gets packaged.
http://drupal.org/cvs?commit=136507
Comment #36
ica commentedcool designerbrent.. sorry that i addressed only to m3avrck but you have to be credited for the update of the v6.
thanks
Comment #37
designerbrent commentedica: no problem. It's been fun and it's a great theme to work with! m3avrck has done a lot of great work on it.
Comment #38
ica commentedyes, the initial credit belongs to m3avrck,
the other great thing about this and other few strong 'framework' themes like
-tripoli http://devkick.com/lab/tripoli/
boilerplate- a blueprint kick http://code.google.com/p/css-boilerplate/
that they have a clear code, logic and actively developed across.
Comment #39
designerbrent commented@m3avrck: While reviewing the 6.x-1.x-dev release, I noticed that you changed all the phptemplate_ fuctions to blueprint_ with the exception of the preprocess functions. What is the purpose of doing that? Wouldn't it be better to leave them as phptemplate_ as it would be more generic for those who want to change the theme name as they customize it?
Comment #40
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.