OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Setting dates for a single day conference/workshop

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.

Setting dates for a single day conference/workshop

Postby sasutton » Thu Apr 18, 2013 9:35 am

I have a one day conference and am having trouble with dates. In the Conference Timeline and Information you have to set the First and Last days of a conference. Then, it shows those dates in the header. But if you have a single day meeting (i.e., First/Last the same), the header nevertheless shows both dates (the same) separated by a hyphen. I am likely missing something in the setup, but is there a way to designate a single day and only have the single date in the header? I am prepared to be embarrassed by the simplicity/obviousness of the answer.

Stuart

Repost: Mistakenly posted in OJS forum
sasutton
 
Posts: 67
Joined: Thu Dec 07, 2006 8:19 pm
Location: Seattle, Washington

Re: Setting dates for a single day conference/workshop

Postby asmecher » Thu Apr 18, 2013 9:49 am

Hi Stuart,

Actually, there is no option to correct that. My recommendation: open templates/schedConf/index.tpl and find the code that displays the dates...
Code: Select all
{if $schedConf->getSetting('startDate')}<h2>{$schedConf->getSetting('startDate')|date_format:$dateFormatLong} &ndash; {$schedConf->getSetting('endDate')|date_format:$dateFormatLong}</h2>{/if}
Add a conditional that only includes the second date if it's different from the first...
Code: Select all
{if $schedConf->getSetting('startDate')}
        {assign var=startDate value=$schedConf->getSetting('startDate')|date_format:$dateFormatLong}
        {assign var=endDate value=$schedConf->getSetting('endDate')|date_format:$dateFormatLong}
        <h2>{$startDate}{if $startDate != $endDate} &ndash; {$endDate}{/if}</h2>
{/if}
I haven't tested this code, so please report back with your results.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby sasutton » Thu Apr 18, 2013 10:17 am

Hey Alec, our OJS and OCS instances are now hosted through the PKP hosting service at Simon Fraser. I'll submit a ticket, point them to your post and report back.

Stuart
sasutton
 
Posts: 67
Joined: Thu Dec 07, 2006 8:19 pm
Location: Seattle, Washington

Re: Setting dates for a single day conference/workshop

Postby asmecher » Thu Apr 18, 2013 10:29 am

Hi Stuart,

In that case, best to go through the ticketing system -- it's often more responsive -- but please do report back here afterwards.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby asmecher » Fri Apr 19, 2013 3:06 pm

asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby spekala » Wed Sep 24, 2014 5:56 am

Hi,

I have a question related to this topic. I am trying to set up a single day conference in the Conference Timeline. However, when I set the first and last day of the conference both as Nov 21 and click Save, it automatically changes the last day of the conference to Nov 22. Is there any way to make both days show the same date?

Thanks,
Shayna
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am

Re: Setting dates for a single day conference/workshop

Postby asmecher » Wed Sep 24, 2014 8:36 am

Hi Shayna,

What version of the software are you using?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby spekala » Wed Sep 24, 2014 8:52 am

Hi Alec,

We are running version 2.3.6.0.

Thanks,
Shayna
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am

Re: Setting dates for a single day conference/workshop

Postby asmecher » Wed Sep 24, 2014 9:26 am

Hi Shayna,

I believe you might be hitting this bug (#8861) -- try applying this patch and see if it resolves the problem.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby spekala » Thu Sep 25, 2014 10:18 am

Hi Alec,

Okay, we applied the patch but unfortunately it didn't fix the problem. Do you have any other suggestions?

Thanks,
Shayna
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am

Re: Setting dates for a single day conference/workshop

Postby asmecher » Fri Sep 26, 2014 9:35 am

Hi Shayna,

Are you seeing the unexpectedly changed date on the public website ("Current Conferences"), or just on the timeline form?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 9072
Joined: Wed Aug 10, 2005 12:56 pm

Re: Setting dates for a single day conference/workshop

Postby spekala » Mon Sep 29, 2014 5:30 am

Hi Alec,

The unexpected date change appears in the Timeline only. On the description on the Current Conferences page, it says November 21, 2014 – November 21, 2014 (now that I look at this it seems odd to have a date range here instead of a single date). From the Current Conference page, when I click View Details, the date is correctly displayed as November 21, 2014 in the header.

Best,
Shayna
spekala
 
Posts: 15
Joined: Thu Jan 23, 2014 7:57 am


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: Google [Bot] and 2 guests