OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



parallel sessions end times

Are you a Director, Presenter, Reviewer or Conference Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael

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.

parallel sessions end times

Postby vwzombie » Sat Jun 04, 2011 5:37 pm

Hi
We are running parallel sessions which have the same start time but different end times. In the conference schedule the sessions are displayed by start time but the sessions are grouped under one end time rather then under the different end times that have been allocated. Is there any way to display the parallel sessions with the different end times?
Thanks
vwzombie
 
Posts: 6
Joined: Thu Mar 24, 2011 3:25 pm

Re: parallel sessions end times

Postby vwzombie » Tue Jun 07, 2011 7:50 am

Hi
Not sure now that I posted this on the correct forum but I have resolved this problem by adding
Code: Select all
{assign var=lastEndTime value=0}

changing
Code: Select all
{if $lastStartTime|date_format:$datetimeFormatShort != $startTime|date_format:$datetimeFormatShort}

to
Code: Select all
{if $lastStartTime|date_format:$datetimeFormatShort != $startTime|date_format:$datetimeFormatShort || ($showEndTime && $lastEndTime|date_format:$datetimeFormatShort != $item->getEndTime()|date_format:$datetimeFormatShort)}

and adding
Code: Select all
   {if $showEndTime}
      {assign var=lastEndTime value=$item->getEndTime()}
      {/if}

after
Code: Select all
{assign var=lastStartTime value=$startTime}
      


in \templates\schedConf\schedules\expanded.tpl
Not sure if this is the best or correct way to do it but it seems to work - if anyone knows different please let me know :)
Cheers
Jad
vwzombie
 
Posts: 6
Joined: Thu Mar 24, 2011 3:25 pm


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest