diff options
author | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-29 21:59:37 +0000 |
---|---|---|
committer | joey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071> | 2007-08-29 21:59:37 +0000 |
commit | aa25389f5747c2a0a4e9d1295c94c4d24365b9bf (patch) | |
tree | 00250ebcde8b0eee9f74ece45dc81c28bb534cce /doc/todo | |
parent | 5d6d191e88be4449d6e5d5aa1a4e49453f4cf0b8 (diff) | |
download | ikiwiki-aa25389f5747c2a0a4e9d1295c94c4d24365b9bf.tar ikiwiki-aa25389f5747c2a0a4e9d1295c94c4d24365b9bf.tar.gz |
comments
Diffstat (limited to 'doc/todo')
-rw-r--r-- | doc/todo/default_content_for_new_post.mdwn | 30 |
1 files changed, 25 insertions, 5 deletions
diff --git a/doc/todo/default_content_for_new_post.mdwn b/doc/todo/default_content_for_new_post.mdwn index 435427a95..8cdd03c44 100644 --- a/doc/todo/default_content_for_new_post.mdwn +++ b/doc/todo/default_content_for_new_post.mdwn @@ -3,10 +3,29 @@ to include default content in a new [[plugins/inline]] post would help with tasks like using an inline for a comment form on each new blog post. --[[JoshTriplett]] -> No, it would only help if the new blog post were being made via the form. -> If you're editing it in vi, and committing, it doesn't help. :-) This is -> another reason why I prefer the approach in [[discussion_page_as_blog]] -> --[[Joey]] +No, it would only help if the new blog post were being made via the form. +If you're editing it in vi, and committing, it doesn't help. :-) This is +another reason why I prefer the approach in [[discussion_page_as_blog]]. +Although I don't mind getting this implemented too, for other reasons. + +I see three possible designs: + +1. Simply use the bestlink(new_page_content) as the default content. Thomas + Schwinge emailed me an implementation of this. It has the problem that + it doesn't make sense to use the same new page template for a Discussion + page as for the page being discussed. (That's a specific case of a more + general problem.) + +1. Modify inline so that "template=foo" uses page foo as the template for + new posts made to the blog. This doesn't cater to every case, but + perhaps it would be enough? + +1. Make pages able to embed in them a pagespec that says they are the + template when new pages are created that match that pagespec. + This is the most general solution, but depends on + [[plugin_data_storage]]. + +--[[Joey]] This feature would also allow the automatic inclusion of a given template in every new post, which could help for [[/plugins]] (automatically use the @@ -20,4 +39,5 @@ a template that appends "(done)" to the title if the page links to > * It's remote and casual users who benefit most from having standard templates to use for new pages > * When using svn to make changes it's easier to manually provide template functionality (eg. cp recipe_template.mdwn newpage.mdwn) -> All of course bearing in mind that I'm just commenting because I don't have the skills to actually make the required changes. ;-) -- [[AdamShand]]
\ No newline at end of file +> All of course bearing in mind that I'm just commenting because I don't have the skills to actually make the required changes. ;-) -- [[AdamShand]] + |