Bug fixes
Mon, 06/30/2008 - 5:18pm — skiquelUpdated 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!
Redone DB functions
Fri, 06/20/2008 - 1:28pm — skiquelCommit 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
Wed, 06/18/2008 - 12:31am — skiquelAnnouncing 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!
Mon, 06/16/2008 - 1:42pm — skiquelJune 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)!
Wed, 06/11/2008 - 5:27am — skiquelCommit #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.
Modularizing the module, New schema
Tue, 06/10/2008 - 9:54am — skiquelColor.module has been split up into: color.database.inc, color.misc.inc, color.stylesheet.inc,
User color scheme selection
Sun, 06/08/2008 - 5:56am — skiquelUsers 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
Sun, 06/01/2008 - 1:58pm — skiquelUsed 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
Sun, 06/01/2008 - 3:14am — skiquelOn 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
Sat, 05/31/2008 - 6:52am — skiquelThis 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.