No subtree in admin content structure due to a rewrite rule error...
The rule :
RewriteRule content/treemenu/? /index_treemenu.php [L]
contains an error that cause an empty content structure menu with only the root node (no subtree). You can use this rule instead :
RewriteRule content/treemenu/?$ /index_treemenu.php [L]
JB
Comments (1 historical)
Written by readers of the earlier documentation sites, kept as they were.
Rewrite rules are OK, but index_treemenu.php contains a bug
Svitlana Shatokhina ·
Starting from 4.0.1, the "treemenu" view of the "content" module does not use GET parameters anymore ( see http://issues.ez.no/11806 ). Because of this, the rewrite rules in the docs were updated ("$" removed).
Problem when using the new rewrite rule appears because "index_treemenu.php" in 4.0.1 contains a bug ( see http://issues.ez.no/13528 ). With your suggestion (old rewrite rule, with "$") the system won't use "index_treemenu.php" at all, so the tree menu will work.
However, for better performance it's recommended to download the updated "index_treemenu.php" from http://pubsvn.ez.no/nextgen/stable/4.0/index_treemenu.php and use the new rewrite rule (without "$").