Project

General

Profile

How to add a launch page » History » Revision 3

Revision 2 (Amber Herold, 08/14/2012 03:11 PM) → Revision 3/16 (Amber Herold, 08/14/2012 03:28 PM)

h1. How to add a job launch page to the Appion pipeline 

 h2. Add a php page with the basic appion template 

 <pre> 
 </pre> 
 # createForm function 
 ## has appion header 
 ## has Appion Footer 
 # runCommand function 
 ## builds command 
 ## calls show or submit command 

 h2. Add a link to the page from the menu, or an existing page 

 # menuprocessing.inc 

 h2. Add the guts of the form 

 # run parameters 
 ## <pre>require_once "inc/forms/runParametersForm.inc";</pre>  
 ## <pre>  	
         // add Processing Run Parameter fields 
	 $runParametersForm = new RunParametersForm( $runname, $outdir ); 
	 echo $runParametersForm->generateForm(); 
 </pre>