Copied to clipboard

Flag this post as spam?

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


  • James Crowley 17 posts 38 karma points
    Sep 17, 2009 @ 00:56
    James Crowley
    0

    Problems getting started

    Hi Chris,

    I'm also having problems getting this working - but I'm also brand new to Umbraco so I'm probably missing something obvious!

    1. I've installed the package!
    2. I've modified the config so that it looks like this:

    <?xml version="1.0" encoding="utf-8" ?>
    <Settings>
        <FolderProviders>
            <FolderProvider alias="DateFolder"
                    assembly="/bin/AutoFolders"
                    type="AutoFolders.Providers.DateFolderProvider">
                <Property alias="FolderDocType">DateFolder</Property>
                <Property alias="DayFormat">dd</Property>
                <Property alias="MonthFormat">MM</Property>
                <Property alias="YearFormat">yyyy</Property>
            </FolderProvider>  
        </FolderProviders>
        <DocTypes>
            <DocType alias="NewsEventsList" folderProvider="DateFolder"/>
        </DocTypes>
    </Settings>

    3. I've got a DateFolder doc type, which is allowed to appear within the NewsEventsList type. And DateFolder is allowed to contain the doc types that can sit within NewsEventsList.

    but nothing happens when I create a new piece of content within a NewsEventsList doc type? (I'm running the latest version of Umbraco, with IIS 7)

    What am I missing??

    Many thanks!

    James

  • Chris Koiak 700 posts 2626 karma points
    Sep 17, 2009 @ 10:58
    Chris Koiak
    0

    Hi James,

    Is the NewsEventList the doctype that should be auto organised into folders? Or is it the parent doctype?

    The DocType specified in the config should be the doctype of the new page that you want organisted (e.g. BlogPost, NewsDetail, EventItem) and not the listing page.

    Also, double check the dll is present in the bin folder.

    Cheers,

    Chris

  • James Crowley 17 posts 38 karma points
    Sep 17, 2009 @ 11:08
    James Crowley
    0

    Ahah. Thanks Chris - that's what I'd misunderstood! I thought the doctype needed to be the parent doctype.

    Cheers

    James

Please Sign in or register to post replies

Write your reply to:

Draft