Copied to clipboard

Flag this post as spam?

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


  • Janet Kirklen 102 posts 212 karma points
    Aug 08, 2014 @ 17:51
    Janet Kirklen
    0

    Razor Script Version?

    Have you thought about creating a Razor version of your XSLT script?   I think you'd have lots of people more interested in extending this package since Razor is easier to work with.  

    I have a client that would like to see more of a change history than just changes from today and yesterday.  My XSLT is pretty rusty these days.

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Aug 09, 2014 @ 00:42
    Chriztian Steinmeier
    0

    Hi Janet,

    I actually haven't given that much thought — but I'd be happy to include a Razor version if someone creates one. It should be very simple to use a .cshtml file for the rendering instead - just switch the "Latest Edits" macro from using the .xslt file to using a .cshtml file instead.

    Let me know how it goes if you try it!

    /Chriztian

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Aug 09, 2014 @ 17:52
    Bjarne Fyrstenborg
    0

    Hi Chriztian

     

    A bit off topic: Perhaps it should be rewritten for a Umbraco 7.

    Right now it works with the usercontrol is wrapped inside an iframe and loading it in a dashboard which in Umbraco 7 at the moment display multiple scrollbars.

     

    /Bjarne

  • Chriztian Steinmeier 2800 posts 8791 karma points MVP 8x admin c-trib
    Aug 10, 2014 @ 12:23
    Chriztian Steinmeier
    0

    Hi Bjarne,

    I agree, there should be a better version for Umbraco 7; I haven't done enough work in v7 to properly do this myself, but I'd be happy to see a pull request or similar from anyone who's had a little more experience in doing custom dashboards for Umbraco 7.

    /Chriztian

  • Bjarne Fyrstenborg 1286 posts 4060 karma points MVP 8x c-trib
    Aug 10, 2014 @ 13:07
    Bjarne Fyrstenborg
    0

    I think there could be created a view like in the blogimporter dashboard in Articulate package: https://github.com/Shandem/Articulate/blob/master/Articulate.Web/App_Plugins/Articulate/BackOffice/Dashboards/blogimporter.html

    But I'm not sure if you can combine it with xslt/razor.. or call some .NET methods in the controller..

    /Bjarne

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies