/[drupal]/contributions/modules/contact_forms/README.txt
ViewVC logotype

Diff of /contributions/modules/contact_forms/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5, Sun Sep 14 10:10:31 2008 UTC revision 1.6, Wed Dec 31 12:37:41 2008 UTC
# Line 1  Line 1 
1  $Id: README.txt,v 1.4 2007/09/05 12:02:20 gpdinoz Exp $  $Id: README.txt,v 1.5 2008/09/14 10:10:31 gpdinoz Exp $
2    
3  CONTACT_FORMS.MODULE  CONTACT_FORMS.MODULE
4    
# Line 11  unique path, for each of the contact for Line 11  unique path, for each of the contact for
11    
12  The path 'contact/{category}' generates a contact form  The path 'contact/{category}' generates a contact form
13  for that category with a title = 'Contact {category}'.  for that category with a title = 'Contact {category}'.
14  e.g. path 'contact/Jill_Jones' generates a contact form  e.g. path 'contact/Jill Jones' generates a contact form
15  for the category 'Jil Jones' with a title = 'Contact jill Jones'.  for the category 'Jil Jones' with a title = 'Contact jill Jones'.
16    
17  If a path is entered that does not have a category you  If a path is entered that does not have a category you
# Line 19  can specify a page to redirect to. The d Line 19  can specify a page to redirect to. The d
19  path is contact.  path is contact.
20    
21  To define the subject of the generated form the path is as follows  To define the subject of the generated form the path is as follows
22  'contact/{category}/Subject_goes-here'  'contact/{category}/Subject goes here'
23  e.g. path 'contact/Jill_Jones/Enquiry_about_Sales' generates a contact form  e.g. path 'contact/Jill Jones/Enquiry about Sales' generates a contact form
24  for the category 'Jil Jones' with a title = 'Contact jill Jones' and the subject  for the category 'Jil Jones' with a title = 'Contact jill Jones' and the subject
25  'Enquiry about Sales'.  'Enquiry about Sales'.
26    
27  NOTE: replace any spaces in the path with underscores.  
28    
29  Requirements  Requirements
30  ------------  ------------
# Line 56  Create a "Contact Directory" page with a Line 56  Create a "Contact Directory" page with a
56  and lay it out how you would like it. Links to the forms can  and lay it out how you would like it. Links to the forms can
57  be made with the following code [using the drupal link function]  be made with the following code [using the drupal link function]
58  <?php  <?php
59  print l('Email Jill Jones', 'contact/Jill_Jones');  print l('Email Jill Jones', 'contact/Jill Jones');
60  ?>  ?>
61  This page can be set as the fall back page if a contact/category  This page can be set as the fall back page if a contact/category
62  path is entered that doesn't exist.  path is entered that doesn't exist.

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.2