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
The Public Knowledge Project Support Forum is moving to

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.
Posts: 5
Joined: Sun Apr 15, 2012 9:16 am

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="" 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.



Posts: 24
Joined: Tue Apr 10, 2012 7:58 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>

Posts: 5
Joined: Sun Apr 15, 2012 9:16 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?


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>

What do you think?

Return to “OJS Editorial Support and Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests