OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Change icon PDF and HTML in "Table of Contents"

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.

Change icon PDF and HTML in "Table of Contents"

Postby Tiziano » Tue Apr 29, 2014 3:30 am

Hi!
I would change text "PDF" and "HTML" with icons, but i don't idea of what modify. Is there a plug in or i must change the code?

Schermata 2014-04-29 a 12.18.57.png
Schermata 2014-04-29 a 12.18.57.png (40.36 KiB) Viewed 194 times


Thanks!

Best Regard!
Tiziano
Tiziano
 
Posts: 70
Joined: Mon Feb 24, 2014 4:24 am

Re: Change icon PDF and HTML in "Table of Contents"

Postby asmecher » Tue Apr 29, 2014 7:46 am

Hi Tiziano,

See templates/issue/issue.tpl and watch for:
Code: Select all
{foreach from=$article->getGalleys() item=galley name=galleyList}
This is the loop that is responsible for presenting each galley for the article.

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

Re: Change icon PDF and HTML in "Table of Contents"

Postby Tiziano » Thu May 08, 2014 2:27 am

Hi!
i saw the code, i understand that the {foreach} circle extract the galleys, but how i can change the text "PDF" and "HTML" with the custom icons?
i tried, but i don't found solution this time...

Can you give me a suggestion?

Thanks.
Best regards

Tiziano
Tiziano
 
Posts: 70
Joined: Mon Feb 24, 2014 4:24 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot] and 2 guests