DNN Professor Test Lab and Product Training Center Training Login
March 11, 2010

Learning Lab 6.1  
Business Directory 6.1 - Step 9 - Adding Optional Sharing Form to Separate Details Page  

DNNP-BD6.1 Sharing Form

In this lesson we will discuss the sharing form and adding it to our separate details page.

The sharing form is designed to be used on the separate details page when using the DNNP-BD6.1 Tabbed Detail View 2 configuration discussed in the lesson Configure XMod.

We will assume that you have already created your DotNetNuke portal page for your details module and desire to add the optional Sharing Form (DNNP-BD6.1 Sharing Form) to this details page.

Configure Sharing Form Settings

Business Directory includes a sharing form (DNNP-BD6.1 Sharing Form). The DNNP-BD6.1 Sharing Form is designed to be used when your are showing your listing details using the XMod details module on a separate DotNetNuke portal page. It is designed to be used as a Tell-A-Friend form and visually resides well on the page within a right content page that allows 200px in width.

Manage Sharing Form

Mangae Forms >> Edit >> Click Settings

Sharing Form Settings

Save Settings

Email Parameters for Sharing Form

In the parameters, above, there are two parameters that allow the form to send mail:

parameter name="sEmail"

parameter name="smtpServ"

sEmail - The default value is {XMOD_PortalEmail} and returns the email associated with your portal's Administrator account. This value is the From value used to send emails. You can change this to the email of your choice. In addition to the main form, Primary Contact Email, this is the email address that will also receive emailed inquiries.

smtpServ - The default value is mail.{XMOD_PortalAlias} and will return mail.YOURDOMAIN.com. You can change this value to the SMTP server of your choice. Example: If you are hosting at PowerDNN.com the value would be 127.0.0.1

Change these values if they do not meet your site's email requirements.

Save Form

Click Done

Add Sharing Form to a FormView Module on your separate detail page

The DNNP-BD6.1 Sharing Form is designed to be used on a separate Business Directory detail page.

We will now add it to the details page.

The sharing form works best when using a portal skin that has a right content pane that is at minimum 200px wide.

Business Directory sharing form on separate detail page

To add the sharing form to your details page:

  1. Add a Xmod FormView module to your page.

    Add Xmod FormView module to details page for sharing form
     
  2. You will be presented with a statement that says:
    This module needs to be configured.
     
  3. From the module action menu select configure Xmod module.

    Configure FormView module for the sharing form

    Select the sharing form.

    Select the sharing form

    Display Settings

    Sharing form display settings

Good Job!

Next >> Step 10 Admin Console

 


© 2009 by DNNprofessor.com  | Terms of Use | Privacy Statement | Email White Listing