OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Customizing Templates

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, btbell, michael, bdgregg, barbarah, 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.

Customizing Templates

Postby makemywish » Wed Jan 15, 2014 1:03 pm

Hi Everyone and a happy new year,

I want to create a custom look and feel to our OJS install. This entails all pages and will involve changing the layout of the journal (example moving navigation menus around, adding RSS feeds from the journal's blog etc). Could someone kindly explain step by step the order of files to that relate to customizing OJS templates. We are running the latest version of OJS (2.4.3).

I had a look at the technical reference and it suggests that the order is:

Index.php
Classes
Templates/Forms
Styles

There are quite a few files and to my old eyes and brains it is becoming difficult to figure out where to start.

Many thanks in advance.

K
makemywish
 
Posts: 34
Joined: Tue Jul 22, 2008 12:30 pm

Re: Customizing Templates

Postby asmecher » Wed Jan 15, 2014 5:55 pm

Hi makemywish,

For front-end changes, you'll mostly be working with the template files (in templates/ and lib/pkp/templates/). For the overall look, for example, try lib/pkp/templates/common/header.tpl. These are Smarty templates; you can check out the Smarty documentation for details.

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


Return to OJS Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests