Mary - as soon as Petr gives the "all clear" on his base theme and tells us that everything is relatively stable, I'm going to hit the ground running.
Rest assured that I am personally invested in Moodle Themes and will put considerable effort into creating 2.0 themes for my clients and the core. As I learn, I'll ask questions here and share anything I find useful. If you and other theme developers do the same, I think we'll be OK.
Patrick Malley
Posts made by Patrick Malley
Thank you, Nadav. This is exactly the code I've wanted for some time. I should have asked for this sooner! I've implemented it in my sandbox at http://newschoollearning.com/sandbox/?&theme=base_menu and can confirm that it shows the courses of a logged in user.
I've changed it slightly to show non-logged-in users a single link without dropdown arrow. Here's my modified code:
http://pastie.org/803443
I've changed it slightly to show non-logged-in users a single link without dropdown arrow. Here's my modified code:
http://pastie.org/803443
The theme contains a file called styles_yui_menu.css with commented values for menu and submenu colors. This theme is not meant to be a production theme, so I stuck with simple gray values that may not show up as well on your monitor as they do on mine. Feel free to change them to whatever value suits your project best.
I do think it's possible to automatically pull course lists, etc. However, I'm not a programmer and there are no easy ways of calling this data into the theme.
There are a couple themes in the database that claim to do this successfully, but I'm not quite happy with the implementation.
I do think it's possible to automatically pull course lists, etc. However, I'm not a programmer and there are no easy ways of calling this data into the theme.
There are a couple themes in the database that claim to do this successfully, but I'm not quite happy with the implementation.
Last night, I created a new Base theme for Moodle that uses the YUI library dropdown menu. It's quite nice and can be found in the database here:
http://moodle.org/mod/data/view.php?d=26&rid=3359
The download link in the database goes to my blog where I've posted more information about the theme and how I created it.
Perfect theme for starting your new project with a dropdown menu.
Enjoy.
http://moodle.org/mod/data/view.php?d=26&rid=3359
The download link in the database goes to my blog where I've posted more information about the theme and how I created it.
Perfect theme for starting your new project with a dropdown menu.
Enjoy.
The YUI library has been a part of the Moodle core since 2006 - http://moodle.org/mod/forum/discuss.php?d=48478
All the styles are in /moodle/lib/yui/ and available to themes if desired.
All the styles are in /moodle/lib/yui/ and available to themes if desired.