Copied to clipboard

Flag this post as spam?

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


  • sun 403 posts 395 karma points
    Sep 12, 2012 @ 08:41
    sun
    0

    How to change items of last edits dashboard

    Last edits dashboard only show 5 items I want to change it to 30 how to do it

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Sep 12, 2012 @ 11:17
    Chriztian Steinmeier
    0

    Hi Sun,

    You might want to have a look at the Latest Edits Dashboard package - it does something very similar, but it's implemented with an XSLT macro so you can change the output to suit your setup.

    /Chriztian

  • sun 403 posts 395 karma points
    Sep 12, 2012 @ 11:24
    sun
    0

    the main problem is: I don't know where the xslt file is!

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Sep 12, 2012 @ 11:28
    Chriztian Steinmeier
    0

    Hi Sun,

    Those are two separate things - the "Last Edits" tab in the Content section is (very likely) not implemented with XSLT.

    The "Latest Edits Dashboard" gets installed into the Developer section, but the XSLT file gets placed in the xslt/ folder with all the other macro XSLT files.

    /Chriztian

  • sun 403 posts 395 karma points
    Sep 12, 2012 @ 11:32
    sun
    0

    I just want to modify default lastedits dashboard, don't want to install another package

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Sep 12, 2012 @ 11:39
    Chriztian Steinmeier
    0

    Allright,

    Well - I just had a look in config/Dashboard.config - the "Last Edits" tab is using this User Control: /umbraco/dashboard/latestEdits.ascx so I suggest you take a look in that then, and see if it's easy to change.

    /Chriztian

  • sun 403 posts 395 karma points
    Sep 12, 2012 @ 11:50
    sun
    0

    I have looked at it, but no where to edit number!

  • Chriztian Steinmeier 2798 posts 8788 karma points MVP 8x admin c-trib
    Sep 12, 2012 @ 12:00
    Chriztian Steinmeier
    0

    Well, then I'm sorry, but I guess you're out of luck - I have no idea how to get to the CodeBehind file (I guess you can't?) without downloading the Umbraco source files and editing the code, then compiling new DLL's.

    Maybe someone else will chip in with a solution...

    /Chriztian

  • Lee Kelleher 4024 posts 15833 karma points MVP 13x admin c-trib
    Sep 12, 2012 @ 12:12
    Lee Kelleher
    0

    Hi Sun,

    I took a look at the core source - looks like the 'maxRecords' number is hard-coded to 5 in the code-behind.  Options are to either create your own dashboard control or hack/re-compile the core.  Making your own dashboard control is a much better option here.

    I'd take a look at Chriztian's Latest Edits Dashboard ... it is very good - and pretty!

    Cheers, Lee.

  • sun 403 posts 395 karma points
    Sep 12, 2012 @ 12:18
    sun
    0

    I don't know why naxRecords is hard coded. A nice soft, should give more options to user, should make it flexible.

  • Lee Kelleher 4024 posts 15833 karma points MVP 13x admin c-trib
    Sep 12, 2012 @ 12:24
    Lee Kelleher
    0

    I agree, nice to have the option.  Raise a ticket? http://issues.umbraco.org/

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Sep 13, 2012 @ 18:44
    Sebastiaan Janssen
    1

    U4-843 Fixed in changeset 29d59f407c36 - In v4.10 you'll be able to change "MaxRecords" in your web.config to show as many last edits as you want.

  • Phil Crowe 192 posts 256 karma points
    Oct 22, 2012 @ 12:59
    Phil Crowe
    0

    running v4.7.1, there doesnt appear to be a "MaxRecords" in the web.config?

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Oct 22, 2012 @ 13:00
    Sebastiaan Janssen
    0

    Correct, as stated above this will be available from 4.10.0 onwards.

  • Phil Crowe 192 posts 256 karma points
    Oct 22, 2012 @ 13:01
    Phil Crowe
    0

    sorry! being an idiot, thought it was .1 doh

  • Sebastiaan Janssen 5058 posts 15520 karma points MVP admin hq
    Oct 22, 2012 @ 13:03
    Sebastiaan Janssen
    0

    Hehe, no worries. Very easy to make your own dashboard control that does whatever you want though, so shouldn't be much of a problem in earlier versions.

  • Phil Crowe 192 posts 256 karma points
    Oct 22, 2012 @ 13:16
    Phil Crowe
    0

    Ye, I just duplicated this http://hg.apwll.me/umbraco-4/src/ffc34b23e1a0/umbraco/presentation/umbraco/dashboard/LatestEdits.ascx.cs cant seem to get any older changes out of it though, even after i change the MaxRecords number... 

Please Sign in or register to post replies

Write your reply to:

Draft