Publicaciones hechas por por Urs Hunkler

Imagen de Core developers

Patrick, session themes stop always working after logout. That's by design.

You may change the URL from http://moodle.newschoollearning.com/?&theme=autumn1_8 to http://moodle.newschoollearning.com/?theme=autumn1_8. The parameter list in the URL starts with ? and all following parameters are concatenated with &. The change may solve the issue.

My attempt to check the behaviour you described on your website did not succeed because I ended on the mymoodle page after login. And there I didn't see a theme switcher.

I like your theme work Patrick. Keep going with your interesting themes. You might check your work with enlarged fonts. Your themes tend to break very fast when I use bigger fonts.

Imagen de Core developers

1) Theme installation system: Great plan to add an easy possibility to change the Moodle page look. An easy installation system like the language packs might not be convenient with the actual theme system. Themes contain XHTML, CSS and PHP code. You know what may happen when anybody can include any PHP code to your application.

I have been thinking about a possibility for some time now every once in a while - without a solution.

One possible approach might be to split themes into a base theme with the PHP/XHTML part. This base theme is securely checked and installed by administrators. And a CSS part which may belong to any base theme and is installed like languages.

2) The theme competition: A competition might be a good way to communicate how attractive Moodle is or may get for theme designers.

The base for this attraction is a truly clean XHTML structure without inline styles and without depreciated HTML properties for page layout. To reach this goal the competition might be a valuable challenge for all Moodle developers to clean up the code and replace all inline styles and all HTML attributes with CSS for Moodle 2.0. This process is already on a good way but actually much too slow to be finished for 2.0.

3) Martin, you'r not fair with the maintainers of the existing themes when you just call their work crappy. They invest a valuable amount of work to maintain the themes and update them for every new Moodle version. And they have helped Moodle getting to the point it is today.

4) And there are reasons why Moodle is not as attractive for theme designers as other systems are. As a good base for themes you need a consistent XHTML code base with sufficient CSS hooks. On this base good themes will spread up.

Creating a functional and good looking theme is much work. When this work is done you need to start creating Moodle specific corrections for many areas - modules, blocks etc. to get them looking consistent. Some modules or resources you even can't design - that breaks the value of a theme designer's work.

And you may think about the Moodle developer support strategy for theme designers with their special interface oriented needs.

Lets create the split, easy install theme system and let's clean up Moodle code for a marvellous base for a successful theme competition!

Promedio de valuaciones (ratings):Useful (2)
Imagen de Core developers
Hello Albert,

your description sounds very interesting. I can't download your zip becaus you saved it in your protected Moodle course area.

You may consider attaching your zip to your posting here or saving the zip in the startpage file area which is open to the public.

Looking foreward to see your code.
Imagen de Core developers

Hi Jimmy,

1.) You may download and install the "Accordion" course format and the theme. The course format "accordion" goes into the "course/format" folder in your moodle installation. The theme "accordion" goes into your theme folder. You may also check the "accordion" thread in the Course formats forum.

2.) The "accordion" them is based on Chameleon. Please read in docs.moodle.org about Chameleon and how you work with this interactive theme.

"accordion" works with Moodle 1.5 and 1.6. There is no version for Moodle 1.7 and 1.8.