Copied to clipboard

Flag this post as spam?

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


  • Anthony Candaele 1197 posts 2049 karma points
    May 19, 2012 @ 20:23
    Anthony Candaele
    0

    layout scrambled after implementing CdLoader.cshtml

    Hi,

    I implemented the Client Depencency Framework using the CdLoader macro and ubootstrap.dll from the uBootstrap package:

    <umbraco:Macro CssPaths="style.css|flexslider-1.4.css" JsPaths="" IncludeDefaultPaths="true" Alias="CdLoader" runat="server"></umbraco:Macro>

    For some reason however the left column of my homepage is pushed to the bottom of the page:

    homepage before implementing Client Depency Framework:

     

    Layout homepage after implementing the Client Depency Framework:

     

    Anyone has an idea what's causing this problem?

    Thanks for your help,

    Anthony

  • Jorge Lusar 150 posts 489 karma points
    May 19, 2012 @ 23:51
    Jorge Lusar
    1

    Hi Anthony,

    I don't think you need the whole bootstrap library since the only thing you need is the class Html5StandardRenderer which can be found in the codeplex source.

    Also, I think this might be related to Client Dependency not parsing / merging properly the style sheets. Which version are you using?

    You might consider to upgrade to version 1.4 and do as Vicent did here. Hope it helps.

    Jorge

     

  • Anthony Candaele 1197 posts 2049 karma points
    May 20, 2012 @ 09:23
    Anthony Candaele
    0

    Hi Jorge,

    Thanks for your reply. I'm using uBootstrap 1.0.4 . The Umbraco version of my site is 4.7.2

    I will try your suggestion to only use the Html5StandardRenderer class. So I guess I have to compile this class in a web application project and then put the .dll in the bin folder of my Umbraco website?

    greetings,

    Anthony

  • Jorge Lusar 150 posts 489 karma points
    May 20, 2012 @ 13:11
    Jorge Lusar
    1

    Yes, that's right. You need to get the csharp class and add it to your project. You might also want to update the namespace so it matches yours.

    Regarding the version, I was talking about the Client Dependency version, which I believe it is 1.0.2.37148 but you might want to Upgrade it to version 1.4 . I believe that it is planned to be upgraded anyway for version 4.8 as you can see on http://umbraco.codeplex.com/workitem/30684

    Cheers,

    Jorge

Please Sign in or register to post replies

Write your reply to:

Draft