Progress bar at the top of course view page ?

Progress bar at the top of course view page ?

by Rachana Sree -
Number of replies: 2

Hi everyone.....

How to set the progress bar at the top of the course view page  ( /course/view.php?id=2  ) ... using theme adaptable ....changed some files in the theme base in config.php, frontpage.php, general.php, and some css file but the block should appears on either right or the left side of the course content.........no changes in the block position .....


I any one kown please reply as soon as possible...


thanks in advance

prakash

Average of ratings: -
In reply to Rachana Sree

Re: Progress bar at the top of course view page ?

by Jon Bolton -
Picture of Particularly helpful Moodlers Picture of Testers

Hi - this is a theme issue rather than a block issue - so moving it to the Themes Forum for you.

In reply to Rachana Sree

Re: Progress bar at the top of course view page ?

by Richard Oelmann -
Picture of Core developers Picture of Plugin developers Picture of Testers

Your theme would need a block region to put the block in - and that depends on what you mean by "top"

If you mean in the page header itself - I'm not aware of any theme that currently does that

Flexibase (and probably a couple of others but I cant think of any off the top of my head) have a block region above the main content.

Alternatively you could look at how some of the themes achieve custom block regions like that and build one into your theme.


The alternative, which I have achieved before, although not with Progress Bar, is to extract the code of the block you want to use and code it directly into the theme, in the location you want it, so that it becomes part of the theme rather than a separate and movable block - I did that a few years ago with Upcoming Events and a couple  of others, and more recently its how I did the radial progress/grade displays in Flexibase.