Created
January 6, 2014 12:26
-
-
Save bjornbjorn/8282158 to your computer and use it in GitHub Desktop.
Hack for enabling Structure (3.3.13) to allow url_title "/" on root node
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
third_party/structure/views/index.php | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
diff --git a/third_party/structure/views/index.php b/third_party/structure/views/index.php | |
index 2bf7e9d..2db600f 100755 | |
--- a/third_party/structure/views/index.php | |
+++ b/third_party/structure/views/index.php | |
@@ -47,7 +47,7 @@ $level_lock_delete = is_numeric(substr($permissions['delete'], -1)) ? (int)subst | |
if ($page['entry_id'] == $homepage) { | |
$classes[] = 'home'; | |
- $classes[] = 'ui-nestedSortable-no-nesting'; | |
+ //$classes[] = 'ui-nestedSortable-no-nesting'; | |
} | |
$li_open = '<li id="page-'. $page['entry_id'] . '" class="'.implode(' ', $classes).'">'; | |
-- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also works on EE 2.9 w/Structure 3.3.14.5