Bug fixes

CVS Diff against

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

Commit #124584 and #124591

- 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!

Redone DB functions

CVS Diff against

Commit of #122620

SQL Tweaking/New DB Functions. A complete redo of the color.database.inc.

- (Done) INNER/LEFT JOIN more!
- (Done) allow color_get_theme_info and work on grabbing specific fields instead of all columns
- (Done) change 'default_set' to 'default_scheme'. TRY TO USE ID!
- (Done) in color_theme_select_submit() before hand use hidden field to include scheme_id

Bug fixer + Demo available

CVS Diff against

Announcing commit #121947

Current working demo at http://www.skiquel.com/drupal6

Bug fix/Tweaking release

- (Added) On uninstall, whipe old schemes from dir
- (Added) Do a preg_replace('~[^a-z0-9._]+~, '-', drupal_strtolower($string)); to normalize file paths
- (Fixed) On block administration page, the theme now changes.
- (Fixed) Users can now change schemes w/o 'select different theme' perm.
- (Fixed) Bug on garland/minnelli with invalid stylesheet recoloring

Stylesheet tag replacement!

CVS Diff against

Commit #121677 (and #121681).

June 16, 2008
New color replacement methods!

Changes:
- Find and replace fields from color.inc inside stylesheets. /* {{base}} */ #ffffff /* {{/base}} */
- Include a 'base' field if you want to change colors of non-tagged color values. (I.e. Garland)
- You can keep the above stylesheets in the /color folder by doing: 'css' => array( 'color/style.css',),
- Fixed bug w/ blend_target storing in DB

Color scheme permissions, scheme switcher block (user + unregistered)!

CVS Diff against

Commit #120736 by skiquel at 10:17

We got a color scheme block + anonymous color scheme selection + perms.

Changes:
- Fixed up webmaster theme selection
- Users other the uid 1 can choose scheme.
- Color scheme changing block. (YES.)
- Anonymous users can now pick color schemes
- Started applying user permissions to scheme selection. If user is not granted permission they will not be able to see scheme selection and default to default_set scheme for the theme.

User color scheme selection

CVS Diff against

Users can now pick color schemes. I'll update this with some info later.

Changes:
+ Color schemes are now in 'color_schemes' table
+ Instead of every theme having one scheme stored, all schemes are stored for user selection.
+ Scheme file information stored in 'extra_attr' column
+ In preparation for user custom schemes, the 'scheme' column will attempt to match with the 'name' column of a pre-made theme. If no match, in the future will assume it is a custom user theme. (Generate graphics/stylesheet)

Bug fix and code standard cleaning

CVS Diff against

Used the Coder module to brush up on some of the modules.

Fixed a bug where schemes would change across themes.

On our way to user scheme selection

CVS Diff against

On a blog note, I added CCK fields to the blog content type for SOC diffs. It was done rather hastily, but you can grab the export here for you to mess with.

We are on our way to allowing users to select their color schemes.

Changes:
- For the moment the inline color scheme selection has been removed from /user/{uid}/edit. Can be placed back at a later time if wanted (it is in 1.6 of color.module)
- Fixed bug with color schemer showing on none Color.module themes.
+ Users can now store their theme selections (not creations yet) in the DB. It will insert and edit.

Messing with the hook_theme() and forms API

CVS Diff against

This is a commit so my mentors (Konstantin and Dmitri) and anyone else who wants to can see what I've been working on. There is a lot of temporary code in this commit. Thanks to Merlinofchaos for the magic elixir and clarification regarding themes.

Changes:
+ Inline color scheme select
+ Fixed schemer to work with more themes!
+ Schemer now has some (maybe temporary) support for legacy color.inc files. It will present a warning but still adds to the database all the same.

Syndicate content