Difference between revisions of "PsyCrit:Add Response"

(format fix; page name fix)
(date -> respDate (probably left over from issuepedia news-filing form); also added null default option for target selection)
Line 12: Line 12:
| align=right | Target article:
| align=right | Target article:
|<call xmltag contents="SELECT NAME=target" />
|<call xmltag contents="SELECT NAME=target" />
<call xmltag contents="option value" />Select a target...<call xmltag contents="/option" />
<let name=including val=1 />
<let name=including val=1 />
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide>
<for table="qryW3_Titles_Catgs" where="(cl_to='Data/target') AND (page_namespace=0)" sort="page_title DESC" name=pg hide>
Line 38: Line 39:
<echo raw now>
<echo raw now>
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TPLTPAGE value="project:templates/response">
<input type=hidden name=!TITLETPLT value="<<target>>/<<date>> <<respRef>>">
<input type=hidden name=!TITLETPLT value="<<target>>/<<respDate>> <<respRef>>">
<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 15:14, 16 September 2008

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

<call xmltag contents="option value" />Select a target...<call xmltag contents="/option" />

<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]

Title:
Author attribution:
  • usually author's name and institutional affiliation
Date:
Short name:
  • usually author's last name; used for page title => targetname/date short name
  • this is used for referencing the article; readers will see it
Snippet: