Copied to clipboard

Flag this post as spam?

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


  • AlexR 39 posts 61 karma points
    Oct 15, 2010 @ 12:27
    AlexR
    0

    DateFolder creates forders under first node.

    I have next tree

    Main (mainPage)
      News (news)
        Arch (newsFolder)

    And I need next tree for news archive

    Main (mainPage)
      News (news)
        Arch (newsFolder)
          Year (newsFolder)
            Month (newsFolder)
              News1 (newsItem)
              News2 (newsItem)
              News3 (newsItem)

    I configure web.config like next

      </appSettings>
        <add key="itemDocType" value="newsItem" />
        <add key="itemDateProperty" value="date" />
        <add key="dateFolderDocType" value="newsFolder" />
      </appSettings>

    And DateFolder creates folders under Main page like next

    Main (mainPage)
      News (news)
        Arch (newsFolder)
      Year (newsFolder)
        Month (newsFolder)
          News1 (newsItem)
          News2 (newsItem)
          News3 (newsItem)

     

    Where I wrong? May be I should create newsArch doc type for news archive?

    Main (mainPage)
      News (news)
        Arch (newsArch)
          Year (newsFolder)
            Month (newsFolder)
              News1 (newsItem)
              News2 (newsItem)
              News3 (newsItem)

  • Stefan Kip 1614 posts 4131 karma points c-trib
    Oct 17, 2010 @ 21:45
    Stefan Kip
    0

    On which node are you creating the newsItem? Arch?

Please Sign in or register to post replies

Write your reply to:

Draft