You are viewing the PKP Support Forum | PKP Home Wiki

Default Submission Types

OCS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, michael

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page. While these are OJS-specific, the OCS codebase is similar enough to OJS they should be of help. There is also an [url=http://pkp.sfu.ca/ocs_documentation[/url]OCS Documentation[/url] page with some more general documentation that might also be of interest.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OCS Conference Support and Discussion subforum; if you have a technical support question, try the OCS Technical Support subforum.

Default Submission Types

Postby BVBAccelerate » Wed May 05, 2010 7:48 am

When setting up a conference there are by default no submission types. In the case of one of our clients, they are going to be hosting many conferences, and will allow many special interest groups to host conferences through their organization. They will always have the same types of submissions and to simplify the process for them I'd like those 4 to show up as default every time someone schedules a conference.

I have currently altered my /classes/schedConf/SchedConfDAO.inc.php file so that whenever a conference is scheduled it will make the appropriate controlled vocab entries, but I also had to end up using regular SQL insert statements to create the submission types for the conference since I couldn't find out how to get the appropriate objects to work with. I tried, but was unable to attach the file in either .php .inc or .txt formats (any suggestions?). I can give a link to the conference site if people are interested in observing the functionality.

I'm just starting with OCS and although I am a experienced PHP programmer I'm not familiar with the smarty template system or how the OCS system is operating. Any suggestions on how I should start either learning the system or developing this functionality are very much appreciated!
Posts: 33
Joined: Mon Apr 19, 2010 2:01 pm

Re: Default Submission Types

Postby mcrider » Fri May 07, 2010 4:27 pm

Hi BVBAccelerate,

Are the SQL statements you're calling in SchedConfDAO not working? If you want to attach some code for us to look at, you should be able to just copy/paste it into a [code] block here.

You might find some help from the OJS technical reference (yes, its OJS, and yes its out of date--but most concepts still apply): http://pkp.sfu.ca/ojs/OJSTechnicalReference.pdf

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

Return to OCS Development

Who is online

Users browsing this forum: No registered users and 1 guest