Skip to main content

developerWorks >  WebSphere  >  Forums  >  IBM WebSphere Portal Beta  >  developerWorks

Add "Last Updated on : Date" on Portal Theme    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 1 - Pages: 1 - Last Post: Nov 2, 2009 10:18 AM Last Post By: DavidNixon Threads: [ Previous | Next ]
ADIGA

Posts: 18
Registered: Feb 21, 2008 04:50:13 AM
Add "Last Updated on : Date" on Portal Theme
Posted: Oct 20, 2009 06:53:08 AM
Click to report abuse...   Click to reply to this thread Reply
I'm trying to adad a "Last Updated on : some date" in the footer of portal page, I've tried to
use javascript "document.lastModified" but this will work with static HTML pages, but with Themes,
if you change the date of your machine and then refresh the page, the current date on your machine.

On what exactly we can depend in case of portals to implement this? Any specific date to get?
is there anything related to "Defaul.jsp" and when is was last compiled? is there anything ready
provided through the portal?

thanks in advance
Yahya
DavidNixon

Posts: 174
Registered: Jan 30, 2007 02:45:38 PM
Re: Add "Last Updated on : Date" on Portal Theme
Posted: Nov 02, 2009 10:18:41 AM   in response to: ADIGA in response to: ADIGA's post
Click to report abuse...   Click to reply to this thread Reply
For the Web Content Management content have a few ways to get the last modified date of the content being rendered. The easiest is one of our tags rendered within the WCM page e.g. <historycmpnt type="content" context="current" field="lastmodifieddate">

The bigger problem when it comes to WCM is to deciding which date is the significant date to report when you are rendering a number of content items on the page. Equally the modified dates of the design elements might be significant.

Same problem with a portal page with multiple portlets. If the page has portlets that you control maybe you can use a last update that the portlets generate.
 Tags
Help

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

 

MoreLess 


Point your RSS reader here for a feed of the latest messages in all forums