OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Why Journal description appears also in the site?

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.

Why Journal description appears also in the site?

Postby Ojser » Wed Jul 11, 2012 4:49 pm

Hi,

I'm a little bit confused to see the journal description in the home page appear also under the journal name at the site level!
I don't like this feature!
So, is there a way to keep the journal list clean at the site level and display the journal description only in the journal home page?

Thanks
Ojser
 
Posts: 152
Joined: Wed Mar 28, 2012 6:23 am

Re: Why Journal description appears also in the site?

Postby ramon » Thu Jul 12, 2012 8:01 am

Hello Ojser,

You can remove that description in 2 ways:
  1. If you're only hosting 1 journal, login as System administrator, then go to Site administration > Site configurations and redirect OJS to the journal you want. This will prevent OJS from loading the site level page, opening the journal's home directly.
  2. If your hosting multiple journals, login as Sys Admin, then go to Site administration > Hosted journals and remove the descriptions there.
    • If you want to keep the descriptions, but not display them, you can add <!-- and --> around the whole text in the HTML view (if TinyMCE is available). These are HTML comment tags and need to start and end.
      Code: Select all
      <!--
      <p>This is an HTML commented paragraph! It will still be in the HTML output, but browsers won't display it.</p>
      -->

_______________________________
Ramón Martins Sodoma da Fonseca
Analista em C&T
Coordenação de Tecnologias de Informação
Instituto Brasileiro de Informação em Ciência e Tecnologia - IBICT
Ministério da Ciência e Tecnologia - MCT
ramon
 
Posts: 926
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: Why Journal description appears also in the site?

Postby Ojser » Thu Jul 12, 2012 10:24 am

Sorry, Ramon, this didn't work. I added the description in the journal not in the site, so no way to see it or remove it from the site end. Only from journal.
So, the way you give doesn't work for multiple journals. The description added for a journal is not accessible from the site level.
You can try it yourself! add a journal and description, you wont be able to remove it from the site interface, will you?
Ojser
 
Posts: 152
Joined: Wed Mar 28, 2012 6:23 am

Re: Why Journal description appears also in the site?

Postby ramon » Fri Jul 13, 2012 7:42 pm

Hello Ojser,

Unfortunately that trick only works for OCS, sorry.
What I've seen people do when they host more than 1 journal is add the description in the "additional information" field, below the "frontpage or cover" image field.
That way the "description" is only displayed on the journals home, because it is empty for the site view.

Another way to do it, but would require testing, is changing the source code of the site index (in templates/site) to strip the paragraph that prints the description, or try some CSS.
If the site page has a specific ID for the paragraph, or for a parent element of the element where the description is output, then you can add a CSS rule in the lines of (assuming there is a <div> element with an id ="journal_description' that is the parent of the <p> element that displays the description:
Code: Select all
#journal_description p {
position:absolute;
top:-9999em;
left:-99999em;
visibility:hidden;
display:none;
}


Of course, it's just an example, and needs to be tested and adapted to the situation/reality of the code.
_______________________________
Ramón Martins Sodoma da Fonseca
Analista em C&T
Coordenação de Tecnologias de Informação
Instituto Brasileiro de Informação em Ciência e Tecnologia - IBICT
Ministério da Ciência e Tecnologia - MCT
ramon
 
Posts: 926
Joined: Wed Oct 15, 2003 6:15 am
Location: Brasí­lia/DF - Brasil

Re: Why Journal description appears also in the site?

Postby Ojser » Sat Jul 14, 2012 4:55 pm

ramon wrote:What I've seen people do when they host more than 1 journal is add the description in the "additional information" field, below the "frontpage or cover" image field.
That way the "description" is only displayed on the journals home, because it is empty for the site view.


Yes, this works fine for now! Thank you very much!

Best wishes.
Ojser
 
Posts: 152
Joined: Wed Mar 28, 2012 6:23 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron