FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 5cf14ec6 authored by thewilkybarkid's avatar thewilkybarkid
Browse files

Sanitise content type menu links

parent cae54fcb
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ dependencies[] = globalredirect
dependencies[] = imagecrop
dependencies[] = link
dependencies[] = media
dependencies[] = menu_force
dependencies[] = pathauto
dependencies[] = php
dependencies[] = raven
......
......@@ -17,6 +17,9 @@ function cambridge_install() {
cambridge_lite_install();
// Force a main-menu link on Basic Pages.
variable_set('menu_force_page', TRUE);
// Set sensible URL alias pattern defaults.
variable_set('pathauto_node_pattern', '[node:title]');
......
......@@ -25,6 +25,7 @@ projects[imagecrop][version] = "1.0-rc3"
projects[imagecrop][patch][] = "https://gist.github.com/thewilkybarkid/6241365/raw/fccdba35efbd5ec106d8b92a8af98f71172e1870/imagecrop_query_string.patch"
projects[imagecrop][patch][] = "https://gist.github.com/thewilkybarkid/6351355/raw/a34c91e4480aa7c4c0b79644e13aeeec914c1726/imagecrop_theme.patch"
projects[media] = "1.3"
projects[menu_force] = "1.2"
projects[nodequeue] = "2.0-beta1"
projects[pathologic] = "2.11"
projects[realname] = "1.1"
......
......@@ -371,6 +371,12 @@ function cambridge_lite_install() {
field_create_instance($instance);
}
// Basic Pages can have a main-menu item.
variable_set('menu_options_page', array('main-menu'));
// Carousel Items shouldn't be on a menu.
variable_set('menu_options_carousel_item', array());
// Allow visitor account creation with administrative approval.
variable_set('user_register', USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL);
......
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