Closed (duplicate)
Project:
Style Switcher
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 May 2012 at 16:16 UTC
Updated:
28 Nov 2012 at 15:50 UTC
I've set a default as such in my theme's .info file:
styleswitcher[default] = Blue
styleswitcher[css][Orange] = css/style-switch/alt-orange.css
styleswitcher[css][Blue] = css/style-switch/alt-blue.cssHowever, I am getting repeated errors in my log:
Notice: Undefined index: default in styleswitcher_block_view() (line 49 of /home/webhost/public_html/sites/all/modules/styleswitcher/styleswitcher.module).
I think this might be related to: is it possible to specify a default css ? not working for some people.
Comments
Comment #1
danny englanderI am just following up on this, thanks.
Comment #2
pingwin4egin 7.x-1.x you should specify default css as
styleswitcher[css][default] = some_stylesheet.css.or apply the patch from http://drupal.org/node/1821356#comment-6785752