Pencil's down. Tweaks, Bug fixes, Demo themes, Code documentation

Commits #134703, #134705

  Last minute touchups + Code documentation + Demonstration themes

  - markup: fixed bug with extra </div> closing tag in scheme editing caused by preview
  - block: fixed bug with block on anonymous user scheme block
  - block: new "edit" button for super-administrator (UID 1), for quick access to scheme
  - block: "select scheme" is now "select"
  - block: blocks will no longer show up if scheme info not generated
  - under the hood: color_find_scheme_by_UID() rewritten

Post-dated entry

Commit #132571

I forgot to post this to the blog. :) It's August 18, 2008 at 11:47PM Central -- I'm logging this in at August 8, 2008 at 10:25 CST to try to correspond with the commit. This is pasted from the README at the time.

August 8, 2008
  (#132571) to DRUPAL-6--1
  - Webmasters can now rename schemes
  - In theme settings, Edit scheme selectbox will have the default site scheme selected by default.
  - removed stray console.log() in color.js (was preventing farbtastic from attaching)

Major rehaul (screenshots included)

Commits #131347, #131783

August 5, 2008
  (Including Commit #131347)
  - Now using scheme_id instead of hex values across the module.
  - Now using an "Official Site Scheme" in the selection.
  - Base and hybrid schemes will now require a 'reference' scheme.
    - color_get_palette() is now color_get_theme('ref')
    - There is now a color_get_theme('fields') for retrieving fields
  - New theme config option, 'default_scheme'
  - Scheme settings completely renovated.
    - Interface:
      - Add scheme fieldset
      - Default scheme fieldset selection
      - Edit scheme fieldset selection

Leaps (preview inside)

Commit #130567

  - (Bug) Fixed gradient preview
  - (Bug) Color locking/hooking functionality.
  - README updated. We have a documentation page over at
  - (Improvement - Work in progress) Color scheme UI overhaul in progress
    - Darken current color
    - Lighten current color
    - Select random color
  - (Improvement - Work in progress) Add/Delete custom, named color schemes from theme configuration page. W/ AJAX
  - (Improvement) - Schemes changed in theme configuration will now update images and values when submitted.
  - (Improvement) Image overhaul
    - Unlimited images

Status updates

As the summer begins to come to a close I would like to give a report of how my projects are coming along.

Google Summer of code


Color.module is coming along as anticipated. I am fulfilling what was promised in the original proposal minus small exception (anonymous scheme selection).

Not dead, just confused over javascript.

Commit #129333

  Allow BASE only color change! YES
    Notes: If only base color is listed in a scheme, only commas will be listed.
  - Fixed: Fix scheme reset not showing schemes on next pageview
  - Fixed errors for themes without fields 'base', 'text', 'link'
  - Fixed errors for themes without $info['copy']
  - Fixed errors for theme without $info['preview_image'] on preview.inc
  - Updated README.txt
 
  Color.js
    - is being fixed up for the custom preview.inc setup. The preview.css will change ID's matching your fields inside a div#preview. :)

CCK + Contemplate for SOC Commits

Earlier on I posted a CCK diffs on a single file that worked with Drupal 5.x CCK modules.

This version is meant to link to Drupal.org's commit numbers. It's compatible with Drupal 6.x and CCK 6.x-2.0-rc4 and Contemplate 6.x-0.13.

Regarding my themes

Before the year ends, there will be a new major branch for each one of my themes. I hope to have learned from my CSS/CVS mistakes and become a better Drupal themer. I will probably be keeping it in -dev until I'm really confident the theme can stand the test.

I made the mistake of releasing an official release when I really should have just been doing development snapshots.

So my only real option (that I see) is to create a new branch and not do official releases until ready.

Performance tweaks and bug fixes.

Commit #126231

  Performance tweaks!
  - color_get_schemes(), color_get_theme_info(), color_compatible(), color_get_palette() all use static variables.
  - removed the extra $themes = list_themes(); in _color_rewrite_styleshet()
  - moved code around in color_form_alter() to only retrieve themes and include algorithms when needed. (~40-50ms performance fix)
  - Only taking need columns (id, name, hex) from schemes in color_get_theme_info()
  - fixed support for garland/minnelli screenshot on /user/{uid}/edit
  - fixed admin/build/themes/settings/{theme} to correctly set theme name

Bug fixes

Commits #124584, #124591

Updated Demo at http://www.skiquel.com/drupal6.

  - Bug fixes here and there. I had a list but laptop was left to sleep without saving... Doing best to keep tabs.
  - make some functions for the _submit user scheme pick updates
  - Fixed cleanstate theme to replace colors correctly
  - Cleanstate scheme now has new custom fields + colors!
  - "Reset to defaults" will now delete schemes for themes in files. It will also delete relevant user color picks. However it may change with:
  - Fixed system up for clearing scheme_id's that don't exist.

Syndicate content