Revision [2838]

This is an old revision of WikiTemplate made by NilsLindenberg on 2004-12-04 14:42:06.

 

Templates

I like to re-use and hate to redesign the wheel... Surely I'm not alone ;-)

My solution

I would like to build an action {{template from="OldPage" to="NewPage" editoption="true"}} that would duplicate the template page to a new page .
It would first check the existence of the template page, the non existence of the page to be created, the user right to read the template and the user right to create a page.
The editoption when true will create the new page and then open it for edition.

So what?

I don't know anything about php and mysql but it doesn't look difficult so I will certainly build this soon.. except if some expert one provides some suitable code here.


CategoryDevelopment

There are 2 comments on this page. [Show comments]
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki