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
Developer Resources:

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome.

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: 29
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: 8327
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: 29
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: 29
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: 8327
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