DNN Professor Member Login
July 30, 2010

DNN Professor Blogs

DNN Professor DotNetNuke and XMod Blogs

Covering DNN modules, DNN web design tips, DNN and XMod training tips for DotNetNuke users.

DNN Professor Blogs

Minimize
Jan 7

Written by: Buck Anderson
1/7/2009 10:35 PM 

Many of you have asked how to create a linked category dashboard directory for the Business Directory XMod application. Here is how you do it...

Many of you have asked how to create a linked category dashboard directory for the Business Directory XMod application. Here is how you do it.

1. Create a HTML category list of your categories previously created in the Business Directory form. In this example, we have created this category list on a separate page form the main Business Directory page.

XMod Category Dashboard

Category Link Result

The above link is created by adding the TabID of the page where your Business Directory application is located. In this case the TabId is 117.

The xmmid is the number XMod has assigned to the instance of the XMod module you are using for Business Directory. You can locate this value by viewing the source of the page and look for a similar line of code like 'div id="dnn_ctr494_XModDisplay_pnlListView'.

The ctr number will be the one you will use in the link code above.

The next value is 'cat'. This is the querystring parameter we wiill pass to XMod. In this case, we want to return results for the category Videographers. Our link code is '/cat/Videographers'

The final portion of the link code is determining which view we want XMod to return. View 1 is is a XMod list view and View 2 is a XMod detail view. In the example above, we want to return a list view of all listings for videographers. The link code is 'xmview/1'

Continue to build these links for each category by simply replacing the category value in each link. (Example: cat/Bridalware - Tuxedos or cat/Rings - Jewelry) Pay careful attention to capitalization and enter these values exactly as you have them on your Business Directory form.

XMod Filter Options

2. Next you will need to configure XMod to accept the parameters of the links that you have created. You will do this by going to your Business Directory instance >> Configure XMod Module >> Data Settings >> DNN Filter Options >> Filter Using URL Parameter.

Check the box titled Filter Using URL Parameter. Select the form control cboCategory and check the three boxes to the left and then enter the word 'cat' in the textbox to the right. Save changes.

Note: If you are also using sub-categories, you would also select the URL filter, SavedSubCategory and give it a name of sCat. As an example, if your category name was Boats and your sub-category under Boats was fishing, then your link would be /tabid/117/xmmid/494/cat/Boats/sCat/fishing/xmview/1/Default.aspx.

And that is how simple it is to create a category dashboard for the Business Directory.

Tags:

3 comment(s) so far...

Re: How Do I Add a Linked Category Dashboard to XMod?

I am new to XMod and Business Directory (6.0). I have recently purchased both and I am learning them. When I choose to 'Configure Your XMod Module', I do not see any Field Names listed in the DNN Filter Options dialog box. I have the following selected; [Required Settings]: Data Entry Form = BD6 Multiple Categories Form, Detail View Template = BD6 Detail View, List View Template = BD6 List View; [Data Setting]: I have all of the default setting execpt that I have selected (checked) Filter Using URL Parameter. How do I get the Field Names to show up so I can select cboCategory? Thanks in advance for your assistance.

By Billg on   3/29/2009 10:18 AM

Re: How Do I Add a Linked Category Dashboard to XMod?

If XMod is installed correctly, it appears you have done everything correctly. Configure Your XMod Module >> Data Settings tab >> DNN Filter Options >> Checking the box Filter Using Form Values should produce a select box to allow the selection of form field choices. If you do not have this option, may we suggest XMod support at http://dnndev.zendesk.com/login. Kelly Ford, the XMod developer, will offer you prompt support.

By Buck Anderson on   3/29/2009 10:24 AM

Re: How Do I Add a Linked Category Dashboard to XMod?

Thank you for this information. You have done a great job. So many
figures, everything is so exactly. I usually look for some information on similar topics at torrent search engine but your website is really a good source of information.
You are doing great work. Carry on this.

By Thomas on   2/11/2010 5:28 AM

Your name:
Your email:
(Optional) Email used only to show Gravatar.
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel 
Search  
Blogs  
Archive  
Our Products  

Business Directory 6.1

from DNN Professor

View Details View Business Directory 6.1 Reviews

Easily add Business Directory listings to your DotNetNuke website! This, XMod powered DNN...

From: $97.00

Review IT!

from DNN Professor

View Details View Review IT! Reviews

Easily add Music, Movies, Products, Software, and Service Reviews to Your DotNetNuke website!...

From: $97.00

Move My Inventory!

from DNN Professor

View Details View Move My Inventory! Reviews

Get Results by presenting your product inventory and services in a unique and professional way...

Price: $97.00


Copyright 2004 - 2010 by Jive Media Group LLC. All Rights Reserved.  | Terms of Use | Privacy Statement | Email White Listing | Site Map