OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



How to add a header image?

To discuss the technical development of the Open Monograph Press.

Moderators: jmacgreg, John

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

How to add a header image?

Postby angevent » Tue Jun 11, 2013 2:54 pm

Hi,

I would like to replace the Press menu (<ul class="pkp_helpers_flatlist pkp_helpers_align_left">) at the top of the page (<div class="pkp_structure_head_siteNav">) with an image: is it possible?

Thanks,
Angelo
angevent
 
Posts: 32
Joined: Tue Jun 11, 2013 1:12 pm

Re: How to add a header image?

Postby asmecher » Tue Jun 11, 2013 2:59 pm

Hi Angelo,

This will require a template modification; have a look at templates/header/sitenav.tpl.

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

Re: How to add a header image?

Postby angevent » Tue Jun 11, 2013 3:03 pm

Great!
angevent
 
Posts: 32
Joined: Tue Jun 11, 2013 1:12 pm

Re: How to add a header image?

Postby angevent » Thu Jun 20, 2013 4:00 am

Another little request, Alec. Which file is for pkp_structure_body's template?
angevent
 
Posts: 32
Joined: Tue Jun 11, 2013 1:12 pm

Re: How to add a header image?

Postby asmecher » Thu Jun 20, 2013 9:40 am

Hi angevent,

See "templates/common/header.tpl". I find these pretty quickly on my system using the following command line:
Code: Select all
find . -name \*.tpl -exec fgrep -l pkp_structure_body "{}" ";"
I'm using Linux, but the same ought to work e.g. on MacOSX. In Windows, I remember seeing a "search in file contents..." option in Start > Find -- though that memory is going back to Windows 98, so I have no idea if it's still available.

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


Return to OMP Development

Who is online

Users browsing this forum: No registered users and 1 guest