Default Submission Types

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

Moderators: jmacgreg, michael

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 33
Joined: Mon Apr 19, 2010 2:01 pm

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/ 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: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

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):


Return to “OCS Development”

Who is online

Users browsing this forum: No registered users and 3 guests