Talk:Themes overview

(Redirected from Talk:Themes)
Jump to: navigation, search

I do not agree with the described concept of CSS id versus class. I think that page-mod-forum-view should be CSS *class* as it applies on all pages that display any forum main page. The CSS id should be use if the themer wants,for some reason,to have a special CSS for a particular instance. Therefore there should be id="page-mod-forum-view-42" class="page-mod-forum-view page-mod-forum page-mod" where 42 is cmid of the currently displayed module.

Similarly, page-course-view is definitely a class and it applies to all /course/view.php pages but page-course-view-5 is CSS id of one and only one course page (Using Moodle in case of moodle.org).

This would lead to a clear guideline on when to use ids (?id=xxx is passed to the script so we talk about one instance of the "page") and when to use classes (as class is always a set of all instances - pages in this case - of the same type).

I am pretty sure it is not late yet to rethink this. Better than live with wrong design for all 2.x ages... --David Mudrak 22:06, 31 March 2010 (UTC)

Preparing for 2.0 in MoodleDocs

I stuck my edit pen in here and am thinking about the future. We can anticipate that this page will be broken up and basically become the Themes page. Much of the great detailed information on this Development page will eventually be transferred to other Main pages listed in the themes template. Thusly, my edits are looking at introductions, repeating common terms to describe processes, thinking about language translations, new themers and the formats of sections that are likely to be on their own page.

My apologies if I have created errors or misconceptions and for my method (bad habit) of editing and saving a page (often). I hope I have not gotten in the way of the 2.0 Theme experts polishing up their content facts. --chris collman 13:37, 26 April 2010 (UTC)

Layouts in config.php

This stipulates that the 'theme' element is a requirement. However, I cannot find it used at all in core Moodle themes so I assume this is no longer the case? Also, what are the possible values for regions? This needs to be documented. There is no documentation for the possible option values either. --Howard Miller 20:28, 10 December 2010 (UTC)

$PAGE and $OUTPUT need documenting properly

It's going to be very difficult to write custom layouts without knowing what the possibilities are for $PAGE and $OUTPUT. I can't see any documentation for this functionality anywhere --Howard Miller 20:36, 10 December 2010 (UTC)

Howard, you additions were not entirely correct, but were enough to prompt me to add the correct information ;-)--Tim Hunt 12:34, 11 December 2010 (UTC)