LMSouq
moodle-core Open

Moodle theme customization

DA
Dave C
1 month ago
3 views
Problem Description
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 ---------------------- Button 1 ---------------------- 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>

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base