Forums | Mahara Community

Support /
CPD plugin in Mahara 18.04


Jawyei Wong's profile picture
Posts: 23

23 January 2019, 11:39

Hi Robert

 

Thanks for that. For 18.04 the cpds/lib.php will need to be edited to:

public static function menu_items() {
        return array(
            array(
                'path'   => 'content/cpds',
                'title'  => get_string('cpds', 'artefact.cpds'),
                'url'    => 'artefact/cpds/index.php',
                'weight' => 40,
            ),
        );
    }

I wonder if it is possible to have two paths there so it will work for 18.04 and 18.10 without having to manually change that.

 

Jawyei

11 results