Loading...
 

History: Custom_Contact_Form

Preview of version: 29

After you install

  1. Visit Contact_us
  2. Go to watch the newly created tracker

Custom_Contact_Form
Custom_Contact_Form Profile


Contact form

Goal: ease the task to the site admin to create a custom contact form adapted to the specific case of that site. New fields can be added asking questions specific for the site.

A contact us form is one of the most obvious uses of trackers in Tiki. They are very simple, and yet they take many steps to configure. This profile will enable the tracker feature and create a basic "contact us" form to which you will be able to add additional fields.

Create the database

YAML
preferences: enable: [ feature_trackers ] objects: - type: tracker ref: contact_us_form data: name: Contact us description: Contact us form default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments ] - type: tracker_field ref: contact_us_summary data: name: Summary tracker: $contact_us_form type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: contact_us_name data: name: Your name tracker: $contact_us_form type: text_field flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: contact_us_email data: name: Your email tracker: $contact_us_form type: email flags: [ searchable, public, list ] order: 30 - type: tracker_field ref: contact_us_message data: name: Your message tracker: $contact_us_form type: text_area flags: [ searchable, public ] order: 40



Add the wiki page


This will use Contact_us
YAML
preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: contact_us_form_wiki_page data: name: Contact_us description: Contact us lang: en content: wikicontent:Contact_us


Permissions

YAML
permissions: Admins: allow: [ admin_trackers ] Anonymous: allow: [ view, wiki_view_history ] objects: - type: tracker id: $contact_us_form allow: [ create_tracker_items ]


Bug



Todo

  • Add permissions for anonymous to add to tracker
  • Instructions page for landing once the profile has been created. See how it is done in the Bug_Tracker profile, for instance.
  • visitor should receive a copy of the email (optional)
  • Sender email needs to be set (could be using interactive)


Contact_Form

History

Advanced
Information Version
Fri 14 of Oct, 2016 09:17 GMT-0000 Xavi (as xavidp - admin) Mass search and replace 32
View
Sat 26 of Jul, 2014 18:58 GMT-0000 Xavier de Pedro added a way to list all wiki pages related to this profile 31
View
Sun 13 of Jul, 2014 10:15 GMT-0000 Xavier de Pedro added instructions page and move that content there 30
View
Mon 28 of Apr, 2014 10:44 GMT-0000 Xavier de Pedro added screenshot 29
View
Sat 22 of Feb, 2014 18:59 GMT-0000 Xavier de Pedro added alias with the former name 28
View
Sat 22 of Feb, 2014 18:58 GMT-0000 Xavier de Pedro tweaked a bit 27
View
Tue 14 of Sep, 2010 02:25 GMT-0000 Marc Laporte cleaner 26
View
Tue 14 of Apr, 2009 16:30 GMT-0000 Marc Laporte 25
View
Wed 21 of Jan, 2009 14:51 GMT-0000 Marc Laporte 23
View
Wed 21 of Jan, 2009 14:03 GMT-0000 Marc Laporte 22
View
Wed 21 of Jan, 2009 13:59 GMT-0000 Marc Laporte 21
View
Tue 20 of Jan, 2009 22:10 GMT-0000 Marc Laporte Plugin modified by editor. 20
View
Tue 20 of Jan, 2009 21:52 GMT-0000 Marc Laporte 19
View
Tue 20 of Jan, 2009 21:50 GMT-0000 Marc Laporte Plugin modified by editor. 18
View
Tue 20 of Jan, 2009 21:50 GMT-0000 Marc Laporte 1st attempt to specifi perms on this tracker form 17
View
Wed 31 of Dec, 2008 22:40 GMT-0000 Marc Laporte 16
View
Tue 14 of Oct, 2008 23:31 GMT-0000 Marc Laporte 15
View
Tue 14 of Oct, 2008 19:38 GMT-0000 Marc Laporte 14
View
Tue 14 of Oct, 2008 19:30 GMT-0000 Marc Laporte 12
View
Tue 14 of Oct, 2008 19:28 GMT-0000 Marc Laporte 11
View
Tue 14 of Oct, 2008 18:09 GMT-0000 Marc Laporte 10
View
Tue 14 of Oct, 2008 16:48 GMT-0000 Marc Laporte 9
View
Sun 12 of Oct, 2008 15:43 GMT-0000 Marc Laporte 8
View
Sun 12 of Oct, 2008 15:42 GMT-0000 Marc Laporte 7
View
Sun 12 of Oct, 2008 15:39 GMT-0000 Marc Laporte 6
View
  • «
  • 1 (current)
  • 2