aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-04 16:46:18 -0400
committerJoey Hess <joey@kitenet.net>2010-05-04 16:46:18 -0400
commitddd7a766e27128f971fceba900d73982c686afbd (patch)
treefd1e6a8e8fe861f284d5e0cd33c5eb7f985c4e33 /doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
parent59ff5cf553ed82b47323c584815f6bbc7c10d2f4 (diff)
downloadikiwiki-ddd7a766e27128f971fceba900d73982c686afbd.tar
ikiwiki-ddd7a766e27128f971fceba900d73982c686afbd.tar.gz
response
Diffstat (limited to 'doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn')
-rw-r--r--doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn b/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
index 20139b140..99784cdd2 100644
--- a/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
+++ b/doc/forum/suppressing_output_of_pages_included_only_for_their_side_effects.mdwn
@@ -3,3 +3,14 @@ In particular, it's kind of annoying that using the sidebar plugin results in th
In reading through the code and associated docs, it appears that the ideal method is for the file to be removed from the $changed array by plugin's "needsbuild" hook. Either the sidebar plugin could define such a hook, or perhaps a more general solution is the creation of a meta variable or config file regexp that would handle it according to the user's wishes.
I'm about ready to code up such a change but want to find out if I'm thinking along the right lines. --[[blipvert]]
+
+> Internal pages should be able to be used for this, as they are used for
+> comments. So you'd have
+> `sidebar._mdwn`. However, mwdn would need to be changed to register a
+> htmlize hook for the `_mdwn` extension for that to really work.
+>
+> But, if there's no rendered sidebar page, how can users easily edit the page
+> in the web interface? In the specific case of the sidebar, It seems
+> better to have the page display something different when built standalone
+> than when built as the sidebar.
+> --[[Joey]]