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
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.
Tiziano
Posts: 94
Joined: Mon Feb 24, 2014 4:24 am
Location: Pavia, Italy

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 346 times


Thanks!

Best Regard!
Tiziano

asmecher
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm
Contact:

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

Tiziano
Posts: 94
Joined: Mon Feb 24, 2014 4:24 am
Location: Pavia, Italy

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


Return to “OJS Technical Support”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest