Copied to clipboard

Flag this post as spam?

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

  • Danny Gelens 6 posts 23 karma points
    Nov 28, 2009 @ 11:48
    Danny Gelens

    Problem with settings, please help

    Hi Chris,

    My site structure is as following:


    - Press

    -- News

    -- Events

    I wanted to use the Autofolder on the News and Events folder.

    I've installed autofolder on an clean installed Umbraco 4. After this i modified the config like this:

    <?xml version="1.0" encoding="utf-8" ?>
            <FolderProvider alias="Newsoverview"
                    rootFolder="//node[@level = 2]">
                <Property alias="FolderDocType">Newsoverview</Property>
                <Property alias="DayFormat">dd</Property>
                <Property alias="MonthFormat">MM</Property>
                <Property alias="YearFormat">yyyy</Property>
             <FolderProvider alias="AlphaFolder"
                    type="AutoFolders.Providers.AlphaFolderProvider" >
                <Property alias="FolderDocType">DateFolder</Property>
                <Property alias="UseUppercase">true</Property>
            <DocType alias="newsitem" folderProvider="newsoverview"/>

    When I add a newsitem in the News folder I dont get the 2009 > 11 > 28 > newsitem.

    If I create a newsfolder direct under the Home folder it works.

    I tried to change the settings but i can't get it fixed. Can you help me please



  • Chris Koiak 700 posts 2626 karma points
    Nov 28, 2009 @ 12:38
    Chris Koiak

    It's probably your 'rootFolder' setting, this restricts the parent (root) nodes that autofolders will operate with. If the parent of your new page does not match the xpath then autofolders will execute.

    In your structure changing the setting to rootFolder="//node[@level=3]" will probably work, but you coculd also use the docType alias ofyour parent nodes.

    The discussion that spawned this feature is


Please Sign in or register to post replies

Write your reply to: