由 Kristina Schneider 发起的话题

So I've been searching through forums and all over the internet to see if i can find instructions on how to write the CSS code to add it to my HTML block. I'm not having much luck.

When configuring my HTML Block, the contextual help for Additional CSS classes says: 

The purpose of this configuration is to aid with theming by helping distinguish HTML blocks from each other. Any CSS classes entered here (space delimited) will be appended to the block's default classes.


So I did an Inspect Element with Google Chrome to play with the block and I discovered that the classe I wanted to change was .block {background-color: #d9edf7; border-color: #072D53;}. Naturally, I entered this and nothing happened. 

So then I went looking in the MoodleDocs pertaining to HTML Blocks  where it says:

To aid with styling the block, an administrator can, from Administration > Site administration > Plugins > Blocks > HTML, toggle the ability to allow additional CSS classes to be set in individual block instances. If it is enabled, a field appears at the bottom of HTML block instance's configuration forms:

additionalcssclasses.png

Please note that if additional CSS classes have been added and the administration setting is then disabled, the form settings are saved in the database and will reappear if this is re-enabled.

I confirm that the administration setting is enabled. 


I'm thinking at this time that I'm not using the right CSS syntax for some odd reason (but it worked with Inspect Element). There doesn't seem to be any resources on how to write the syntax. 

Can anyone help please?

Thanks

Kristina



I was wondering what is the safe way of running two or more instances of the same theme. Essentially, we would like to run the same theme throughout our site, but would like to have different instances of it with different colour schemes and logos for different course categories. 


We have the "force category theme option on, but we only seem to be able to have one instance of each theme. Would anyone know a safe workaround? FYI, we're running Moodle2.8.5+ (Build: 20150421) 


Thanks in advance! 

K.

I was wondering what is the safe way of running two or more instances of the same theme. 

Essentially, we would like to run the same theme throughout our site--we're pretty sure we've settled on BCU--but would like to have different instances of it with different colour schemes and logos for different course categories. We have the "force category theme option on, but we only seem to be able to have one instance of each theme. 

Would anyone know a safe workaround?

FYI, we're running Moodle2.8.5+ (Build: 20150421)

Thanks in advance!

K.

 

 

First here you see that the Course default settings are such that students should NOT see their gradebook. - http://our.site/admin/settings.php?section=coursesettings

 

This can be overridden per course, but as you can see, in the Course settings *specific* to this course, I also set it to no: http://our.site/course/edit.php?id=22

 

Moreover, I went to go look at the role permissions for the participants: http://our.site/admin/roles/define.php?action=view&roleid=5

 

 

It is “not set” and I know this looks confusing so I edited to see what the setting was, and of course, the box is unchecked:

 

 

But participants see their grade: 

 

Are you as confused as me yet?

 

Thank you in advance to anyone who can help! 微笑

We have an issue that since we updated our Moodle installation to Moodle 2.4+ (Build: 20121214) the Header used in our site theme is now added to the top of our SCORM pop-up windows displaying our e-learning modules developed in Articulate.

This was not the case in all our previous versions of Moodle. This bug is a direct cause of the upgrade to this version.

We are using the Arialist theme. In the Site administration > Appearance > Additional HTML section, we have code in

  • additionalhtmlhead 
  • additionalhtmltopofbody
  • additionalhtmlfooter

The banner is in the additionalhtmltopofbody section. 

This wouldn't be such a huge issue except that our users have to scroll in their pop-up window to see the navigation in the e-learning module. Even when they click full screen mode, it doesn't work. Our e-learning modules are developed in Articulate and normally when you open up an instance in a pop-up window, the player resizes to fit within the window: this bug is preventing the player from doing this. 

Can anyone provide solutions, insights, anything? As a last results, we'll try to hack the code, but we are hoping we don't have to go that route. 

附件 ImageDetailingHeaderIssue.png