Really hate the way Moodle is written, was wondering if there was a quick way around this.

$custommenu = $OUTPUT->custom_menu();
$hascustommenu = (empty($PAGE->layout_options['nocustommenu']) && !empty($custommenu));



                <?php if ($hascustommenu) { ?>
                <div id="custommenu"><?php echo $custommenu; ?></div>
                <?php } ?>

How can I add a seperator into the navigation e.g | Home | Link1 | Link2 |

If this can be done with a PHP wrap or snippet i'd appreciate it. If not I could edit the Database

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.