the mysterious case of the vanishing front page section title

the mysterious case of the vanishing front page section title

by Stuart Lamour -
Number of replies: 5
Picture of Plugin developers

the hunt is on...

i'm editing the section on the front page, de-selecting use default section name and adding a title.

try for yourself here - http://qa.moodle.net/course/editsection.php?id=35

the title vanishes into the abyss...

any clues?

(sorry, been watching too much sherlock)

 

Average of ratings: -
In reply to Stuart Lamour

Re: the mysterious case of the vanishing front page section title

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

It appears to be deliberately not implemented.  As 'index.php' is missing code that utilises the 'format_site' class in '/course/format/lib.php' and in any event the method that would be called by '/course/format/renderer.php' upon that class is implemented like so:

    function get_section_name($section) {
        return get_string('site');
    }

 And thus, there is no intent for it to work.  Only the section summary in 'index.php':

echo format_text($summarytext, $section->summaryformat, $summaryformatoptions);

Yours,

Dr Watson

P.S. Try http://www.buzzfeed.com/ailbhemalone/what-sherlock-character-are-you

 

In reply to Gareth J Barnard

Re: the mysterious case of the vanishing front page section title

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

P.S. Technically, this post should be in the course formats forum as its not theme related!

In reply to Gareth J Barnard

Re: the mysterious case of the vanishing front page section title

by Stuart Lamour -
Picture of Plugin developers

1. have a form with an input for users to fill in.

2. deliberately don't display it on the page.

 

i see nothing wrong here.

 

 

In reply to Gareth J Barnard

Re: the mysterious case of the vanishing front page section title

by Mathieu Petit-Clair -
Picture of Core developers Picture of Moodle HQ Picture of MoodleCloud team Picture of Plugin developers Picture of Testers

This has been reported in the tracker as https://tracker.moodle.org/browse/MDL-31822

In reply to Mathieu Petit-Clair

Re: the mysterious case of the vanishing front page section title

by Dave Balch -

Vote for the issue and it should have more chance of being fixed.