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 ListOnlyOwnItems.xslOnlyOwnItems.xsl
Previous
 
Next
New Post
7/14/2009 5:34 PM
 

I have downloaded and installed the latest version (5.00.02) on a 5.01.00 DNN version. I set up the form and chose OnlyOwnItems.xsl as the display template.

Problem:

As a basic registered user, I can't see any records including the ones I just added as that user.  Changing the XSLT to any other setting shows all records to the user, which I don't want.

Am I missing a setting here to make OnlyOwnItems.xsl work properly?

Thanks.

 
New Post
7/15/2009 12:16 PM
 

I can reproduce your issue, I will check the reason later.

 
New Post
7/16/2009 3:05 PM
 

Edit OnlyOwnItems.xsl and replace

    <xsl:variable name ="NameOfCreatedByColumn">
          udt:<xsl:value-of select="udt:Fields[udt:FieldType='CreatedBy']/udt:ValueColumn" />_UDT_Original
    </xsl:variable>

with

     <xsl:variable name ="NameOfCreatedByColumn" 
                select="concat(udt:Fields[udt:FieldType='CreatedBy']/udt:ValueColumn, '_UDT_Original')"/>

 
New Post
7/31/2009 9:31 AM
 

Hi Stefan,

Thanks for this update! It solved the same issue for me. I wanted to clarify, for anyone else that comes along, this is what the new line of complete code should look like:

    <xsl:variable name ="NameOfCreatedByColumn">
      <xsl:value-of select="concat(udt:Fields[udt:FieldType='CreatedBy']/udt:ValueColumn, '_UDT_Original')"/>
    </xsl:variable>

If you copy and paste the updated code from Stefan verbatim into your XSL file, you'll get XSL compile errors. It was easy to figure out, but wanted to save others from potential trouble.

Thanks for your efforts!

Tom

 
New Post
7/31/2009 6:46 PM
 

btw, FnL5.0.3 will contain the fix for onlyownitems.xsl.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and ListOnlyOwnItems.xslOnlyOwnItems.xsl


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