DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:newpagetemplate

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
plugin:newpagetemplate [2019-10-17 03:16]
turnermm [Description]
plugin:newpagetemplate [2019-10-17 03:37] (current)
turnermm [Discussion]
Line 144: Line 144:
  
 >>>>​ There are several problems with this.  First, with a url like this, the server couldn'​t know where to direct the request, since the address is initially incomplete. ​ The request is sent out before ''​@Name@''​ can be filled in.  But what I missed in my earlier response is that these would be illegal names. ​ And Dokuwiki when it parses the file, will remove the @-signs, and so you will end up  with '':​namespace:​NAME:​start''​. >>>>​ There are several problems with this.  First, with a url like this, the server couldn'​t know where to direct the request, since the address is initially incomplete. ​ The request is sent out before ''​@Name@''​ can be filled in.  But what I missed in my earlier response is that these would be illegal names. ​ And Dokuwiki when it parses the file, will remove the @-signs, and so you will end up  with '':​namespace:​NAME:​start''​.
 +
 +This is a bit late in the day, but you can deal with the above problem using the [[:​plugin:​goto#​updated_version|the goto plugin]].
  
 ---- ----
plugin/newpagetemplate.txt ยท Last modified: 2019-10-17 03:37 by turnermm