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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
 


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
Online now... 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
Online now... 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.

 


IHostASP.NET Provides the Ideal DNN Hosting
We will help you with the installation, configuration, and troubleshooting of your DNN portal, no task is too big or small for us. Unlike other companies we are not just providing a reliable hosting service, but we are also focused on providing the best DotNetNuke hosting service on the internet.
www.ihostasp.net
$7.16/mo - Powerful DotNetNuke / DNN Hosting
Powerful DotNetNuke / DNN Hosting on Windows 2008 and 2003 servers, starting at under $8/mo with FREE SQL 2008 on certain plans and FREE SQL 2005 on all plans with FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com

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