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
This forum is meant for general questions about the usability of OCS from an everyday user's perspective: conference managers, presenters, and directors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OCS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OCS:

1. Read the documentation. We've written documentation to cover from OCS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OCS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OCS Technical Support subforum; if you have a development question, try the OCS Development subforum.

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

cron