OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Navigatil bar suggestion

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

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

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

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, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

Navigatil bar suggestion

Postby nef » Thu Jun 25, 2009 2:25 am

Hi
Under 'Setup' - 'The Look' you can add an item to the navigation bar (5.5). I would like to suggest to make it possible to remove some of the default links in the navigation bar. How about that?
Regards
Niels
nef
 
Posts: 240
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Navigatil bar suggestion

Postby jmacgreg » Mon Jun 29, 2009 9:53 am

Hi Niels,

You can't currently remove items from the topmost navigation bar via the user interface, although this may be possible in the future. You can, however, edit the relevant template file -- in this case, templates/common/header.tpl, and also templates/article/article.tpl (that's the article view template file).

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

Re: Navigatil bar suggestion

Postby mbauerCOM » Thu Sep 25, 2014 12:11 pm

Is this still current? Because all I see in the header.tpl in regard to the navbar is this line: {include file="common/navbar.tpl"} But I can't find the navbar.tpl to edit it and remove certain items from the navbar
mbauerCOM
 
Posts: 25
Joined: Mon Sep 08, 2014 7:53 am

Re: Navigatil bar suggestion

Postby asmecher » Thu Sep 25, 2014 12:20 pm

Hi mbauerCOM,

It should be in templates/common/navbar.tpl.

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

Re: Navigatil bar suggestion

Postby mbauerCOM » Fri Sep 26, 2014 6:07 am

hmmmm....not seeing it in there...strange. My site has a navbar so it must be somewhere... :?:
mbauerCOM
 
Posts: 25
Joined: Mon Sep 08, 2014 7:53 am

Re: Navigatil bar suggestion

Postby asmecher » Fri Sep 26, 2014 7:18 am

Hi mbauerCOM,

What version of OJS are you using?

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

Re: Navigatil bar suggestion

Postby mbauerCOM » Fri Sep 26, 2014 8:11 am

I'm not sure what version I'm running. How do I find that out?
mbauerCOM
 
Posts: 25
Joined: Mon Sep 08, 2014 7:53 am

Re: Navigatil bar suggestion

Postby asmecher » Fri Sep 26, 2014 8:16 am

Hi mbauerCOM,

Go to User Home > Site Administration > System Information.

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

Re: Navigatil bar suggestion

Postby mbauerCOM » Fri Sep 26, 2014 8:19 am

It says I'm running 2.4.4.1
mbauerCOM
 
Posts: 25
Joined: Mon Sep 08, 2014 7:53 am

Re: Navigatil bar suggestion

Postby asmecher » Fri Sep 26, 2014 8:39 am

Hi mbauerCOM,

In OJS 2.4.4-1, the navbar is definitely in templates/common/navbar.tpl. See the source tree for that release:
https://github.com/pkp/ojs/blob/ojs-2_4 ... navbar.tpl

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

Re: Navigatil bar suggestion

Postby mbauerCOM » Fri Sep 26, 2014 8:49 am

Oh I believe you, but I'm looking at the folder and there's no navbar.tpl and I've done a search, still no navbar.tpl.

Image

Must be an error somewhere on my end...
mbauerCOM
 
Posts: 25
Joined: Mon Sep 08, 2014 7:53 am

Re: Navigatil bar suggestion

Postby asmecher » Fri Sep 26, 2014 9:20 am

Hi mbauerCOM,

Are you already in the lib/pkp subdirectory of your installation? Look in templates/, not lib/pkp/templates/.

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


Return to OJS Development

Who is online

Users browsing this forum: No registered users and 2 guests