News:

Want to get involved in developing SMF? Why not lend a hand on our GitHub!

Main Menu

Banner Link

Started by paulwimbledon, March 17, 2010, 07:29:26 PM

Previous topic - Next topic

paulwimbledon

I am using Classic Yabb SE Theme and want to change the banner and also add a link on the banner

I've read lots of posts including this one http://www.simplemachines.org/community/index.php?topic=366524.0

But when I try it I alway get an error message,

I know where the code is and how to change it

<td valign="middle" align="left"><a href="url" target="target"><img src="', !empty($settings['header_logo_url']) ? $settings['header_logo_url'] : $settings['images_url'] . '/smflogo.gif', '" alt="" /></a></td>         <td valign="middle">';


when I add mywebsite   in url and put my image url in img scr= then it doesn't work

is the above code correct,,, img src= shows one " then one ' , that didnt work so I changed it to " " and that didnt work either.

why can't I just use

<a href="http://mysite/" target="_blank">
<img src="http://www.myimageurl" width="100" height="100" border="0" alt="myalttext" />
</a>

If possible can someone give me an idiots guide to the code putting in the parameters so I can change them eg mysite myimageurl myalttext

Thanks a lot !!!!

Arantor

What's probably happening is that you're adding it in to where it is actually raw PHP, and so it fails.

Where *exactly* do you want the image banner, what image should it have and what link should it go to?


Oh, and what version of SMF?
Holder of controversial views, all of which my own.


paulwimbledon

Hi,
Im using 1.1.11

Just want to replace the smf banner at the top with my own and link to my site

spent fat too long trying to get this simple thing done already ..please someone !!!!!!!!

sAce

what error do you get ?

<a href="', $scripturl, '"><img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /></a>

Advertisement: