Software Hosting and Development Services available at PKP Publishing Services
As the developers of Open Journal Systems, Open Conference Systems, Open Harvester Systems, and Open Monograph Press, the PKP team are experts in helping journal managers and conference organizers make the most of their online publishing projects. PKP Publishing Services offers support for:
As a customer of PKP Publishing Services, you will not only receive direct, personalized support from the PKP Development Team, but will be contributing to the ongoing development of the PKP applications. All funds raised by PKP Publishing Services go directly toward enhancing our free, open source software. For more information, please contact us.
Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.
Moderators: jmacgreg, michael, jheckman, barbarah, btbell, bdgregg, asmecher
Forum rules
What to do if you have a technical problem with OJS:1.
Search the forum. You can do this from the
Advanced Search Page or from our
Google Custom Search, which will search the entire PKP site. If you are encountering an error, we
especially recommend searching the forum for said error.
2.
Check the FAQ to see if your question or error has already been resolved.
3.
Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the
OJS Editorial Support and Discussion subforum; if you have a development question, try the
OJS Development subforum.
by nef » Thu Dec 20, 2012 3:22 pm
Hi
Today I made a speciel Custom Theme Plugin for one of our new journals. Unfortunately the Custom Theme Plugin replaced all the other Custom Theme Plugins I've made for some of our other journals. How can that happen, and how do I make a clear separation between the journals Custom Theme Plugin.
Regards
NEF
-
nef
-
- Posts: 161
- Joined: Fri Jun 01, 2007 2:56 am
- Location: Aarhus, Denmark
-
by asmecher » Thu Dec 20, 2012 3:32 pm
Hi NEF,
Unfortunately that plugin only supports one custom theme per site, meaning that if you modify it from one journal, you'll affect other journals that use it. A way to work around that is to save the custom.css file that the plugin generates and upload it on page 5 of that journal's Setup page.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5747
- Joined: Wed Aug 10, 2005 12:56 pm
-
by nef » Thu Dec 20, 2012 3:44 pm
Thanks, but how do I save custom.css file?
Funny, but some time ago I'm sure I could make different Custom Themes Plugins for each journal, or am I wrong?
Regards
NEF
-
nef
-
- Posts: 161
- Joined: Fri Jun 01, 2007 2:56 am
- Location: Aarhus, Denmark
-
by nef » Fri Dec 21, 2012 2:05 am
I have found out how to save the custom.css, but still, are you sure that the plugin affects all journals on the site? If so each journal manager is able to affect those journals that runs the plugin.
Regards
-
nef
-
- Posts: 161
- Joined: Fri Jun 01, 2007 2:56 am
- Location: Aarhus, Denmark
-
by Garant » Fri Jan 11, 2013 5:21 am
Hi!
I receive this error after two files update:
- Code: Select all
Fatal error: Call to undefined method CustomThemePlugin::getRequest() in /var/www/html/ojs/plugins/themes/custom/CustomThemePlugin.inc.php on line 56
-
Garant
-
- Posts: 83
- Joined: Wed May 30, 2012 8:53 am
by asmecher » Fri Jan 11, 2013 9:13 am
Hi Garant,
Your version of OJS is too old to work with that patch directly. If you change the line mentioned in the error message so that...
- Code: Select all
$this->getRequest()->getJournal()
...reads instead...
- Code: Select all
Request::getJournal()
...that will solve the problem. You may need to make similar changes to other parts of that class.
Regards,
Alec Smecher
Public Knowledge Project Team
-
asmecher
-
- Posts: 5747
- Joined: Wed Aug 10, 2005 12:56 pm
-
by Garant » Fri Jan 11, 2013 9:28 am
Hi!
Thank you for your reply!
I will try this.
P.S. I'm running 2.3.8 version
-
Garant
-
- Posts: 83
- Joined: Wed May 30, 2012 8:53 am
Return to OJS Technical Support
Who is online
Users browsing this forum: bhattach, Google [Bot] and 0 guests