Difference between revisions of "PT Profile Admin Add"
From ADF Docs
(→Update Profile Site Config) |
|||
Line 5: | Line 5: | ||
== Steps == | == Steps == | ||
− | # Create a new page called 'Add Profile' in the ''/lightbox/profile/'' subsite. | + | # Create a new page from the Lightbox template called 'Add Profile' in the ''/lightbox/profile/'' subsite. |
# In the main content of the page, add a Custom Script element. | # In the main content of the page, add a Custom Script element. | ||
# From the Custom Script element interface, click the "Edit" icon. | # From the Custom Script element interface, click the "Edit" icon. | ||
Line 24: | Line 24: | ||
This page will be used to add new profile records. Update the ptProfile.xml config file that we setup in [[PT_Profile Site Configuration|Site Configuration]]. Get the URL for this page and update the <ADD_URL> tag value with this page URL. | This page will be used to add new profile records. Update the ptProfile.xml config file that we setup in [[PT_Profile Site Configuration|Site Configuration]]. Get the URL for this page and update the <ADD_URL> tag value with this page URL. | ||
<source lang="xml"> | <source lang="xml"> | ||
− | <ADD_URL>/ | + | <ADD_URL>/lightbox/profile/Add-Profile.cfm</ADD_URL> |
</source> | </source> | ||
[[Category:Profile]] | [[Category:Profile]] |
Revision as of 19:46, 26 March 2010
Overview
The Photo Admin Add Page is a lightbox page to allow administrators to create new profiles.
Follow these steps to configure the link and page for adding photos.
Steps
- Create a new page from the Lightbox template called 'Add Profile' in the /lightbox/profile/ subsite.
- In the main content of the page, add 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_profile/customcf/handle_profile_add.cfm
- From the Simple Form element interface icons, choose the Select Form icon.
- In the Create/Select Simple Form dialog, choose the Select Simple Form/Custom Element option and click next.
- From the Select Form/Custom Element dialog, choose the Profile 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. (optional)
- Sender's Email Address: leave checked
- Anonymous Sender's Email Address: if needed, add an anonymous email address
- Form Action: choose Display Textblock on Submission option and add 'Profile successfully created!' text in the RTE.
- Select Finish, then Finish again.
- Publish the page.
Update Profile Site Config
This page will be used to add new profile records. Update the ptProfile.xml config file that we setup in Site Configuration. Get the URL for this page and update the <ADD_URL> tag value with this page URL.
<ADD_URL>/lightbox/profile/Add-Profile.cfm</ADD_URL>