Posts made by Thomas Hanley

Hi Alex,

Thanks for your reply. By default either the 'course menu' block or something in core Moodle nav code set all topics to display. Yes the user can then override this but this whole concept of having everything on one huge long scrolling page and being able to hide sections of is completely different to the vast majority of websites and therefore our users find it confusing. They are familiar with a html page model.

Which php file would I find the code in which says 'by default show all topics'. I just want to hack this (yes am aware of consequence of doing this!) so that it becomes 'by default show topic 0'. It could well be that it isn't as simple as changing code in one place. Any feedback welcome.

Many thanks

~thomas

Average of ratings: Useful (1)

Hi Alex,

Thanks for getting back to me. It isn't that I want to show a specific topic just the opening topic for a course.

The reason is user experience and the scroll of death. I believe that the best user experience we can provide to our users (UK teachers who are very time pressured) is more of a HTML page model.  So ideally I would not have the choice 'show only topic x' or 'show all topics'.  In an ideal world there would be one topic on screen at any time and our users would navigate topic by topic.

Would this involve a significant amout of coding to achieve?

Many thanks

~thomas

Hi Carol,

Firstly, have you stacked your own theme onto of Gekko? This is the preferable method as if there is a later update to Gekko and you wish to use it then any modifications that you have made to your current Gekko theme would be overwritten.

I am working on a new theme built on top of the latest Aardvark. I also wished to remove anything to do with topics as part of my desire to eliminate the scroll of death. The css below works for me. Have tested in IE8 and IE7, but not IE6 because a tiny fraction of our users make use of this browser.

/*Hide the pointless label 'Topic Outline'*/
div.course-content h2.headingblock
{font-size:0;
display:none;
}

/* Topic number is pointless so remove it for teachers */

.course-content .topics .section .left {
 display: none;
}

Hope this helps

~thomas