0

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

2
Contributors
1
Reply
14
Views
3 Years
Discussion Span
Last Post by pritaeas
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.