Post-it and Course Overview Plus css issue

Post-it and Course Overview Plus css issue

Gary Moncrieff發表於
Number of replies: 5

Hey all

Using the Course Overview Plus block with Post-it or any other theme based on the Ardvark theme, ie rocket there is a css conflict somewhere with this block. See pic  

The eye icons should be on the right hand side and only one showing, can anyone help me with this?

Thanks

評比平均分數: -
In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

Mary Evans發表於

Hi,

Are you sure it only displays like this in the three themes you named?

Have you tried Standard theme?

I don't recall any CSS that would shift the eye icon from rightside to left side...but I could be wrong.

I will go and investigate...

In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

Mary Evans發表於

Hi Gary,

I get the same problem with the 'eye' icon being duplicated and on the wrong side. This is becasue there is a problem with the actual BLOCK. Try turning on Debugging in Site Administration > Development > Debugging and you will get this ERROR message...which points to the actual problem.

Strict standards: Creating default object from empty value in C:\wamp\www\moodle\blocks\course_overview_plus\block_course_overview_plus.php on line 25
Call Stack
#TimeMemoryFunctionLocation
1 0.0015 45042752 {main}彩蛋 ..\index.php:0
2 0.2601 67280520 core_renderer->header彩蛋 ..\index.php:146
3 0.2602 67280568 moodle_page->set_state彩蛋 ..\outputrenderers.php:707
4 0.2602 67280568 moodle_page->starting_output彩蛋 ..\pagelib.php:844
5 0.2666 67305736 block_manager->create_all_block_instances彩蛋 ..\pagelib.php:1385
6 0.2666 67306744 block_manager->ensure_instances_exist彩蛋 ..\blocklib.php:902
7 0.2666 67306744 block_manager->create_block_instances彩蛋 ..\blocklib.php:965
8 0.2666 67307240 block_instance彩蛋 ..\blocklib.php:887
9 0.3421 78736072 block_base->_load_instance彩蛋 ..\blocklib.php:1534
10 0.3421 78736072 block_course_overview_plus->specialization彩蛋 ..\moodleblock.class.php:423
In reply to Gary Moncrieff

Re: Post-it and Course Overview Plus css issue

Mary Evans發表於

The CSS in style/postit_core.css is carried over from Aardvark and has 2 or three instances of h3.main in amongs the CSS in that file. If you delete the

h3.main and h3.main a

wherever you find them. The problem with the icons goes away!

There is still a problem with the block though.

Cheers

Mary