Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding "Updated By" to every page  Adding "Updated By" to every page
Previous
 
Next
New Post
3/30/2010 11:29 AM
 

I'm upgrading to DNN 5 and I've noticed that in the Admin view of the pages on my site there are two lines that state when the page was created and when it was last updated.

Is there anyway this can be pulled into a "normal" page. We've been adding "Page Last update on" manually up until now but if it could be automated that would make a difference to the 100s of pages on our Intranet!!

Thanks

 
New Post
3/30/2010 2:39 PM
 
unfortunately, there is no option to derive this information for a page correctly. The audit information stated in page settings refer to page settings only, not the content of any module on the page (while module audit only holds settings information as well per module, not content updates). And even if those information would be wired up from each module to the page, it wouldn't provide you with reasonable data in any case - consider a Google Analytics module shown on all pages: any update would reset the "last update" information for any page on your system. In this case it will hold as much information as placing a " display on the site.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/30/2010 3:05 PM
 

I thought this was interesting enough that I had a play.  Sebastian is right - I knew he would be.

It turns out to be pretty easy to get the module substitutions in the HTML module to recognise a new token and return it to the UI.  I probably wrote about 10 lines of code.   It took longer to work out where to put them than to do them, but if anyone wants them I'll have them about "for a while".

Exactly as Sebastian says, getting what the OP actually wants out of it is *much* harder.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
3/31/2010 3:26 AM
 

Thanks for the quick response guys and for the extra effort Richard! Shame there's no solution but thanks for investigating!

Cheers
James

 
New Post
3/31/2010 6:22 AM
 

You can get to the version edits of the HTML module. Every change in the TEXT/HTML module is stored in a version. You can build a report out of this with reports module e.g. ordered by change date. Then you have a pretty decent change list.

I seem to have lost the SQL, but here is the report:

< li>< a href="mydomain/tabid/[TabID]/[TabName]/default.aspx">< b>[TabName]< / b>< / a> on: < i>[LastModifiedOnDate]< /i>< br/ >in: [ModuleTitle], by: [DisplayName] < /li >

I added some spaces just to make sure the editor does not screw up the html.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding "Updated By" to every page  Adding "Updated By" to every page


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out