OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



How to add About item, but not in Policies

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.

How to add About item, but not in Policies

Postby zharel » Sun Nov 18, 2007 9:06 am

hi,

I want to have an additional About the Journal item, say Resources, but have it listed under Other, not under Policies. Is there a way to do it?
You can see in http://jv.gilead.org.il/studies/index.php/studies/about how I don't want it to be :( .

Thanks,

Zvi.
zharel
 
Posts: 29
Joined: Tue Oct 30, 2007 10:00 am
Location: Haifa, Israel

Re: How to add About item, but not in Policies

Postby asmecher » Mon Nov 19, 2007 3:35 pm

Hi zharel,

The most maintainable way to do this is probably by writing a plugin to attach to the "Templates::About::Index::Other" hook. Alternately, you can modify the templates/about/index.tpl page e.g. to add a link to a static page containing the content you want to display, but you'll need to be careful about preserving changes whenever you upgrade to a new release.

There's information about plugins and hooks in the OJS Technical Reference, available from the OJS website.

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

Re: How to add About item, but not in Policies

Postby zharel » Tue Nov 20, 2007 4:06 am

Hi alec,

Thanks for your fast reply. I'll certainly need to learn about using plugins. In the meantime, I suppose I'll modify the template.

Best,

Zvi.
zharel
 
Posts: 29
Joined: Tue Oct 30, 2007 10:00 am
Location: Haifa, Israel


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron