Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listsame instance of module in two other pages but with different settingssame instance of module in two other pages but with different settings
Previous
 
Next
New Post
4/20/2009 3:21 AM
 

First of all, I want to thank the dnn developers for such great work with this module.

I've been using dnn for years but just recently got familiar with the forms and List module. It's been a total success but I've had no luck of doing something that is probably easier than I thought.

I have list setup with several columns where the default view displays only a few of these columns to avoid the horizontal scroll bars and the detailed view displays all columns. What I've been trying to do but with no luck is to have the same instance of the module on a different page but with different columns displaying than the original module. I tried setting up the same instance of the module in another page and tried hiding the columns I didn't want to be displayed on that page but changing the hidden columns also affected the original module.
So I'm wondering if there's a work-around for this so I can use the same data either using the same instance or a new module. Or if it is at least possible to simply create links so that when clicked it take you the the page of the module but with a query displaying the records that have a given value in certain column(s).

Example:
I have a UDT populated with data of Laptop specs and test results. The current module displays all records with certain columns hidden and all columns visible in detailed view (using a xsl template provided with the module). I now need to display only records that have "successful test results" preferably but not a must, like in the original module, have some columns hidden and all visible in detail view. My question is if this is possible by just placing an instance of the original module on another page and change some settings and adding a filter? or if it is possible to simply create a link which will include a query that will take you to the original module but will only display the "successful test results" records.

Once again, thanks all the people that makes DNN and this module so great.
FYI... my setup is the following:
2003 server with SQL 2k, DNN 5.0.1, and the latest release of the forms and Lists Module  and its all in a intranet environment

 
New Post
4/20/2009 4:31 AM
 

Sergio,

yes, it is possible and that is a very common use case:

Different Views with different Columns

  • Use mirrored UDTs to share the data between different pages
  • Generate different XSL templates using the buld in Token2 XSL Generator/Editor

Dynamic Filter

  • form and List supports filterstatements like Category='[Querystring:cat]'. If you have a column category, you can filter the UDT with a querystring parameter like ?cat=Notebooks.
    (Btw: Boolean Columns would have a filter like Successful_UDT_Original  = '[Querystring:Success]', called ?success=true)
 
New Post
4/20/2009 5:03 PM
 

thanks for the fast response...

For now, having different views w/different columns is postponed but what do need to have in place is a filter. I tried setting up a filter based on the example you gave me but I could not get it to work. it just doesn't return any records.

I'm using the advancedtable.xsl provided with the module and the column I want to use to filter the UDT is called Bootability Performance. This column has two values in the form of a drop down: Successful and Failed.
So, this is how I typed the filter in the Filter Statement box: 'Bootability Performance'='[Querystring:Successful]'
I used semicolons in 'Bootability Performance' because at first I tried it without'em and got a nasty error. After I placed the semicolons, it did not give me any errors but it did not return any records either, which I know I have a bunch for both values.
I wonder if the following has anything to do with the results I'm getting: When I created this column, I wanted the user to have to choose a value from the dropdown. So I made it a required field and created the dropdown list like this -->  ;Successful;Failed instead of Successful;Failed so that the first value is blank and forces the user to select a different value. I don't see how this could be causing a problem but I'm sort of new to this module so I could be way off track but hope this helps. Thanks in advance

 
New Post
4/20/2009 8:10 PM
 

BTW the column I want to use to filter is not a boolean, its only a text field in the form of a dropdown

 
New Post
4/21/2009 8:06 AM
 

Sergio, are you using form and List or UDT3.x?

Filtering and XSL is much easier in form and List, that's why I ask. The filter in form and List would be [Bootability Performance]='Successfull'.
In UDT, you would need to change the XSL by hand and using a different syntax.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listsame instance of module in two other pages but with different settingssame instance of module in two other pages but with different settings


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out