Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Henri Toivonen 77 posts 111 karma points
    Feb 02, 2012 @ 10:59
    Henri Toivonen
    0

    Children i deeper levels not showing

    I have this structure: Newsarchive -> newsfolder -> newspost.

    I want to show the newsposts without having to bother about the newsfolders.

    Tried it like this:

    <umbraco:Macro Alias="[EyeCatch]RSSFeed" title="Nyheter RSS: Easycredit" documentTypeAlias="NewsPost" depth="5" propertyName="content" runat="server" /><

    However, i only get output if the newspost items are direct children to the newsarchive. Have I misunderstood something?

  • Ove Andersen 435 posts 1541 karma points c-trib
    Feb 03, 2012 @ 09:11
    Ove Andersen
    0

    Hmm.

    I will look into this one. It could be that it does not take depth into account when documentTypeAlias is specified.

  • Henri Toivonen 77 posts 111 karma points
    Feb 03, 2012 @ 09:52
    Henri Toivonen
    0

    Awesome. :) Let me know if you need testing help.

  • Andrea 1 post 21 karma points
    Feb 10, 2012 @ 17:14
    Andrea
    0

    Same problem: any update on fixing?

  • Dwayne A 97 posts 117 karma points
    Apr 18, 2012 @ 17:14
    Dwayne A
    0

    Hi,

    I have just solved this issue. I too have news feeds in date folders. Could only retrieve data from a single folder, and then, only if I linked directly to it: news/2012 /RssFeed. Depth did nothing at all to affect the output, until I removed the value from docTypeAlias, leaving it blank: documentTypeAlias="".

    For others searching for a solution, here is my template:

    <%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>
      <asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server"><umbraco:Macro Alias="[EyeCatch]RSSFeed" title="Nyheder RSS: Our Compnay Name" documentTypeAlias="" depth="2" propertyName="newsItem" runat="server"></umbraco:Macro>
    <% Response.ContentType = "application/rss+xml"; %>
    </asp:Content>
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies