Tips & Tricks

Please do NOT use this section of the forum to request help if Joomdle does not work for you in some particular way. Your post will be deleted.

Moodle template

More
12 years 2 months ago #1 by tim
Moodle template was created by tim
Hi we are using the Moodle template you so kindly provide. I am just working through the CSS and wonder if it is possible to apply a style for a course category that applies to the whole box not just the header.
We put a course outline at the top of the my course list and want to style this to stand out form the rest.

Many thanks for any info
Cheers
Tim

Please Log in or Create an account to join the conversation.

More
12 years 2 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Moodle template
I am sorry, but my CSS knowledge is quite weak, I don't know how to make what you want.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #3 by Zy Danielson
Replied by Zy Danielson on topic Moodle template
Hi Tim,

Where is the Moodle template you are speaking of? Is it the one used here on this forum? I was looking for that myself and haven't found it yet.

Please Log in or Create an account to join the conversation.

More
12 years 1 month ago #4 by Antonio Durán

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #5 by David Laverick
Replied by David Laverick on topic Moodle template
Hi Antonio,

I have added your theme from the demo site to my Moodle 2.7 and I get both the left and right side bars in my wrapper. You don't get these on your demo site. Is there something I need to edit so I only show the course content?

Thanks

Dave

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #6 by Shiv Kumar
Replied by Shiv Kumar on topic Moodle template
Hi Dave

You have to remove side blocks from within the moodle. Login to moodle -> turn editing on and remove all side blocks.

Shiv

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #7 by Antonio Durán
Replied by Antonio Durán on topic Moodle template
You can also use the othe theme from Fernando, which makes sidebars appear at the bottom, if there is no space on the sides.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #8 by David Laverick
Replied by David Laverick on topic Moodle template
Thanks to Shiv & Antonio for your suggestions.

I wanted the admin staff to be able to login to the pure Moodle interface and still find the sidebars easily, so wanted to hide them in the default template.

I have managed to make your joomdledemo template work for me by commenting out a few lines in the layout/default.php file as follows:

/* $hasnavbar = (empty($PAGE->layout_options) && $PAGE->has_navbar()); */
$hasfooter = (empty($PAGE->layout_options));
/* $hassidepre = (empty($PAGE->layout_options) && $PAGE->blocks->region_has_content('side-pre', $OUTPUT));
$hassidepost = (empty($PAGE->layout_options) && $PAGE->blocks->region_has_content('side-post', $OUTPUT)); */
$haslogininfo = (empty($PAGE->layout_options));

/*$showsidepre = ($hassidepre && !$PAGE->blocks->region_completely_docked('side-pre', $OUTPUT));
$showsidepost = ($hassidepost && !$PAGE->blocks->region_completely_docked('side-post', $OUTPUT)); */

/* $custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options) && !empty($custommenu)); */

Not sure I needed to comment them all (probably the last four lines would have done) , or if it is the right thing to do, but it seems to work OK and give the result I was looking for in the wrapper.

Thanks again for your suggestions and any comments on the above would be welcome.

Dave

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #9 by Antonio Durán
Replied by Antonio Durán on topic Moodle template
Thanks for sharing your mods.

Please Log in or Create an account to join the conversation.