You are viewing the PKP Support Forum | PKP Home Wiki

when date is changed...

Are you responsible for making OCS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, michael, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

when date is changed...

Postby choobin84 » Fri Sep 05, 2008 11:39 pm

how to echo a message in per page (e.g timelineform), when date is changed(e.g year or day is changed in first day of conference)?
i want print a statement, after the first day of conference, when the admin, changes the date.
Posts: 9
Joined: Mon Sep 01, 2008 11:16 pm

Re: when date is changed...

Postby jmacgreg » Mon Sep 08, 2008 8:52 am

Hi Choobin84,

You will have to make some template modifications to do this. OCS uses the Smarty template engine to display pages (http://www.smarty.net/). The quickest way to do what you want would be to hardcode whatever text you want to see in, for example, your timeline (templates/manager/timelineView.tpl); however, if you want to make changes that are self-updating, you will have to write some Smarty and/or PHP code. The Smarty site has a good amount of documentation; but you can let us know if you need further help.

Posts: 4191
Joined: Tue Feb 14, 2006 10:50 am

Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest