Copied to clipboard

Flag this post as spam?

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


  • Arun 5 posts 25 karma points
    Nov 07, 2011 @ 02:17
    Arun
    0

    Problem in creating custom section.

    i have started to create custom section based  on "www.geckonewmedia.com/.../how-to-create-a-custom-section-in-umbraco-4" article. but the custom section is not appearing for me. i have cleared the cache and tried but still its not coming. I also noticed that there are some more entries other than default sections in “umbracoApp” and “[umbracoAppTree]” table, those are also not appeared. Please help me to get this working for me.. Thanks.

  • Markus Johansson 1936 posts 5864 karma points MVP 2x c-trib
    Nov 07, 2011 @ 07:47
    Markus Johansson
    0

    What did you add to the umbracoApp-table?

  • Arun 5 posts 25 karma points
    Nov 07, 2011 @ 10:16
    Arun
    0

    Hi Thanks for the reply,

    I ran the below query to insert into UmbracoApp & umbracoAppTree table

    INSERT INTO [umbracoApp]([sortOrder],[appAlias],[appIcon],[appName])
    VALUES (9,‘custom’,‘custom.gif’,‘custom’)

    INSERT INTO [umbracoAppTree]([treeSilent],[treeInitialize],[treeSortOrder],[appAlias],[treeAlias],[treeTitle],[treeIconClosed],[treeIconOpen],[treeHandlerAssembly],[treeHandlerType])     VALUES(0,1,0,‘custom’,‘custom’,‘custom’,‘.sprTreeFolder’,‘.sprTreeFolder_o’,‘CustomUmbracoSection’,‘Trees.LoadCustomTree’)

     

  • Bert 128 posts 251 karma points
    Nov 07, 2011 @ 10:35
    Bert
    0

    You probably didn't add the section to your user. You should allow your user to see the section, just like the default umbraco ones need permission. Or your image isn't displaying. Try is with a standard icon :)

  • Arun 5 posts 25 karma points
    Nov 07, 2011 @ 10:44
    Arun
    0

     

    Hi,

    Thanks for your reply, I have used the below query to map the section with user

    INSERT INTO [umbracoUser2app]([user],[app])VALUES(0,'custom').

    i also checked with the image and tried with standard icon. still its not working..

     

  • Bert 128 posts 251 karma points
    Nov 07, 2011 @ 10:58
    Bert
    0

    restarted IIS? Logout/login?

  • Arun 5 posts 25 karma points
    Nov 07, 2011 @ 12:57
    Arun
    0

    Yes, I did all. but nothing is working.. Is there any other table to control these sections?

     

  • Arun 5 posts 25 karma points
    Nov 07, 2011 @ 14:28
    Arun
    0

    Yes, Its working now. The problem is with the section user mapping. Its got working after i inserted the entry for my userid in umbracoUser2app table. Thank you so much for all ur support.

Please Sign in or register to post replies

Write your reply to:

Draft