Moodle customization

Moodle customization

by John Smith -
Number of replies: 0

Hi,

I am trying to customizing the course page in such way that once the student logged in he should see a button in the center of the screen course layout, i have set the basic requirements in the theme's config.php file. which is shown below.

'incourse' => array(
        'file' => 'course.php',
        'regions' => array(),
        
    ),

 

How can i add the button in the center of course layout

which should take the student to his profile when he clicks it. what should be the code in the main-wrap contents.

 <div id="region-main-wrap">
                            <div id="region-main">
                                <div class="region-content">
                                    <?php echo $coursecontentheader; ?>
                                    <?php echo $OUTPUT->main_content() ?>
                                    <?php echo $coursecontentfooter; ?>
                                </div>
                            </div>
                        </div>

 

Average of ratings: -