Business Directory Dashboard Navigation Using XMod Filtering
Apr
2
Written by:
4/2/2009 10:27 AM
Xmod has a powerful filtering engine that allows you to pass multiple URL parameter values that allow you to filter your Business Directory listings in creative ways. Here are some examples...
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.

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




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
Additional Resource:
How Do I Add a Linked Category Dashboard to XMod?
2 comment(s) so far...
Re: Business Directory Dashboard Navigation Using XMod Filtering
Is it possible to return to a page of listView Template when returning from a detailview
By rshevlin on
8/10/2009 7:09 PM
|
Re: Business Directory Dashboard Navigation Using XMod Filtering
Research Google for JavaScript.history.go
By justnorth on
8/10/2009 7:12 PM
|