Page 1 of 1

Link Us

Posted: 12. February 2009 12:38
by Conditor
Your Portal Version: 1.0.0RC3
Your phpBB Type: Standard phpBB3
MODs installed: No
Your knowledge: Beginner
Boardlink: http://forum.conditor.be

What have you done before the problem was there?
nothing

What have you already tryed to solve the problem?
Tried several codes and looked all over this forum

Description and Message
Hello

I want the html code in the link us box changed.
I tried several things in the .php file called "link_us.php" but it didn't work.
The main thing i want is to have my button included in the link

Image

How do i change it??

Thanks in advance

Re: Link Us

Posted: 12. February 2009 16:44
by PeterS
Hey Conditor,

this is a little bit tricky, i try to explain

open /portal/link_us.php
find:

Code: Select all

'U_LINK_US'			=> '<a&nbsp;href="' . $u_link . '"&nbsp;' . (($config['site_desc']) ? 'title="' . $config['site_desc'] . '"' : '' ) . '>' . (($config['sitename']) ? $config['sitename'] : $u_link ) . '</a>',
in the Line find:

Code: Select all

(($config['sitename']) ? $config['sitename'] : $u_link ) . '</a>',
replace with:

Code: Select all

'<img style="width: 120px; height: 49px;"&nbsp;alt="MS Office 2007-Hilfe"&nbsp;src="' . $u_link . 'images/office_credit.gif"&nbsp;/></a>',
width: 120px; height: 49px; of your button
MS Office 2007-Hilfe your alt Title
images/office_credit.gif path and Name of your Button

this Parts you have to change with yours

I hope it works for you.

Peter

Re: Link Us

Posted: 12. February 2009 19:57
by Conditor
Super!!!

Thanks for the help, that's just what i needed :-)