From 71950b2ae5ff6fd3b631c5504455cc07699b1c11 Mon Sep 17 00:00:00 2001 From: "http://kerravonsen.dreamwidth.org/" Date: Fri, 25 Jun 2010 02:40:25 +0000 Subject: sidebars defined by pagespec perhaps? --- ..._up_sidebar_to_allow_for_multiple_sidebars.mdwn | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'doc/todo') diff --git a/doc/todo/beef_up_sidebar_to_allow_for_multiple_sidebars.mdwn b/doc/todo/beef_up_sidebar_to_allow_for_multiple_sidebars.mdwn index 1f7b48764..fdaa09f26 100644 --- a/doc/todo/beef_up_sidebar_to_allow_for_multiple_sidebars.mdwn +++ b/doc/todo/beef_up_sidebar_to_allow_for_multiple_sidebars.mdwn @@ -34,6 +34,8 @@ those contents instead. >>>>> if I want to try to get a 3 column CSS going, so perhaps leave the >>>>> left sidebar out of that. +------------------- +
 --- /usr/share/perl5/IkiWiki/Plugin/sidebar.pm	2010-02-11 22:53:17.000000000 -0500
 +++ plugins/IkiWiki/Plugin/sidebar.pm	2010-02-27 09:54:12.524412391 -0500
@@ -85,4 +87,39 @@ those contents instead.
  }
 
+---------------------------------------- +## Further thoughts about this + +(since the indentation level was getting rather high.) + +What about using pagespecs in the config to map pages and sidebar pages together? Something like this: + +
+	sidebar_pagespec => {
+	    "foo/*" => 'sidebars/foo_sidebar',
+	    "bar/* and !bar/*/*' => 'bar/bar_top_sidebar',
+	    "* and !foo/* and !bar/*" => 'sidebars/general_sidebar',
+	},
+
+ +One could do something similar for *pageheader*, *pagefooter* and *rightbar* if desired. + +Another thing which I find compelling - but probably because I am using [[plugins/contrib/field]] - is to be able to treat the included page as if it were *part* of the page it was included into, rather than as an included page. I mean things like \[[!if ...]] would test against the page name of the page it's included into rather than the name of the sidebar/header/footer page. It's even more powerful if one combines this with field/getfield/ftemplate/report, since one could make "generic" headers and footers that could apply to a whole set of pages. + +Header example: +
+#{{$title}}
+\[[!ftemplate id="nice_data_table"]]
+
+ +Footer example: +
+------------
+\[[!report template="footer_trail" trail="trailpage" here_only=1]]
+
+ +(Yes, I am already doing something like this on my own site. It's like the PmWiki concept of GroupHeader/GroupFooter) + +-- [[KathrynAndersen]] + [[!tag wishlist]] -- cgit v1.2.3 From 8f266d4d436be5cbb765ac81424687e764397d05 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 25 Jun 2010 19:32:46 +0200 Subject: another bugreport with patch --- doc/todo/Fix_selflink_in_po_plugin.mdwn | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc/todo') diff --git a/doc/todo/Fix_selflink_in_po_plugin.mdwn b/doc/todo/Fix_selflink_in_po_plugin.mdwn index 87fa38911..b83d2814a 100644 --- a/doc/todo/Fix_selflink_in_po_plugin.mdwn +++ b/doc/todo/Fix_selflink_in_po_plugin.mdwn @@ -6,3 +6,5 @@ isn't. --[[intrigeri]] Fixed in my po branch. --[[intrigeri]] [[!tag patch]] + +> bump? -- cgit v1.2.3 From 2c1c6ea48835913d53740acc375d7f0c8106b429 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 27 Jun 2010 00:12:40 +0200 Subject: Feature request, patch provided. --- doc/todo/Add_HTML_support_to_po_plugin.mdwn | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/todo/Add_HTML_support_to_po_plugin.mdwn (limited to 'doc/todo') diff --git a/doc/todo/Add_HTML_support_to_po_plugin.mdwn b/doc/todo/Add_HTML_support_to_po_plugin.mdwn new file mode 100644 index 000000000..ec29e4f61 --- /dev/null +++ b/doc/todo/Add_HTML_support_to_po_plugin.mdwn @@ -0,0 +1,7 @@ +The HTML page type should be fully supported by the PO plugin: po4a's +HTML support is able to extract translatable strings and to disregard +the rest. + +This is implemented in my po branch, please review. --[[intrigeri]] + +[[!tag patch]] -- cgit v1.2.3