Copied to clipboard

Flag this post as spam?

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


  • Lee 1130 posts 3088 karma points
    Dec 08, 2009 @ 12:51
    Lee
    0

    Can You Double Check My Settings? I Cannot Get This To Work?

    Hi,

    Sorry to be a pain - I have just installed this package on 4.0.3 and just cannot get it to work?  Very simple setup

    - Content
      -- Home
      -- News (Alias: ArticleList)
    --- Article (Alias: Article)

    And these are my settings

    <?xml version="1.0" encoding="utf-8" ?>
    <settings>
      <folderProviders>
        <folderProvider alias="DateFolderProvider_Simple"
                assembly="/bin/AutoFolders"
                type="AutoFolders.Providers.DateFolderProvider">
          <property alias="MonthFormat">MM</property>
          <property alias="YearFormat">yyyy</property>
        </folderProvider>
    
        <folderProvider alias="DateFolderProvider_Full"
                assembly="/bin/AutoFolders" 
                type="AutoFolders.Providers.DateFolderProvider">
          <property alias="DayFormat">dd</property>
          <property alias="MonthFormat">MM</property>
          <property alias="YearFormat">yyyy</property>
          <property alias="DateField">MyReleaseDate</property>
        </folderProvider>
    
        <folderProvider alias="AlphaFolder"
               assembly="/bin/AutoFolders"
               type="AutoFolders.Providers.AlphaFolderProvider" >
          <property alias="UseUppercase">true</property>
        </folderProvider>
      </folderProviders>
    
      <autoFolders>
        <autoFolder docType="Article" 
                 folderProviderAlias="DateFolderProvider_Simple" 
                 folderDocType="ArticleList" 
                 rootFolders="//node[@level = 2]" 
                 truncatedFolderUrl="folder-1/folder-2/newsitems"
                 />
      </autoFolders>
    </settings>

    Can you tell me where I am going wrong? 

  • Lee 1130 posts 3088 karma points
    Dec 08, 2009 @ 12:52
    Lee
    0

    Hmmm sorry that should look like

    - Content
    -- Home
    -- Text Page
    -- News (Alias: ArticleList)
    --- Article (Alias: Article)

  • Chad Rosenthal 272 posts 474 karma points
    Dec 08, 2009 @ 14:12
    Chad Rosenthal
    0

    have you tried it without the rootfolders and the truncatedfolderurl?

    Also, I find that the first time I install it, it doesn't always work, so I reset IIS for the site and then it works.

    -Chad

  • Lee 1130 posts 3088 karma points
    Dec 08, 2009 @ 14:36
    Lee
    0

    I removed root and truncated and it works fine =) ... Thanks

Please Sign in or register to post replies

Write your reply to:

Draft