[pmwiki-users] Link to create new wikipage

Patrick R. Michaud pmichaud at pobox.com
Mon Aug 15 16:07:04 CDT 2005


On Mon, Aug 15, 2005 at 01:29:55PM -0700, H. Fox wrote:
> On 8/15/05, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> > On Mon, Aug 15, 2005 at 01:03:10PM +0200, Jacob Meldgaard Bøtter wrote:
> > > I am working with an audience that doesn't know much about wikis, and
> > > they keep asking me how to create a page. I keep telling them to just
> > > change the url to what suits them or make a link to a new page, but the
> > > questions keeps coming up. How do I make a link to a form to create a
> > > new page? Is that possible?
> > 
> > Try http://www.pmwiki.org/wiki/Cookbook/NewPageBox .
> 
> Could there be an option to move the button to the right?
> 
> The reason is that the UI is completely different from other
> searchboxes.  For consistency it would be
> 
> Create New Page: [__________] [Go]
> 
> Is that currently possible?

It's not currently possible.  When we originally prototyped the
newpagebox feature it was the consensus that button-on-the-left
was better (even though it wasn't consistent with the search boxes).
But hey, I'm not picky, propose an option syntax and I'll consider
it.

In reality, we don't have to have a (:newpagebox:) at all.  
As long as ?action=new is defined, one can write:

   (:input form:)
   (:input hidden name='action' value='new':)
   Create new page: (:input text name='name':) (:input submit value='Go':)
   (:input end:)

Then the author designing the box can format it however he/she wishes.

> Even better, since it's for newbies who may not have grokked groups
> yet, would be
> 
> Create New Page: [CurrentGroup__].[________] [Go]

That actually might be worse, since many wikis want to play down
the need for groups, not make them more exposed.  I think the typical
usage for a new page box is to create a new page in the current group.

Pm




More information about the pmwiki-users mailing list