[Pmwiki-users] Moving author field to the top

Nathan Jones nathanj
Mon Mar 1 22:12:14 CST 2004


Robin Sheat wrote:
>> 2.  Set a new value for $PageEditFmt in your layout template(s):
>OK, you keep referring to templates for edit and upload actions...where 
>are those templates from?

Starting with version 0.6.1, PmWiki uses template files (located in
pub/skins/) to determine the layout of the HTML.

Using the special comment <!--PageEditFmt--> in your template says "only
use the following section of HTML when in edit mode". Basically, this
section in your template defines the $PageEditFmt variable.

For more info, see:
http://www.pmichaud.com/wiki/PmWiki/LayoutBasics
http://www.pmichaud.com/wiki/PmWiki/LayoutAdvanced (incomplete)

>Also, where does the default value for the Author field come from, is 
>there a cookie that stores it or something?

As far as I recall, a cookie is set on the user's browser so that each
time she edits a page, her username is put into the Author field. It's
not just grabbing the Author from the last edit of that page.

-- 
Nathan Jones



More information about the pmwiki-users mailing list