HOWTO: setting default menutrails_menu per site for multisite install
davidwhthomas - September 21, 2009 - 02:42
| Project: | Menu Trails |
| Version: | 6.x-1.0 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Firstly, thanks again for the awesome module.
I had a need to allow the menutrails menu to default to more than one menu.
i.e primary-links for one site, office-menu for another - in a multisite install sharing tables.
I realized you can override the config variable menutrails_menu in the settings.php file for the appropriate site.
<?php
// sites/default/settings.php
$conf['menutrails_menu'] = 'primary-links';
?><?php
// sites/office/settings.php
$conf['menutrails_menu'] = 'office-menu';
?>This way, the breadcrumbs continue to be built for each site nicely.
Not really a bug but posting here in case it helps someone else.
cheers,
DT
