OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Visualization startDate - endDate

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
What to do if you have a technical problem with OCS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved. Please note that this FAQ is OJS-centric, but most issues are applicable to both platforms.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a development question, try the OCS Development subforum.

Visualization startDate - endDate

Postby anna_marini » Fri Sep 19, 2008 4:24 am

Hi all,
I noticed that if the startDate doesn't differ from the endDate, in the conference home page (and others pages) OCS displays the date repeated.. not so cute!
It' correct to modify the templates involved whit a smarty {if} for the variables startDate and endDate?
Thank's,
Anna
anna_marini
 
Posts: 42
Joined: Mon Mar 19, 2007 3:06 am

Re: Visualization startDate - endDate

Postby mcrider » Fri Sep 19, 2008 10:48 am

Hi Anna,

Yes, you can modify the templates and include an if statement to determine whether the start date and end date is equal. However, there are several places in OCS that show the dates for an event in such a fashion, so it might take a bit of time to hunt them all down (You can probably just do a file search on 'startDate'). On the home page, however, you can change the behavior by modifying templates/schedConf/index.tpl (at line 21). Let us know if you need any further help.

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: Visualization startDate - endDate

Postby anna_marini » Mon Sep 22, 2008 4:49 am

Hi Matt,
if someone else needs, these are the templates to modify:
- /template/schedConf/index.tpl (line 21)
- /template/conference/index.tpl (line 47)
- /template/conference/current.tpl (line 26)
- /template/conference/archive.tpl (line 25 )
- /templates/search/schedConfIndex.tpl (line 29)

Anna
anna_marini
 
Posts: 42
Joined: Mon Mar 19, 2007 3:06 am


Return to OCS Technical Support

Who is online

Users browsing this forum: No registered users and 1 guest