Copied to clipboard

Flag this post as spam?

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


  • Dwight Demmers 2 posts 32 karma points
    Apr 09, 2014 @ 15:36
    Dwight Demmers
    0

    Custom Tree doesn't show in release

    Hi! I'm new to forum so let me introduce myself first.
    My name is Dwight and I'm a front-end developer from the Netherlands. C# is not my daily dose of work.

    My problem

    I've created a custom section in Umbraco 6.0.1 called Newsletter and I've create a page where you can select pages that you want to embed in the newsletter. 

    When I first build the solution (in debug) everything works fine and the following is added to trees.config:  

    <add silent="false" initialize="true" sortOrder="0" alias="newsletterTree" application="newsletterApp" title="Newsletter" iconClosed=".sprTreeFolder" iconOpen=".sprTreeFolder_o" type="BackBone.loadNewsletterTree, App_Code.yjonfkqf" action="" />

    Now I have a custom tree called "Newsletter" containing one child called "Select events for mailing".
    When I rebuild the solution the child "Select events for mailing" disappears...... To fix this, I have to delete the tree from trees.config and rebuild again. Now the childnode has appeared again.
    I find this weird, but I can still manage with this workaround. However when I create a release build and upload this to the webserver, the childnode "Select events for mailing" also wont appear.... 
    Please help, I can't figure out why this is and how to fix this.
    Thanks in advance,
    Dwight
  • Shaun 248 posts 475 karma points
    Apr 15, 2014 @ 13:05
    Shaun
    100

    I find I have to touch the web.config in order to make changes appear. Not sure if that'll help?

  • Dwight Demmers 2 posts 32 karma points
    Apr 15, 2014 @ 13:17
    Dwight Demmers
    0

    Thanks Shaun,

    I touched the web.config and now everything works fine! :-)

    Dwight

Please Sign in or register to post replies

Write your reply to:

Draft