OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Conference Information: adding custom items?

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.

Conference Information: adding custom items?

Postby Achim » Mon Jun 24, 2013 9:17 am

I would like to add custom items to the "Conference Information" in the navigation block. The "Conference Information" holds items like "Overview" and "Accommodation".
Is it possible to add custom items to this? How could it be done?

It is possible to add custom items to the "About" section for a conference in general. But it doesn't seem to be possible to add custom items for a specific scheduled conference.
Do I misunderstand something?

Cheers,
Achim
Achim
 
Posts: 8
Joined: Thu Oct 25, 2012 3:55 pm

Re: Conference Information: adding custom items?

Postby asmecher » Mon Jun 24, 2013 9:47 am

Hi Achim,

The easiest thing to do is modify the template responsible for generating the markup for the "Navigation" block. See plugins/blocks/navigation/block.tpl (and also http://www.smarty.net for more information on Smarty templates).

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

Re: Conference Information: adding custom items?

Postby Achim » Mon Jun 24, 2013 12:36 pm

Hi Alec,

Thanks for the quick answer.

I guess I would like to have the functionality of the accommodation section for the custom items. I assume the approach could be to copy the related files of accommodation to new names, to change all the variables/names in the files regarding accommodation to new ones. Is this feasible or a hard way?
If it would work, which files would need to be changed? I notice there are several files regarding accommodation.
Additionally, the file templates/manager/index.tpl seems to need the additions for the new items.

Any comment appreciated.

Cheers,
Achim
Achim
 
Posts: 8
Joined: Thu Oct 25, 2012 3:55 pm

Re: Conference Information: adding custom items?

Postby asmecher » Wed Jun 26, 2013 10:30 am

Hi Achim,

There will be the setup side, where these pages are edited, and the user side, where they're displayed. On the editor side:
  • pages/manager/ManagerAccommodationHandler.inc.php is the controller
  • pages/manager/index.php provides access to the controller
  • classes/manager/form/AccommodationSettingsForm.inc.php implements the settings form
  • templates/manager/accommodationSettings.tpl is the view for the settings form
On the user side:
  • pages/schedConf/SchedConfHandler.inc.php is the controller
  • templates/schedConf/accommodation.tpl is the view
The only other thing OTOH would be a couple of template modifications to provide links into the new administration page and the new user page, respectively.

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

Re: Conference Information: adding custom items?

Postby Achim » Thu Jun 27, 2013 12:40 am

Hi Alec,

Thanks a lot for the detailed answer.

Cheers,
Achim
Achim
 
Posts: 8
Joined: Thu Oct 25, 2012 3:55 pm


Return to OCS Conference Support and Discussion

Who is online

Users browsing this forum: No registered users and 1 guest