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