Difference between revisions of "PsyCrit:Add Response"

m (+ refresh button for target article drop-down list)
(drop-down list now includes proper "value" data)
Line 16: Line 16:
   <let name=pg_title val="@row.pg.page_title" />
   <let name=pg_title val="@row.pg.page_title" />
   <load page=$pg_title />
   <load page=$pg_title />
   <echo><call xmltag contents="OPTION" /><get name=keyname /> - <get name=title /><call xmltag contents="/OPTION" /></echo>
  <let name=opt_tag>option value="</let>
  <let name=opt_tag append copy=keyname />
  <let name=opt_tag append>"</let>
   <echo><call xmltag contents=$opt_tag /><get name=keyname /> - <get name=title /><call xmltag contents="/OPTION" /></echo>
</for>
</for>
<call xmltag contents="/SELECT" /> <small>[{{fullurl:{{PAGENAME}}|action=purge}} refresh]</small>
<call xmltag contents="/SELECT" /> <small>[{{fullurl:{{PAGENAME}}|action=purge}} refresh]</small>
Line 37: Line 40:
<input type=hidden name=title value=Special:CreatePage>
<input type=hidden name=title value=Special:CreatePage>
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TITLETPLT value="<<date>> <<pagetitle>>">
<input type=hidden name=!TITLETPLT value="<<target>>/<<date>> <<pagetitle>>">
<input type=submit value=Preview> <input type=reset value="-clear-">
<input type=submit value=Preview> <input type=reset value="-clear-">
</form></echo>
</form></echo>

Revision as of 13:50, 16 September 2008

Target article: <call xmltag contents="SELECT NAME=target" />

<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide>

 <load page=$pg_title />
 
 
 
 <call xmltag contents=$opt_tag />ERROR: there is no variable named [keyname]. - ERROR: there is no variable named [title].<call xmltag contents="/OPTION" />

</for> <call xmltag contents="/SELECT" /> refresh

PDF page name:
Title:
Authors:
Date:
Short name:
  • usually AuthorLastName year
  • this is used for referencing the article; readers will see it
Snippet: