[pmwiki-users] Wikiforms questions.

Richard Crane craner at haskins.yale.edu
Thu Apr 20 14:33:00 CDT 2006


On Wed, 20 Apr 2006, John Rankin wrote:

> This feature is new last week.
> Are you using the latest version of wikiforms, which is 1.45.
>

Updating the recipe didn't help much -- now the ViewTemplate is used, but other oddities 
were introduced.  This is the input form:

--  This defines the layout of a bibliographic form.
-- 
--  :Short Title: shorttitle ("Abbreviated title"=40) +*
--  :Title: title (text=2*55)
--  :Type: type (Journal Article,Report,Website,Book,Other) +
--  :Original: original Enter location data here (text=1*60)
--  :Local Copy: local (text=1*60) +
--  :Notes: notes (text=10*60)
--  :Publication Year: pubyear (text=1*15)
--

This is the ViewTemplate:

--  Title: '''<title>''' 
-- 
--  '''Type:''' <type> 
-- 
--  '''Year of Publication:''' <pubyear> 
-- 
--  '''Original Location''' \\
--  <original>
-- 
--  '''Local Copy''' \\
--  <local>
-- 
--  '''Notes''' \\
--  <notes>

But what comes out is:

--  Title: Long Term Preservation of Digital Information - Lorie
-- 
--  Type: Journal Article
-- 
--  Year of Publication: <pubyear>
-- 
--  Original Location
--  JCDL-01, June 24-28 2001
-- 
--  Local Copy
--  <local>
-- 
--  Notes
--  The principal issue addressed is the obselescence of software and hardware.


If I edit the actual page ( not the "edit form" option), the data for <pubyear> and <local> are present.


Richard




More information about the pmwiki-users mailing list