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.
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.
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.
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...
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.
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.
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
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
the main problem is: I don't know where the xslt file is!
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
I just want to modify default lastedits dashboard, don't want to install another package
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
I have looked at it, but no where to edit number!
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
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.
I don't know why naxRecords is hard coded. A nice soft, should give more options to user, should make it flexible.
I agree, nice to have the option. Raise a ticket? http://issues.umbraco.org/
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.
running v4.7.1, there doesnt appear to be a "MaxRecords" in the web.config?
Correct, as stated above this will be available from 4.10.0 onwards.
sorry! being an idiot, thought it was .1 doh
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.
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...
is working on a reply...