Buck Anderson - DNN Professor Member Login
May 21, 2012

Article Search  
Article Index

Click to grab the RSS feed for the DNN Professor Article IndexDotNetNuke Tutorials and Articles

We cover a lot of different DNN topics on this site - this article index gives you a pretty good idea of the DotNetNuke tutorials, XMod tutorials, DNN training, DNN hosting, and Internet Marketing subjects we cover for beginners and advanced DotNetNuke users.

The following is a complete index of all articles on this site - presented in the most current to oldest article sequence. You can view categories and search the index by subject.

Check back often for new articles, tips on our Business Directory, or have articles conveniently delivered to your favorite program by clicking the RSS feed icon above.


Share    
22

In the XMod module action menu >> Configure XMod Module >> Data Settings >> Filter Options

you can configure the module to Filter Using Form Values or Filter Using URL Parameter.

Configure XMod Module

 

Filter Using URL Parameter Example:

In the following example, we have added to the Filter using URL Parameter section the values for Country, cboState, Region and cboCategory.

Note: If your Business Directory listing includess a non-US state, Region is used instead of cboState form value.

I have chosen to give the form fields above the following values.

cboCateory parameter name cat

cboState parameter name State

Country parameter name Country

Region parmeter name Region

Filter by category

Filter by state

Filter by country

Filter by region

Note: If I was using the Category/Sub Category forms, in this example, I would also include a parameter name for the SavedSubCategory field.

Example:

SavedSubCategory parmeter name scat

I checked the boxes for all of the above parameters to Filter, Use Value, and Exact Match.

Save Changes

Here are some URL examples that you can try adding to the URL bar of your browser for Business Directory Demonstration 3 at our training site:

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?cat=Category+7&Country=US&State=MN

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?cat=Category+1&Country=US&State=MN

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?State=MN&cat=Category+7&Country=US

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?Country=US

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?Country=AU

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?Country=AU&Region=NSW

If Demonstration 3 used the Category/Sub Category form a link might look like the following:

http://training.dnnprofessor.com/tabid/64/xmmid/401/xmview/1/Default.aspx?cat=Category+7&scat=Sub Category 7&Country=US&State=MN

By configuring the filtering on you Business Directory XMod module instance and creating a dashboard using a DNN Text/HTML module and by adding links like the ones above, you can create very powerful filtering of your listing information.

Buck

Posted in: XMod Applications

Share    

Post Rating

Comments

kcfarmer
Thursday, November 04, 2010 4:44 PM
Business Directory. Is there a way to organize the category listings on the first page a business sees after choosing to add a listing? I added several categories in the HTML section but on the new listing page they are not very attractive or easy to choose the category you want to place an ad for your business since they are in such disarray.

I'm not sure what the Manage Categories feature is for since those do not show up on the new listing page.

I'm sure there must be a way to organize (alphabetically) and align the listings but I've done something wrong in the set up.


Buck
# Buck
Friday, November 05, 2010 8:54 AM
The Manage Categories in the XMod action menu is a built in feature of XMod.

It is not used in the Business Directory application due to the fact that once you create categories, these categories are shared with any additional XMod applications that you add to your portal.

DNN Professor applications use their own category creation through parameters on the main form.

You can create your own category dashboard using a HTML module or the FatGeorge XMod add-on named Tag Cloud can maintain the list for you.

References:

How Do I Add a Linked Category Dashboard to XMod?

http://dnnprofessor.com/Articles/tabid/223/articleType/ArticleView/articleId/172/PageID/182/How_Do_I_Add_a_Linked_Category_Dashboard_to_XMod.aspx

How To Use the FatGeorge Tag Cloud Control

http://dnnprofessor.com/Articles/tabid/223/articleType/ArticleView/articleId/237/PageID/254/How_To_Use_the_FatGeorge_Tag_Cloud_Control.aspx

Join the Discussion!


Buck Anderson - DNN ProfessorLet us know what you think. Or ask us anything. Or offer your own sage advice.

The only rule: RESPECT THIS HOUSE! Postings that contain abusive language and/or personal attacks will be cheerfully VAPORIZED. One cross word and – POOF! – your well-thought-out post will be gone in a puff of smoke.

          Buck

RSS comment feed RSS feed for comments on this post | Permalink URL

Note: For security, public comments require an Email address (Email will not be published and is also used for your Gravatar image)

Post Comment

Only registered users may post comments.


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