PT Forums Add Thread

From ADF Docs
Jump to: navigation, search

Back to Build Templates/Pages

Overview

The Add Thread page is a lightbox page which contains the form users use to create new thread records.

Follow these steps to configure the link and page for adding threads.

Steps

  1. Create a new page called 'Add Thread' from the Lightbox Template and in the /lightbox/forums/ subsite.
  2. In the main content of the page place a Custom Script element.
  3. From the Custom Script element interface, click the "Edit" icon.
  4. Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/handle_thread_add.cfm.
  5. From the Simple Form element interface icons choose the "Select Form" icon.
  6. In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next".
  7. From the "Select Form/Custom Element" dialog choose the "Forum Threads" custom element and click "Finish".
  8. Within the "Manage Simple Form Element" dialog, enter the following information:
    1. Name: (leave as is)
    2. Email Notification Recipients: (If you would like to receive an e-mail whenever an event is added place your e-mail in here. This is optional)
    3. Sender's Email Address: leave checked
    4. Anonymous Sender's Email Address: (add in an anonymous email address if needed)
    5. Form Action: choose "Display Textblock on Submission" option and add 'New Thread Created Successfully!' text in the RTE.
    6. Select Finish and then Finish again.
  9. Publish the page

Update Configuration

Update the ptForum Configuration for the 'NEW THREAD URL' field. Edit the row in the datasheet and select the CommonSpot page that was created.

Reset the ADF for the server and site.