I'm not sure of all the places, but you could start with these:
http://docs.moodle.org/en/Development:Themes_2.0
http://docs.moodle.org/en/Development:Themes_2.0_creating_your_first_theme
Thanks!
Patrick Malley
Berichten gepost door Patrick Malley
Hey all,
Mary reminded me that this should be done sooner than later so I've gone ahead committed Urs's recommended changes in the selector names for the base theme wrapper DIVs.
MDL-22180
Please let me know as soon as possible if anything additionally needs to be changed.
Of course, theme developers don't have to use this naming scheme. They can very easily create their own page layouts and use whatever wrapper system they'd like. I'm confident that these changes will make it easier for theme developers to understand.
Any volunteers to alter the documentation to reflect these changes?
Mary reminded me that this should be done sooner than later so I've gone ahead committed Urs's recommended changes in the selector names for the base theme wrapper DIVs.
MDL-22180
Please let me know as soon as possible if anything additionally needs to be changed.
Of course, theme developers don't have to use this naming scheme. They can very easily create their own page layouts and use whatever wrapper system they'd like. I'm confident that these changes will make it easier for theme developers to understand.
Any volunteers to alter the documentation to reflect these changes?
Two changes have been made to the 2.0 navigation breadcrumb menu that concern me:
1.) The menu now appears on the front page for logged in users. What is the logic of showing this menu there? I couldn't find any discussion on this topic anywhere here in the forums.
2.) The first link in the breadcrumb now takes you to "My Home" which is /my/ instead of just to home (or "/"). There is no way to return to the home page using this menu and the second options in the new Navigation block takes you to your site homepage.
I might just be looking at something a bit too early. What's the thought on this?
1.) The menu now appears on the front page for logged in users. What is the logic of showing this menu there? I couldn't find any discussion on this topic anywhere here in the forums.
2.) The first link in the breadcrumb now takes you to "My Home" which is /my/ instead of just to home (or "/"). There is no way to return to the home page using this menu and the second options in the new Navigation block takes you to your site homepage.
I might just be looking at something a bit too early. What's the thought on this?
- Since the column widths are now set universally by the theme designer, whatever solution we come up with needs to take into consideration that we don't necessarily have control over the left and right column width any more. While I realize that a column width setting would seem to be an easy fix to this solution, I'm not sure that leaving such a design decision to users would be good all themes. I think a better solution from us to come up with something that satisfies all reasonable widths while still serving the navigation function.
- I completely agree that the horizontal space can be reduced. That's a partial fix and I'll file a task for myself to test this out.