There seems no need to allow selecting a location when creating a page this
way; the user should always want it to appear in the inline whose form they
submitted.
$add=1 unless length $add;
$add++;
}
$add=1 unless length $add;
$add++;
}
- $q->param('page', $page.$add);
+ $q->param('page', "/$from/$page$add");
# now go create the page
$q->param('do', 'create');
# make sure the editpage plugin is loaded
# now go create the page
$q->param('do', 'create');
# make sure the editpage plugin is loaded
* Set HTML::Template's parent_global_vars option to allow using parameters
like title_overridden that do not appear on the template. (intrigeri)
(See https://rt.cpan.org/Public/Bug/Display.html?id=64158)
* Set HTML::Template's parent_global_vars option to allow using parameters
like title_overridden that do not appear on the template. (intrigeri)
(See https://rt.cpan.org/Public/Bug/Display.html?id=64158)
+ * inline: Force an absolute page location when the inline postform is used.
-- Joey Hess <joeyh@debian.org> Mon, 29 Nov 2010 14:44:13 -0400
-- Joey Hess <joeyh@debian.org> Mon, 29 Nov 2010 14:44:13 -0400
!inline pages="page(foo/bar/*)" rootpage="foo/bar" postform=yes actions=yes
every page created via the action buttons incorrectly pulls in the text from the edittemplate registration. Changing the order of the conditions in the match="" pagespec has no impact.
!inline pages="page(foo/bar/*)" rootpage="foo/bar" postform=yes actions=yes
every page created via the action buttons incorrectly pulls in the text from the edittemplate registration. Changing the order of the conditions in the match="" pagespec has no impact.
+
+> [[fixed|done]] --[[Joey]]