Мнения, написани от Urs Hunkler

Снимка на Core developers

David,

you shouldn't ever need to use PHP in any CSS property definition. As Mauno showed use relative links instead.

Relative links start in the directory your header.html files is stored. So you will always get the images within your theme folder.

So please, no PHP in CSS files.

Moodle in English -> Themes -> Moodle 1.9 Header Changes -> Re: Moodle 1.9 Header Changes

от Urs Hunkler -
Снимка на Core developers

Patrick, why CLASS names have changed I don't know. I saw some changes when I checked the differences from 1.8 to 1.9 CSS code.

What I know is that Petr is going to implement a new version of print_container handling. There will be no more need to use print_container in the themes.

It will still be better to use print_container to avoid some automatically activated internal hacks but you don't need to.

Moodle in English -> Themes -> Moodle 1.9 Header Changes -> Re: Moodle 1.9 Header Changes

от Urs Hunkler -
Снимка на Core developers

Patrick, please read my whole comment under MDL-12221.

One aspect about backwards compatible themes:

1.9 themes can't ever be really compatible to 1.8 because several CLASS names have changed from 1.8 to 1.9.

+1 to implement the enhancement (compatibility arguments not really count).

Different themes for 1.8 and 1.9 are necessary to follow these differences. In these different versions you may also implement the small header changes for 1.9.

@Martin The need for consistent container handling has been brought to recognition with the work on the custom_corners theme. Inconsistency and hacks have not been an issue for many developers until now. I have already been struggling with several Moodle pages due to this inconsistency in the past. I am glad that Petr is working on a solution.

Снимка на Core developers

Ian, without knowing more about your requests it's nearly impossible to answer your question. And the hours/days calculated for the project would help more with an answer. Wages are very different around the world.

My very very rough guess is - if the Flash programming and additional content handling is part of the offer - and the Moodle theme part may be 10% to 25% of the quote depending on complexity the quote may be ok.