OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



where to find root index file

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

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

Forum rules
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

where to find root index file

Postby mlconrad » Wed Sep 04, 2013 10:32 am

We've just installed OJS ver 2.4.2 and I have to customize the index page as well as the journals. I realize how to customize the journals themselves but am having a problem locating the root index file. Can someone please point me in the right direction?
Thanks in advance!
ML
mlconrad
 
Posts: 18
Joined: Mon Apr 20, 2009 5:08 am
Location: Acadia University, Wolfville, NS Canada

Re: where to find root index file

Postby JasonNugent » Wed Sep 04, 2013 10:39 am

Hi ML,

Technically, there isn't a root index file in the traditional sense. OJS uses a page routing system and a collection of handlers to 'direct traffic' when looking at journals. What you probably want to customize are the various templates located in the templates/ and lib/pkp/templates/ directories. There are several in the 'common' directories for things like headers and footers, and also a few in the 'index' template directories for the overall site and journals.

Regards,
Jason
JasonNugent
Site Admin
 
Posts: 873
Joined: Tue Jan 10, 2006 6:20 am

Re: where to find root index file

Postby asmecher » Wed Sep 04, 2013 10:40 am

Hi ML,

Do you mean the site homepage? Look in templates/index/site.tpl; the controller for that template is in pages/index/IndexHandler.inc.php.

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

Re: where to find root index file

Postby mlconrad » Fri Sep 06, 2013 6:15 am

Thanks for the responses! I'll have a look in the locations.
ML
mlconrad
 
Posts: 18
Joined: Mon Apr 20, 2009 5:08 am
Location: Acadia University, Wolfville, NS Canada


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 6 guests