OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Advanced Conference Discussion - what kind of plugin?

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.

Advanced Conference Discussion - what kind of plugin?

Postby claywhipkey » Fri Apr 03, 2009 8:07 am

Hello,

I am hoping to add some additional ways to aggregate discussion of the conference as well as presentations. This would be along the lines of including a Twitter feed based on a specific #hashtag, importing blog posts with a specific category/tag, and perhaps even showing Flickr photos based on a specific tag.

My question is what type of plugin would be the right place to put that? It would seem to be narrowed down to either "blocks" or "generic", although I don't actually know what either of those really mean. I want to develop it as a plugin so it could be contributed to the community as well as not messing up the core application.

Thanks for any input.
claywhipkey
 
Posts: 5
Joined: Fri Apr 03, 2009 7:56 am

Re: Advanced Conference Discussion - what kind of plugin?

Postby jmacgreg » Fri Apr 03, 2009 4:08 pm

Hi claywhipkey,

If it's a sidebar-type block, I'd recommend going the block plugin route; if you want the info to appear elsewhere, of course, it'd have to be a generic plugin. A couple of general notes:

* If it's just a matter of displaying an HTML/Javascript code snippet, you may want to look at Juan's Custom Block Manager plugin: viewtopic.php?f=28&t=3459. You should be able to download and install that plugin; create a custom block; and add your code to the block contents. I haven't used it myself yet, but give it a shot.

* Matt just wrote a block plugin howto: http://pkp.sfu.ca/wiki/index.php/Writing_a_Block_Plugin. This should give you a much better idea on what block plugins do; how they work; and how to put your own together.

* Regardless of which way you go about implementing this, we'd love to see the results! Please let us know how it goes.

Cheers,
James
jmacgreg
 
Posts: 4186
Joined: Tue Feb 14, 2006 10:50 am


Return to OCS Development

Who is online

Users browsing this forum: No registered users and 1 guest