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

Learning Lab 6.1  
Business Directory 6.1 - Step 2 - Configure XMod  

Configuring the XMod Module

Return to the XMod module you created during the installation process. Go to the module edit menu >> Configure XMod Module

Configure XMod Module

Step 1. Required Settings

Select a data entry form, detail view template, and list view template

Next decide which form you want to use. The choices are to allow users to add listings to a single listing category, multiple categories, or add listings to a category and multiple sub-categories.

Select your Business Directory data entry form

Next you will select the detail template. If you want to show your listing details on the same page as your listings (Details Inline), select DNNP-BD6.1 Tabbed Detail View. If you decide to show your details on a separate DNN portal page, select DNNP-BD6.1 Tabbed Detail View 2.

Select Detail View Template Choice

Next you will select the list view template. If you want to show your listing details on the same page as your listings (Details Inline), select DNNP-BD6.1 List View. If you decide to show your details on a separate DNN portal page, select DNNP-BD6.1 List View 2.

Select List View Template

When complete, depending on your choices above, your required settings may look like this.

Configure XMod Module - Business Directory Required Settings

 

Step 2. Data Settings

Select data settings options

The first data setting we want to configure is DNN Filter Options. Check the box for Filter Using URL Parameter. Filter options will be used for setting up category dashboard lookup pages, the FatGeorge custom Tag Cloud control, and to be used for the Advanced Search form if you decide to use them.

If you are using the Single or multiple category forms, the only parameter you will need to add is the cboCategory form field and give it a value of cat.

Configure XMod Module - Data Settings 1

If you are using the category and sub-category form (DNNP-BD6.1 Sub Categories Form), you will want to add the additional SavedSubCategory form field and give it a value of scat.

XMod filter for SavedSubCategory field

If you decide to use the Business Directory Advanced Search form, you will need to additionally set the following form fields:

State Filter

City filter



Country filter

Region filter

Zip filter

And finally, add the Tags filed filter to allow additional customizations.
Tags filter

Note: Due the amount of form fields in the Business Directory application, when editing the Configure XMod Module settings some of the above filter settings may not render with your original saved values. They are saved properly to the XMod database tables but the current Xmod parsing engine does not return all of the selected fields on edit. All of the filters are listed above if you need to re-add some of the missing filters on configuration edit. We are working with Kelly Ford, developer of Xmod, to correct this in Xmod version 6.

Optionally, with XMod, you can add DNN Search Options to be used with the DotNetNuke portal search module.

Configure Your XMod - Data Settings

When configuring the Search Box link, replace tabid=64 with the DotNetNuke page tabid number that your XMod module is on.

Step 3. Display Settings

Select display settings options

When XMod display settings you can set Business Directory form fields that will appear in the listing page header as a dropdown user sort options. You can also designate a Business Directory form field as the default sort field.

Configure Your XMod - Display Settings

Note: The code to place in the header and footer sections, above, are included in a text file in the documentation folder of your downloaded zip file.

Step 4. Security Settings

Select who can add listings

Configure XMod Module - Security Settings

Next >> Configuring Main Forms

 


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