Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

SMF logo

Aloittaja Dexy, tammikuu 10, 2006, 03:58:33 IP

« edellinen - seuraava »

Dexy

Hello,
i want to add hyperlink in my smf logo...
when i click logo, browser should open URL ( www.something.com for example )
is it possible?
Thank you!  :)

Elmacik

index.template.php

Koodi (Find) [Valitse]

<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" />';


Koodi (Replace) [Valitse]

<a href="http://link.com">
<img src="', $settings['header_logo_url'], '" alt="', $context['forum_name'], '" border="0" /></a>';

Home of Elmacik

Dexy


Elmacik

Which version are you using?
Home of Elmacik

Dexy


Elmacik

Then you ask to do with smflogo.gif ?
Koodi (Find) [Valitse]

<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" />

Koodi (Replace) [Valitse]

<a href="http://www.link.com">
<img src="', $settings['images_url'], '/smflogo.gif" width="250" style="float: right;" alt="" /></a>
Home of Elmacik

Dexy

its OK now, thank you. but i need one more info:
can it open in new page?

oscar2001


Nordoelum


Advertisement: