Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

CrystalTech Web Hosting™
Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  User Defined Ta...  original copy and multiple views of same UDT
Previous Previous
 
Next Next
New Post 11/4/2007 2:01 PM
User is offline fprati
36 posts
10th Ranked


original copy and multiple views of same UDT 

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/4/2007 10:44 PM
User is offline Stefan Cullmann
1553 posts
5th Ranked








Re: original copy and multiple views of same UDT 

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. 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
New Post 11/5/2007 2:44 AM
User is offline fprati
36 posts
10th Ranked


Re: original copy and multiple views of same UDT 

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 6:18 AM
User is offline fprati
36 posts
10th Ranked


Re: original copy and multiple views of same UDT 

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 9:45 AM
User is offline Stefan Cullmann
1553 posts
5th Ranked








Re: original copy and multiple views of same UDT 

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.


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com
form and List will be the successor of the User Defined Table module.
----------------------------------------------------------------------
Do you want to import external data to form and List /User Defined Table?
Check out http://www.codeplex.com/Csv2UDTImport
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  User Defined Ta...  original copy and multiple views of same UDT
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


SteadyRain
Founded in 1999, SteadyRain has extensive experience delivering Internet technology strategies and solutions for a diverse client base, ranging from Fortune 500 firms to successful start-ups.
www.steadyrain.com
AfterImage Internet Consulting and SEO Services
AfterImage provides search engine optimization (SEO), Internet consulting and hosting services for the Windows platform (IIS, ASP, SQL Server).
www.afterimage.nl/
Alki Homes - Seattle, WA
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP