I would like to make a custom theme for my moodle site that makes some rather large changes to the layout of the site. The main points are that I want to display the current users profile picture in the upper left of the front page, which will be linked to their profile. In addition I want to change the how the bread-crumb menu at the top bar works. I'd prefer it to link to the front page (instead of the course list) at the lowest level so that it would be Home->Course (if you are in one) ->Activity (If you are in one).
My question is how to go about this. I've been looking through styles_layout.css in the standard theme folder and its making me think that the changes I want to do dont really constitute as a new "theme". I see where the file styles how the menu will be aligned for instance, but I dont know where the menu code that it calls is contained. Same with the profile picture, I dont really understand which part of the code says "This menu is on the left, this image is on top, etc..."
Are making these kinds of changes possible as a theme? I'm wondering because the webhost Im using currently (keytoschool) allows custom user themes but not editing of the core files, so its my understanding that if its not something CSS/theme related I wont be able to edit it.
Thanks all!
You may do better posting in the themes forum.
For the changes you want to make, you should look at header.html, instead of styles_???.css. Some of them will be possible in 1.9, but perhaps not all.
The theme system is changing in Moodle 2.0, so everything you want to so should be possible there.
For the changes you want to make, you should look at header.html, instead of styles_???.css. Some of them will be possible in 1.9, but perhaps not all.
The theme system is changing in Moodle 2.0, so everything you want to so should be possible there.
Good morning Gerard.
Why not try:
http://docs.moodle.org/en/Themes_FAQ
http://docs.moodle.org/en/Creating_a_custom_theme
http://docs.moodle.org/en/Make_your_own_theme
http://www.themeswiki.org/Customizing_Moodle
Also if you have a browse round the Themes Forum (http://moodle.org/mod/forum/view.php?id=46) as it is likely that someone will have experienced and solved a similar problem to you.
Good luck,
Alex
Just moving this discussion to the themes forum, as suggested...
I addition to the mentioned resources please also have a look at Overriding the $menu / $button variables for changing the login information.
See header.html and footer.html pages for which global variables are available in header.html.
hth
Frank
See header.html and footer.html pages for which global variables are available in header.html.
hth
Frank
Hi Gerard,
Yes I think this is possible. You can work this out writing custom code and including it in your theme, without customizing moodle core code.
So far as I know, K2S has limited calling php functions so you will have to ask them what all php functions do they support in themes, i.e. if they allow custom code in the themes. If they allow it, it should be possible with some coding.
The first requirement can be met using the themes at www.thematoweb.com. You can also customize it to your branding needs. For second requirement, coding will need to be done!
Cheers!! Good luck!!
--
Nave
Yes I think this is possible. You can work this out writing custom code and including it in your theme, without customizing moodle core code.
So far as I know, K2S has limited calling php functions so you will have to ask them what all php functions do they support in themes, i.e. if they allow custom code in the themes. If they allow it, it should be possible with some coding.
The first requirement can be met using the themes at www.thematoweb.com. You can also customize it to your branding needs. For second requirement, coding will need to be done!
Cheers!! Good luck!!
--
Nave