Copied to clipboard

Flag this post as spam?

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


  • Theo Paraskevopoulos 33 posts 122 karma points
    Oct 31, 2012 @ 23:34
    Theo Paraskevopoulos
    0

    Back-office problem when compiling Project Belle

    I've cloned and built Belle UI from BitBucket using VS2012 on Win 8. All went well until we get to the the back-office screen and no design renders.

    The concole reports 404 for all CSS / JS files, which is correct as the href is set to the wrong location (/umbraco_client/ as opposed to /umbraco/):

    <link href="/umbraco_client/lib/bootstrap/css/bootstrap.min.css?cdv=40" type="text/css" rel="stylesheet">

    In the code, the above corresponds to this Client Dependency:

     

    <umb:CssInclude ID="CssInclude1" runat="server" FilePath="lib/bootstrap/css/bootstrap.min.css" PathNameAlias="UmbracoClient" Priority="0" />
    

    So for some reason the PathNameAlias appears to comes through incorrectly, resolving PathNameAlias to "umbraco_client" as opposed to "umbraco".

    Anyone has any clues or hints on how to fix this?

    Thanks muchly
    Theo

     

  • Per Ploug 865 posts 3491 karma points MVP admin
    Oct 31, 2012 @ 23:44
    Per Ploug
    1

    The Umbraco Client folder path is different in the belle project, so we dont use umbraco_client but /umbraco/client instead so we can slowly migrate over the needed files only. 

    To use that alternative folder, you need to change the web.config so it includes the appsetting key: 

    <add key="umbracoClientPath" value="~/umbraco/client"/>
  • Theo Paraskevopoulos 33 posts 122 karma points
    Nov 01, 2012 @ 00:03
    Theo Paraskevopoulos
    0

    That worked - thanks for extra speedy response, Per

    Bit of a gotcha though... should it be noted in the readme or somewhere?

    Thanks again, diving straight into the glorious new UI now

    Theo

Please Sign in or register to post replies

Write your reply to:

Draft