Copied to clipboard

Flag this post as spam?

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


  • Mads Krohn 211 posts 504 karma points c-trib
    Nov 28, 2011 @ 09:17
    Mads Krohn
    0

    "Allowed on root node" doesn't work

    Just tried out your package, love the idea!

    Though, when I try to mark a document type as allowed on the root node, the value of the checkbox isnt persisted. This makes it impossible to create content and media at the root node with the package installed. I hope you can get a fix out soon :)

    Kind regards,
    Mads

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 28, 2011 @ 09:25
    Jeroen Breuer
    0

    What version of Umbraco are you using? I tested it on 4.7.0 and there it works.

    Jeroen

  • Mads Krohn 211 posts 504 karma points c-trib
    Nov 28, 2011 @ 09:39
    Mads Krohn
    0

    Tested it on a 4.7.1. Does it persist the value even after you reload the document type? I can't get it to do that.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Nov 28, 2011 @ 09:48
    Jeroen Breuer
    0

    Hmm I only saved that it was allowed, than went to the root folder and it was allowed. Didn't open the documenttype afterwards. I know 4.7.1 has a different version of jQuery. No idea if that could have any effect. Can you test this package on a clean 4.7.0 to see if it works there?

    Jeroen

  • gilad 185 posts 425 karma points
    Nov 28, 2011 @ 10:44
    gilad
    0

    work fine for me in 4.7.1

    thanks.

    great package

  • Mads Krohn 211 posts 504 karma points c-trib
    Nov 28, 2011 @ 11:01
    Mads Krohn
    0

    Just did a test on a clean 4.7.0, same problem. But it sounds like I must be doing something wrong somewhere, weird.
    I wonder, could it be an issue with permissions somewhere? 

    Did a quick video showing the issue:
    http://screencast.com/t/OKsW9F8gB1 

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 28, 2011 @ 13:47
    Tom Fulton
    0

    Hi Mads,

    What browser & version are you using?  I'll see if I can reproduce here.

    Also, the package needs write permissions to /config/StructureExtensions.config, that's where it keeps all your settings.  Can you verify the permissions?

    Thanks,
    Tom

  • Mads Krohn 211 posts 504 karma points c-trib
    Nov 28, 2011 @ 14:07
    Mads Krohn
    0

    Hey Tom

    Been testing with both Chrome (15.0.874.121) and FF (8.0.1) without luck.
    The /config/StructureExtensions.config doen't get updated when I save something in the Umbraco ui, so that might be the problem, though I tried to give write access to as many services and users I could think of, yet still no luck.

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 28, 2011 @ 14:30
    Tom Fulton
    0

    Strange, can't seem to reproduce here in Chrome or FF in 4.7.0 or 4.7.1.

    Actually if you don't have write permissions you should get an exception in the UI, so that shouldn't be the issue.

    Curious, if you set the Default Doc Type only, does that update the config file?

    Also just out of curiosity, can you try setting the .config file manually and see if it works?  Note you need to touch your web.config to apply the changes:

    <StructureExtensions>
        <DocTypes>
            <add id="1044" allowedAtRoot="true" /> <!-- change 1044 to ID of your doctype -->
        </DocTypes>
    </StructureExtensions>

    -Tom

  • Mads Krohn 211 posts 504 karma points c-trib
    Nov 28, 2011 @ 15:01
    Mads Krohn
    0

    Ok, figured it out. For some reason, the two previous installs didn't add the proper config section to the web.config (thinking about it, I think I might know why, totally my own fault). Just did a clean 4.7.1 install and got the section added and thus everything is working now. Sorry for the trouble and thank you all for the fast responses! #h5yr

Please Sign in or register to post replies

Write your reply to:

Draft