OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Making homepage title image 'clickable'

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

Making homepage title image 'clickable'

Postby davidmmorris » Sun Apr 15, 2012 9:22 am

I would like for visitors to be able to click on the journal header and have them return to the homepage. I have tried to identify where the call for :

<img src="http://www.ijmsonline.org/public/journals/1/homeHeaderTitleImage_en_US.jpg" width="900" height="90" style="border: 0;" alt="">

is coming from but unable to find the code or file, I guess I need that to make it click-able.

I tried a few years ago and gave up, being forced to upgrade OJS and redo the site I thought I would have another shot.

Thanks,

David.
davidmmorris
 
Posts: 5
Joined: Sun Apr 15, 2012 9:16 am

Re: Making homepage title image 'clickable'

Postby yudaermawan » Mon Apr 16, 2012 3:09 am

you must change the target link, try this
<a href="{$baseUrl/index.php}"><img src="pathimage"></a>
yudaermawan
 
Posts: 24
Joined: Tue Apr 10, 2012 7:58 am

Re: Making homepage title image 'clickable'

Postby davidmmorris » Mon Apr 16, 2012 3:26 am

Hi thanks for replying.

Which file do I add this too, I can't find where the original call to load the image is from?

EDIT__________________________>

I wonder if this is the place: "domain/templates/index/journal.tpl"

<div id="homepageImage"><img src="{$publicFilesDir}/{$homepageImage.uploadName|escape:"url"}" width="{$homepageImage.width|escape}" height="{$homepageImage.height|escape}" {if $homepageImageAltText != ''}alt="{$homepageImageAltText|escape}"{else}alt="{translate key="common.journalHomepageImage.altText"}"{/if} /></div>
{/if}

What do you think?
davidmmorris
 
Posts: 5
Joined: Sun Apr 15, 2012 9:16 am


Return to OJS Editorial Support and Discussion

Who is online

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