OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Customizing site-wide branding (header)?

General inquiries about the PKP.

Moderators: jmacgreg, btbell, michael, bdgregg, vgabler, barbarah, John

Forum rules
Feel free to post general inquiries about the PKP Here. We'll also post notes of interest from time to time. You may also want to check out the PKP blog.

Customizing site-wide branding (header)?

Postby jqj » Wed Feb 17, 2010 6:17 pm

It's fairly common for an institution to have web branding standards that need to be applied to all pages of the site, and that might include all pages of an OJS site. We can, of course, customize some aspects of the site using the sitestyle.css and journalStyleSheet.css files, but what about customizations that require changes to the HTML code? What's the best way to manage such changes?

In particular, are there some changes that are so commonly desired that they are worth catering to specially? For example, providing framing such as a header that would always appear above the PKP-provided header? Since individual journals allow specification of a custom html footer, a global site-specific footer is perhaps less needed that a global site-specific header.

What I've been doing is modifying the templates in lib/pkp/templates/common, e.g. modifying header.tpl to add mandated branding. However, I don't like the idea of having local changes to core application code mixed in like that -- too easy to have it break when a new version comes out. Would it be worthwhile to add a hook in that file (perhaps just before or after <div id="container">) to include a corresponding file from public/site if such existed?
jqj
 
Posts: 15
Joined: Wed Dec 23, 2009 2:05 pm

Re: Customizing site-wide branding (header)?

Postby jmacgreg » Mon Feb 22, 2010 10:15 am

Hi JQ,

We haven't had a whole lot in the way of requests for this kind of overall header customization, but we'd be willing to consider it. I believe that we'll be doing some fairly comprehensive overall template modifications in the following year to add support for things like per-journal custom template modifications and better stylesheet support. At the moment it's probably best to go ahead with the manual modifications to the underlying template files; but if you'd like to submit this as a feature request, please do so.

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

Re: Customizing site-wide branding (header)?

Postby lemargray » Thu Jun 30, 2011 7:57 pm

jmacgreg wrote:Hi JQ,

We haven't had a whole lot in the way of requests for this kind of overall header customization, but we'd be willing to consider it. I believe that we'll be doing some fairly comprehensive overall template modifications in the following year to add support for things like per-journal custom template modifications and better stylesheet support. At the moment it's probably best to go ahead with the manual modifications to the underlying template files; but if you'd like to submit this as a feature request, please do so.

Cheers,
James


Make this one more on the list that you currently have.
lemargray
 
Posts: 1
Joined: Thu Jun 30, 2011 7:45 pm

Re: Customizing site-wide branding (header)?

Postby nearlynarik » Tue Jul 19, 2011 8:01 am

and another.
nearlynarik
 
Posts: 10
Joined: Tue Jul 19, 2011 7:58 am


Return to General Discussion

Who is online

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