... the same way this can be done for VIEW_TEMPLATE.
So a topic with a VIEW_TEMPLATE setting will use that view template.
If you append a
?template=view
to the url things can be overridden
though.
This feature is missing for EDIT_TEMPLATE and should be added for
consistency using this patch:
--- lib/TWiki/UI/Edit.pm (revision 11640)
+++ lib/TWiki/UI/Edit.pm (working copy)
@@ -196,7 +196,8 @@
my $templateWeb = $webName;
# Get edit template, standard or a different skin
- my $template = $session->{prefs}->getPreferencesValue('EDIT_TEMPLATE') ||
+ my $template = $query->param( 'template' ) ||
+ $session->{prefs}->getPreferencesValue('EDIT_TEMPLATE') ||
$templateName;
$tmpl =
$session->{templates}->readTemplate( $template.$editaction, $skin );
4.1.0 released
KJL