Copied to clipboard

Flag this post as spam?

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


  • Aileen 59 posts 79 karma points
    Jul 06, 2011 @ 17:32
    Aileen
    0

    Files Provider

    Hi

    Does anyone know if there is anyway that you can add additional folders to the Folder Provider? I have a custom folder called /core/css which contains some css files which I do not want to be editable within the cms. The only folders which are listed are:

    • ~/media/assets
    • ~/bin
    • ~/usercontrols/website
    • ~/usercontrols/dashboards

    It would be cool if I could just add more folders to this list. Do I need to write my own Folder Provider?

    Thanks,

    Aileen

  • Per Ploug 865 posts 3491 karma points MVP admin
    Jul 11, 2011 @ 10:28
    Per Ploug
    0

    Hi Aileen

    You can do that in the /config/courier.config file under 

    <folderItemProvider>
                <include>
                    <folder>~/media/assets</folder>
                    <folder>~/bin</folder>
                    <folder>~/usercontrols/website</folder>
                    <folder>~/usercontrols/dashboards</folder>
                </include>
            </folderItemProvider>
  • Aileen 59 posts 79 karma points
    Jul 11, 2011 @ 10:48
    Aileen
    0

    Awesome - thanks Per

Please Sign in or register to post replies

Write your reply to:

Draft