I've just committed a new theme called "Leatherbound" that removes the floats from #page-header. I've also added a clearfix to various places. Might help to have a look at what I've done there for an idea of how to fix this.
Sam, what was the logic behind floating everything?
Patrick Malley
Posts made by Patrick Malley
Ah, no. But, did that work? Makes sense. I should have just checked the database module files. Seems it has its own js.php file. Thanks Shaun.
I've updated my base_menu_yui theme to reflect these changes if you need an example.
Yes. Not a fix, but a workaround. I'm guessing that a fix will have to be in the database module as it's the only component part that is not pulling the include properly from the theme header.html file. Alas, I haven't filed a bug yet because this gets around the issue:
Take the contents of js.php and place it directly inside header.html where the js.php include is.
Take the contents of js.php and place it directly inside header.html where the js.php include is.
I’m pleased to announce that NewSchool Learning is taking submissions for a Moodle 2.0 Theme Contest that starts today. Since full contest rules and selection criteria can be found on the contest page, I won’t bother repeating that information here. I will say, though, that we’re giving away a new 16GB Wi-Fi iPad to the contest winner, which will be announced on July 16, 2010.
The goals of this competition are to:
If you have any questions about the contest, please feel free to post them here.
I look forward to seeing what the community can create. Good luck!
The goals of this competition are to:
- encourage community members to learn the new Moodle 2.0 theme engine. A lot (everything) has changed in the way themes are rendered from 1.x to 2.0. Every theme created for Moodle 1.x will have to be recoded for 2.0. We need an active and knowledgeable community of theme developers to ensure the successful use of this new and powerful theme engine.
- highlight how great Moodle 2.0 can look by selecting 20 themes to be included inside every Moodle 2.0 download. The new theme engine provides developers with a lot more flexibility than they had with Moodle 1.x.
- spark innovation through competition. I think the 2.0 release represents a great opportunity to increase the appeal of Moodle by allowing developers to create a more diverse collection of themes. Let’s make Moodle beautiful together!
If you have any questions about the contest, please feel free to post them here.
I look forward to seeing what the community can create. Good luck!