Need to modify Homepage Sidebars and Main Area

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.
Dalal
Posts: 7
Joined: Wed Mar 24, 2010 7:26 am

Need to modify Homepage Sidebars and Main Area

Postby Dalal » Wed Mar 24, 2010 7:55 am

Hello everyone,

I have three issues and I really need your help.

Q1: I need to a link to a MS doc in either right or left side bar in home page and other pages, where can I find the template or file responsible for this?

Q2: On either left or right side bar, I would like to list the editorial team. Do I need to retrieve it from the corresponding table in the database, or is there other way to so?

Q3: I need to place the "For Readers" and "For Authors" section in the middle of the home page, any suggestions to do this?

I appreciate your help so much

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

Re: Need to modify Homepage Sidebars and Main Area

Postby jmacgreg » Wed Mar 31, 2010 6:39 pm

Hi Dalal,

Q1: I need to a link to a MS doc in either right or left side bar in home page and other pages, where can I find the template or file responsible for this?


You may wan to take a look at the Custom Block plugin, available from Journal Management -> System Plugins -> Generic -> Custom Block.

Q2: On either left or right side bar, I would like to list the editorial team. Do I need to retrieve it from the corresponding table in the database, or is there other way to so?


Ditto. There have also been threads about listing the editorial board on this forum -- a search for something like "editorial board sidebar" should turn them up.

Q3: I need to place the "For Readers" and "For Authors" section in the middle of the home page, any suggestions to do this?


There's no way currently to place block content in the middle of the page via the GUI, but you may be able to do this by looking at the block template code (in plugins/blocks/information), and replicating the code in the relevant central template file. To have this information appear on every page, you'll probably want to put the code into either the header or footer template files; these are found in templates/common, or in lib/pkp/templates/common if you're using OJS 2.3+.

Cheers,
James

Dalal
Posts: 7
Joined: Wed Mar 24, 2010 7:26 am

Re: Need to modify Homepage Sidebars and Main Area

Postby Dalal » Tue Apr 06, 2010 2:58 am

James thank you very very very very much, I really appreciate your effort and time to help me.


Return to “OJS Development”

Who is online

Users browsing this forum: No registered users and 1 guest