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 ListVisible = true or falseVisible = true or false
Previous
 
Next
New Post
10/30/2006 8:57 AM
 
Hi Folks,

My thanks to everyone working on this great module.  It is a real workhorse with lots of utility.

I have a client that wants to use UDT for Positions Available.  They have about 12 different types of positions that become available over time.  Once they have filled the position they would prefer to just hide it from public view, so the next time it opens they don't have to fill in all the same info again. 

Is there an way to do this?  Or should I create a boolean field then drop the record if Visible=false in the xsl?  Could someone provide a snippet on how this might be done?

This might be a nice feature to have as a default, like created by/date.

Thanks,
Wylie



Chris Wylie
Chief Executive Officer
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
New Post
10/30/2006 10:05 AM
 

Hi Wylie,

thank you for your nice feedback. The upcoming UDT3.3.7 will support filtering where you can define such filters.

You are right that this can be solved with XSL.

  1. Create a column Visible of type true/false
  2. Download BasicTable.xsl
  3. Edit the file and change line 35 from
    <xsl:for-each select="udt:Data">
    to
    <xsl:for-each select="udt:Data[udt:Visible='true']">
  4. Save it as "ShowOnlyVisibleRows.xsl" and upload it as UserDefined StyleSheet
  5. Write the bill for your client, you're done
 
New Post
10/30/2006 3:15 PM
 
Thank you Stefan!



Chris Wylie
Chief Executive Officer
www.AccordLMS.com
1775 W. State Street Suite 371, Boise ID 83702 USA
 
 
New Post
11/23/2006 9:04 AM
 

Hi. I also like very much User defined tables module. I use it a lot. I have an issue related to this topic. I am trying to catch only the records wich are assigned as true. The problem is that UserDefinedTables transforms the data that should reasonably be "True" or "False" in an image link string like <img src="/images/checked.gif">. How can I disable that??? That makes it harder to filter elements as I must find a 'checked' or 'unchecked' string that would correspond to 'True' or 'False'. I only want to filter words "true" or "false". I am using DNN 4.3.4. Thanks a lot.

 
New Post
11/24/2006 1:56 AM
 

My mistake, in the post above it should be:

<xsl:for-each select="udt:Data[udt:Visible_UDT_Original='true']">

Even this is wrong, as there was a typo in the source, so it is currently _UDT_Orignal, but this will be fixed within UDT3.3.7 

More information:
http://www.dotnetnuke.com/Community/ForumsDotNetNuke/tabid/795/forumid/56/threadid/69772/scope/posts/Default.aspx
or later inside the unreleased UDT3.3.7 Documentation

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListVisible = true or falseVisible = true or false


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