OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Bootstrappish Theme

The Plugin Gallery is a venue for users of PKP software to share their plugins.

Moderators: jmacgreg, michael, John

Forum rules
If you post a plugin here, please include information on which versions of which applications it is compatible with. Attach a tarball of the plugin (e.g. tar cvzf myPlugin-0.1.tar.gz plugins/generic/myPlugin). Thanks for contributing!

Bootstrappish Theme

Postby tikidream » Tue Aug 20, 2013 6:51 am

The latest bootstrappish theme is at https://github.com/cul/cdrs-bootstrappish/
This theme, developed by the Center for Digital Research and Scholarship at Columbia University applies bootstrap styling and scripts to OJS/OCS without modifying core. This is accomplished through PKP functions to include stylesheets and javascript and using LESS files to remap bootstrap classes to OJS/OCS elements.
tikidream
 
Posts: 6
Joined: Mon Apr 08, 2013 11:48 am

Re: Bootstrappish Theme

Postby angelspatial » Mon Aug 26, 2013 1:52 pm

I am really excited to try and implement this, but when I do I get an error.

PHP Fatal error: Call to undefined method TemplateManager::addJavaScript() in C:\inetpub\wwwroot\projects\website\plugins\themes\bootstrappish\BootstrappishThemePlugin.inc.php on line 56

I can't seem to figure out how to fix this. Is anyone else having this problem?
angelspatial
 
Posts: 3
Joined: Mon Aug 26, 2013 1:49 pm

Re: Bootstrappish Theme

Postby asmecher » Mon Aug 26, 2013 2:05 pm

Hi angelspatial,

What version of OJS are you using?

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

Re: Bootstrappish Theme

Postby angelspatial » Mon Aug 26, 2013 2:13 pm

Sorry, I meant to add that:

OCS 2.3.5

Thanks...
angelspatial
 
Posts: 3
Joined: Mon Aug 26, 2013 1:49 pm

Re: Bootstrappish Theme

Postby asmecher » Mon Aug 26, 2013 2:50 pm

Hi angelspatial,

This won't work with OCS without some adaptation. However, porting that code to OCS won't be a large amount of work, if you're handy with PHP.

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

Re: Bootstrappish Theme

Postby angelspatial » Tue Aug 27, 2013 8:22 am

Oh ok... I am pretty handy with it, but I am still relatively new to the OCS framework.

It mentioned OCS in the original description so I figured I would give it a try.

Thanks!
angelspatial
 
Posts: 3
Joined: Mon Aug 26, 2013 1:49 pm

Re: Bootstrappish Theme

Postby mgsolipa » Thu Oct 10, 2013 7:33 am

Hi @angelspatial and @asmecher,

I solved this issue adding the missing function and now my OCS v2.3.5 is up and runing. If is useful for you, please review the file BootstrappishThemePlugin.inc.php at https://github.com/mgsolipa/cdrs-bootstrappish.
mgsolipa
 
Posts: 1
Joined: Thu Oct 10, 2013 7:20 am

Re: Bootstrappish Theme

Postby asmecher » Thu Oct 10, 2013 7:53 am

Hi mgsolipa (and all),

I haven't tested the theme yet, but the code looks good -- I just posted one comment on github. By the way, we're just working on a new theming system that will be released in OJS 3.0; we'd love to have you in on the discussion at http://pkp.sfu.ca/support/forum/viewtopic.php?f=9&t=9381&start=15.

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

Re: Bootstrappish Theme

Postby tikidream » Mon Oct 14, 2013 1:31 pm

Apologies on the delay in my reply. Yes, getting it cross-compatible is important. I'm going to give the additions on github a test run on some of our instances.

I'll hop in to the discussion on that post.

Thanks!
tikidream
 
Posts: 6
Joined: Mon Apr 08, 2013 11:48 am

Re: Bootstrappish Theme

Postby flyhalf » Tue Sep 09, 2014 4:35 pm

Has anyone used this responsive theme lately? Are there any examples out there? Does it work with 2.4.5?

Thank you!
flyhalf
 
Posts: 3
Joined: Sun Jan 26, 2014 2:42 pm

Re: Bootstrappish Theme

Postby roball » Sun Sep 28, 2014 3:48 am

Yes, I am successfully using https://github.com/mgsolipa/cdrs-bootst ... master.zip (with last commit from 2013-10-10) with OCS 2.3.6 at https://ocs.icc-services.at/icc
roball
 
Posts: 30
Joined: Wed Mar 21, 2012 1:43 pm

Re: Bootstrappish Theme

Postby Garant » Sun Sep 28, 2014 4:50 am

Hi roball,
how do you install this theme? It doesn't contain an installation instructions and doesn't install through plugin installation interface.
Garant
 
Posts: 217
Joined: Wed May 30, 2012 8:53 am

Re: Bootstrappish Theme

Postby roball » Sun Sep 28, 2014 5:03 am

Hi Garant,
Code: Select all
[root@server ~]# cd /var/www
[root@server www]# wget https://github.com/mgsolipa/cdrs-bootstrappish/archive/master.zip
[root@server www]# mv master.zip pkp-bootstrappish-master_20131010.zip
[root@server www]# chmod 600 pkp-bootstrappish-master_20131010.zip
[root@server www]# unzip -q pkp-bootstrappish-master_20131010.zip -d ocs-web/plugins/themes/
[root@server www]# cd ocs-web/plugins/themes/
[root@server themes]# mv cdrs-bootstrappish-master bootstrappish
[root@server themes]# rm -rf bootstrappish/docs
[root@server themes]# cd

Afterwards, you can enable the Bootstrappish Theme at "Conference Manager -> Website Management -> Conference Style".
roball
 
Posts: 30
Joined: Wed Mar 21, 2012 1:43 pm

Re: Bootstrappish Theme

Postby Garant » Sun Sep 28, 2014 5:48 am

Thank you!
It also should work in that way with OJS 2.4.x ?
Garant
 
Posts: 217
Joined: Wed May 30, 2012 8:53 am


Return to Plugin Gallery

Who is online

Users browsing this forum: No registered users and 1 guest