FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 686a2b00 authored by Jamie Giberti's avatar Jamie Giberti
Browse files

Merge pull request #8 from thewilkybarkid/menu-trail-by-path

Enable the Menu Trail By Path module in the full profile
parents 8fa92b65 49ce90fc
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,7 @@ dependencies[] = media
dependencies[] = menu_block
dependencies[] = menu_firstchild
dependencies[] = menu_force
dependencies[] = menu_trail_by_path
dependencies[] = pathauto
dependencies[] = raven
dependencies[] = realname
......
......@@ -77,6 +77,9 @@ function cambridge_install() {
variable_set('pathauto_node_news_article_pattern', 'news/[node:title]');
variable_set('pathauto_node_questions_and_answers_pattern', '[node:menu-link:parent:url:path]/[node:title]');
// Don't let Menu Trail By Path handle breadcrumbs.
variable_set('menu_trail_by_path_breadcrumb_handling', FALSE);
// Use the media module for image field instances.
$instances = array(
......@@ -217,3 +220,20 @@ function cambridge_install() {
->execute();
}
}
/**
* Set up the Menu Trail By Path module.
*/
function cambridge_update_7100() {
if (module_exists('menu_trail_by_path') || module_exists('menu_position')) {
return;
}
$result = module_enable(array('menu_trail_by_path'));
if (!$result) {
throw new DrupalUpdateException('Failed to enabled Menu Trail By Path module');
}
variable_set('menu_trail_by_path_breadcrumb_handling', FALSE);
}
......@@ -41,6 +41,7 @@ projects[memcache][patch][] = "http://drupal.org/files/memcache-missing-extensio
projects[memcache][patch][] = "http://drupal.org/files/memcache-display-connection-error-1830496-6.patch"
projects[menu_admin_per_menu] = "1.0"
projects[menu_force] = "1.2"
projects[menu_trail_by_path] = "2.0"
projects[nodequeue] = "2.0-beta1"
projects[pathologic] = "2.12"
projects[realname] = "1.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment