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 Listoriginal copy and multiple views of same UDToriginal copy and multiple views of same UDT
Previous
 
Next
New Post
11/4/2007 5:01 PM
 

Hello,

while developing several views of the same UDT it happens that new UDT entries (under certain categories) are visible in the main unfiltered and paged view, but not in other pages that feature containers with UDT modules using filters, for example, for that category. By removing the page and recreating it (using copy modules from other pages) the new entries are visible again.
As you can imagine, it is particularly annoying to be forced to recreate a 'child' page or two every time a new entry is added, it defeats the purpose of the UDT. I need to understand which error I am making.

Is this particular effect due, for instance, where the new copy is taken from? I mean, if I have created page A with the original UDT and than B from A, does it matter if C is taken from A or B? Of course, whatever the case, page C uses its own new xsl filter.

And if I dont remember which one was A, how do I find out?

Thanks a lot,

Franco

 
New Post
11/5/2007 1:44 AM
 

Franco, It sound like a caching issue. Please check that all your UDTs have set its caching time to 0. I am using UDT a lot in the way you discribe and I was never ever forced to "recreate a child".

UDT data is stored related to its moduleID which is independend from the current tab. If you mirror a UDT to page A, B, C and D, each module uses the same data, there is no master module at all. A, B, C and D only differ in their viewing settings. 

 
New Post
11/5/2007 5:44 AM
 

Hi Stefan,

my caches are all set to 0. Which means I am doing a more fundamental mistake in my filtering. Today I noticed that changing category of an entry does not make it visible in the new category, but remains visible in the old one. Is there maybe anything wrong in this example, extracted from one of my xsl files ("Apples" being a boolean field/column, playing the role of a category):

  <xsl:template match="udt:Data[udt:Apples_UDT_Original='true']" mode="list">
    <xsl:param name="from" select="1" />
    <xsl:param name="to" select="count(*)" />
    <xsl:if test="position() &gt; $from and position() &lt; $to">
      <tr class="normal">
        <td>
          <xsl:call-template name="DetailView" />
        </td>
        <td style="border-bottom:silver 1px solid; padding:10px;">
          <xsl:value-of select="udt:Consultant" disable-output-escaping="yes" />
        </td>
        <td style="border-bottom:silver 1px solid;">
          <h2>
            <xsl:value-of select="udt:Title" disable-output-escaping="yes" />
          </h2>
        </td>
        <td style="border-bottom:silver 1px solid;">
          <xsl:value-of select="udt:Headline" disable-output-escaping="yes" />
        </td>
      </tr>
    </xsl:if>
  </xsl:template>

  <xsl:template match="udt:Data[udt:Apples_UDT_Original!='true']" mode="list">
  </xsl:template>

I figured out I needed the additional "!='true'" test in order to avoid displaying raw data of all the other entries, but maybe I took the wrong approach.

Thanks again,

Franco

 
New Post
11/5/2007 9:18 AM
 

Hi Stefan, the problem is not in the script. I made another simple test: page A with unfiltered user script on my pre-existing UDT entries, page B (copied) using the same unfiltered script.
I make a change in one entry, in the one of the rich-text fields, and saved it. The change can be seen on page A and not on page B, no matter what sort of refresh, browser, PC I use (just to exclude local problems).

Both pages have cache refresh 0, no other modules on page B, and certainly no new UDT. I am desperately running out of options..

You are welcome to come and check the site, I can give you access if you indicate me your email.

Thanks,
Franco

 

 
New Post
11/5/2007 12:45 PM
 

Do you copy or reference your module?Please try "add existing module" in the control panel.

I did not relize that the new forum doesn't shows up the email adresses, I added my one to the signature.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForm and ListForm and Listoriginal copy and multiple views of same UDToriginal copy and multiple views of same UDT


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