Difference between revisions of "PT Forums Add Message"
From ADF Docs
Gcronkright (talk | contribs) (Created page with '== Overview == The Add Message page is a lightbox page for forum users to create new message records. Follow these steps to configure the link and page for adding messages. == …') |
Gcronkright (talk | contribs) m |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | Back to [[PT Forums Build Templates Pages|Build Templates/Pages]] | ||
+ | |||
== Overview == | == Overview == | ||
− | The Add Message page is a lightbox page | + | The Add Message page is a lightbox page which contains the form users use to create new message records. |
Follow these steps to configure the link and page for adding messages. | Follow these steps to configure the link and page for adding messages. | ||
Line 8: | Line 10: | ||
#In the main content of the page place a Custom Script element. | #In the main content of the page place a Custom Script element. | ||
#From the Custom Script element interface, click the "Edit" icon. | #From the Custom Script element interface, click the "Edit" icon. | ||
− | #Enter the following text into the Explicit Module path: ''/ADF/apps/ | + | #Enter the following text into the Explicit Module path: ''/ADF/apps/pt_forum/customcf/handle_message_add.cfm''. |
− | # | + | #Once the page has reloaded, add the '?renderForm=1' to the page URL and hit enter. |
#From the Simple Form element interface icons choose the "Select Form" icon. | #From the Simple Form element interface icons choose the "Select Form" icon. | ||
#In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next". | #In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next". | ||
− | #From the Select Form/Custom Element dialog choose the " | + | #From the "Select Form/Custom Element" dialog choose the "Forum Message" custom element and click "Finish". |
#Within the "Manage Simple Form Element" dialog, enter the following information: | #Within the "Manage Simple Form Element" dialog, enter the following information: | ||
##Name: (leave as is) | ##Name: (leave as is) | ||
Line 18: | Line 20: | ||
##Sender's Email Address: leave checked | ##Sender's Email Address: leave checked | ||
##Anonymous Sender's Email Address: (add in an anonymous email address if needed) | ##Anonymous Sender's Email Address: (add in an anonymous email address if needed) | ||
− | ##Form Action: choose "Display Textblock on Submission" option and add ' | + | ##Form Action: choose "Display Textblock on Submission" option and add 'New Message Created Successfully!' text in the RTE. |
##Select Finish and then Finish again. | ##Select Finish and then Finish again. | ||
#Publish the page | #Publish the page | ||
== Update Configuration == | == Update Configuration == | ||
− | Update the | + | Update the ptForum Configuration for the 'NEW MESSAGE URL' field. Edit the row in the datasheet and select the CommonSpot page that was created. |
[[Reset ADF|Reset the ADF]] for the server and site. | [[Reset ADF|Reset the ADF]] for the server and site. | ||
− | [[Category: | + | [[Category:Forums]] |
Latest revision as of 21:08, 25 June 2010
Back to Build Templates/Pages
Overview
The Add Message page is a lightbox page which contains the form users use to create new message records.
Follow these steps to configure the link and page for adding messages.
Steps
- Create a new page called 'Add Message' from the Lightbox Template and in the /lightbox/forums/ subsite.
- In the main content of the page place a Custom Script element.
- From the Custom Script element interface, click the "Edit" icon.
- Enter the following text into the Explicit Module path: /ADF/apps/pt_forum/customcf/handle_message_add.cfm.
- Once the page has reloaded, add the '?renderForm=1' to the page URL and hit enter.
- From the Simple Form element interface icons choose the "Select Form" icon.
- In the Create/Select Simple Form dialog choose the option to "Select Simple Form/Custom Element" option and click "next".
- From the "Select Form/Custom Element" dialog choose the "Forum Message" custom element and click "Finish".
- Within the "Manage Simple Form Element" dialog, enter the following information:
- Name: (leave as is)
- 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)
- Sender's Email Address: leave checked
- Anonymous Sender's Email Address: (add in an anonymous email address if needed)
- Form Action: choose "Display Textblock on Submission" option and add 'New Message Created Successfully!' text in the RTE.
- Select Finish and then Finish again.
- Publish the page
Update Configuration
Update the ptForum Configuration for the 'NEW MESSAGE URL' field. Edit the row in the datasheet and select the CommonSpot page that was created.
Reset the ADF for the server and site.