From: Joe E. <jo...@or...> - 2001-11-22 16:28:41
|
> What do people think of this idea? I think it's a great idea, and I may implement it myself in a month or two if no one else has before then. It looks like you could just add an if statement testing a "copy" parameter to lib/editpage.php which, if triggered, would use another page's content in the edit form. Then you could either: (a) modify the EDITPAGE template to include links which reload the edit page with copy=X set; or (b) create a small plugin called TotallyNewPage which displays a (possibly dynamic) list of templates for the user to choose from with links into action=edit©=X, and rig the ?MissingPageLinks to point to that intermediate plugin page instead of "&action=edit" in LinkUnknownWikiWord() in lib/stdlib.php. This is a very simple approach; there has been talk of making a templating system more sophisticated than this for use in weblogs. Joe |