Hi Useman,
Have you performed the following steps?
On the main instance of the Xmod module on the listings page:
1. Go to >> Configure Xmod Module from the Xmod Action Menu
2. Go to Display Settings >> Filter By URL check the box and add the value cat for the cboCategory field

3. Go to Display Settings tab >> Header and add the following code and ensure that you have checked "Hide header if no records are found".
The following code includes the category and sub category (sub categories will show only if a sub category form has been configured).

4. Save Your Changes
Now Xmod is aware that a value has been configured for the cboCategory field and will look for the filter value in the above header text and return the category name if it is passed in a querystring ?cat=DotNetNuke = {XMOD_Parameter:cat} = Currently Viewing DotNetNuke.
For Xmod to be able to show the category, you need to pass to your listing page a URL link that includes the querystring parameter that matches your filter value (in the case above it was cat).
example:
http://dnnprofessor.com/tabid/106/xmmid/842/xmview/1/Default.aspx?cat=DotNetNuke
In the example above, the link is structured to inform Xmod that the listing page is at DotNetNuke tabid 106, the module ID of the Xmod instance on that page is 842, the view is list view (xmview = 1) and the filter parameter passed is cat (cat=DotNetNuke).

|