Forums | Mahara Themes
General discussion
/
Gotcha for updating your theme to 1.1
08 February 2009, 17:12
I was updating a theme which someone had created for 1.0 to 1.1 and was hit by a slightly annoying problem.
This commit introduced the views .configure css definition, and if thats not defined in your custom theme you are likely to get a greyed out page with no usable controls when configuring a block on a view.
Took me a bit of time to track it down, so hope that pointing it out helps others.
08 February 2009, 18:05
Dan - the theme you were updating, did it use the default theme as a parent theme or did it have no default?
In theory, if it used the default as a parent, then the definition should have been included anyway.
08 February 2009, 18:34
Hrm, it didn't use default as parent.
However I just tested by doing that and it didn't seem to help. Setting the parent is just a case of doing
$theme->parent = 'default';
In the themes config.php, right?
08 February 2009, 19:43
Yes. You should see that the default theme's style.css is included in the head of the page along with your theme's one.