The validation that means you have to type in 6 characters in the colour codes, can this be removed? The widget accepts things such as none and default when you want to not set a specific colour and have it use the normal style sheets. I have removed them on my version but I'd sooner not maintain a patch on mine for this when it is only limiting functionality anyway. I think most people would want their block to look similar to the rest of the website.

Comments

spleshka’s picture

I don't see that setting availible in twitter widget settings.. Where did you find it?

Daemon_Byte’s picture

In twitter_profile_widget.admin.inc the function twitter_profile_widget_admin_validate has validation that forces the string length to be of 6 characters long only.

spleshka’s picture

Please, show me example when you may choose not hex code to set color.

Daemon_Byte’s picture

Shell background color: none
Shell text color: default

There's the first 2 I'm using now. Funnily enough I prefer to keep my block in line with the css styles :) Particularly since my block has a semi transparent background.

spleshka’s picture

Version: 7.x-1.3 » 7.x-1.x-dev
Assigned: Unassigned » spleshka
Status: Active » Needs work

Thanks! I'll check it. This feature will be included in new version.

spleshka’s picture

Status: Needs work » Closed (fixed)