OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



delete navigation bar

OJS development discussion, enhancement requests, third-party patches and plug-ins.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

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.

delete navigation bar

Postby kekropas » Wed Apr 01, 2009 10:01 am

Hello, I would like to find out if I could be able to delete the default navigation and place on of my own(java or flash). Also I would like to erase the title of each page. As css controls only the styling of these items I guess these are somewhere in the tpl files but where?
kekropas
 
Posts: 38
Joined: Sat Dec 20, 2008 5:56 am

Re: delete navigation bar

Postby mcrider » Wed Apr 01, 2009 10:43 am

Hi Kekropas,

The navbar is all in templates/common/navbar.tpl. As for the title--check out templates/common/header.tpl -- There is some code in the headerTitle div that determines how the page title appears.

Cheers,
Matt
mcrider
 
Posts: 952
Joined: Mon May 05, 2008 10:29 am
Location: Vancouver, BC

Re: delete navigation bar

Postby kekropas » Wed Apr 01, 2009 3:08 pm

thank you very much for your help
kekropas
 
Posts: 38
Joined: Sat Dec 20, 2008 5:56 am

Re: delete navigation bar

Postby kekropas » Fri Apr 03, 2009 4:21 pm

I find everything under header.tpl. Thanks.
kekropas
 
Posts: 38
Joined: Sat Dec 20, 2008 5:56 am

Re: delete navigation bar

Postby kekropas » Sat Apr 04, 2009 5:33 pm

One question, hope I won't bother you again, I am finally putting everything in order.
I tried to move in header.tpl the sidebar code under navbar so in main I will have content and sidebar side by side.
While this happened content contains also the sidebar something that is not convenient at all.
I believe there is something in the final line
<div id="content">
which doesn't close but I can't find what to do
kekropas
 
Posts: 38
Joined: Sat Dec 20, 2008 5:56 am

Re: delete navigation bar

Postby jmacgreg » Mon Apr 06, 2009 10:07 am

Hi Kekropas,

You'll most likely find the closing div tag for content in templates/common/footer.tpl -- that template file completes most pages. I would suggest perhaps trying to restrict your placement of things within the css first, and see where you can get with that.

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


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 1 guest