Page 1 of 1

Picture display in "Link to us"

Posted: 29. December 2009 15:11
by anywhere91
Hi

Is it possible to implement the image display in the block "Link to us" the panel administrator (ACP) ? and/or in block "Link" ?

For example, an image format Banner (88px X 31px)

Best regards

Ps : sorry for my poor english ! i'm a frog :mrgreen:

In french

Bonjour,

Est il possible d'afficher une image dans le bloc "Faire un lien avec nous" par le panneau d'administrateur ? ou dans le bloc "Liens"

par exemple, une image au format bannière (88px X 31px)

Cordialement

Re: Picture display in "Link to us"

Posted: 29. December 2009 19:12
by Teksonic
So you want the ability to have a banner/image displayed instead of just a text link? or are you looking to have the link box expanded to including an image, so when someone copies and paste the code on there site it will include your banner?

Re: Picture display in "Link to us"

Posted: 29. December 2009 23:49
by anywhere91
On the forums of games teams we exchange our banners. It is frequently used between team

Ideally it should be able to view the complete code example

Code: Select all

<a href="http://mysite.com" title="any information for mysite"><img>http://MYSITE/images/banner.jpg</img></a>
As one example just below or above. But we could do so by the panel admin (ACP)?

Best regards

In french

Sur les forums de teams de jeux nous échangeons nos bannières. C'est d'usage fréquent entre team

Idéalement il faudrait pouvoir afficher le code complet exemple

Code: Select all

<a href="http://mysite.com" title="any information for mysite"><img>http://MYSITE/images/banner.jpg</img></a>
Ainsi qu'un exemple juste en dessous ou au dessus. Mais on pourrait le faire par le panneau d'administration?

Cordialement

Re: Picture display in "Link to us"

Posted: 30. December 2009 04:27
by Teksonic
the "link to us" block has no backend acp built into it at this point, so if your looking for something that way it would be a bunch of extra work. but... it would be easy to modify the current block and add the banner info into.

if you want that i could whip up something pretty quick. granted i'll be in a car driving 9 hours tomorrow so it probably won't be right away or anything. say tomorrow night, or the next day before i could get to it.

Re: Picture display in "Link to us"

Posted: 30. December 2009 09:14
by anywhere91
Thank you for your help ;)

I appreciate your proposition

Re: Picture display in "Link to us"

Posted: 31. December 2009 17:13
by Teksonic
Ok i've done my trip and getting settled in. I'll be able to look at this later today, like I said it shouldn't be a big deal to change the block so I should be able to post something for you later.

do you use a subsilver or prosilver based theme?

Re: Picture display in "Link to us"

Posted: 31. December 2009 22:05
by Teksonic
ok I whipped something up for ya

grab this package [Here]
extract it (2 Files included)
upload these files, make sure to keep the folder structure (other then to place the theme file your your theme folder)
(note: you will have to overwrite the files that are there, so I would suggest making backups first)

Now the mod looks into the [root]/images/ folder for the banner file so make sure to upload it there. make sure it's a .jpg

ie:
your site/images/banner.jpg

I'm thinking of enhancing this mod to give ACP support, allowing you to choose what banner you want to use, having both an image and non image link available and a couple other things. Maybe Christian will even include it in the portal's next release. :)

ok let me know if you have any issues. I built this around the prosilver theme so if you use a subsilver based theme it might look funky but it won't be hard to change it to fit.

hope this helps.

Re: Picture display in "Link to us"

Posted: 2. January 2010 18:38
by anywhere91
Hello / Good evening

Thank you for your help. I use a theme based on prosilver

I do the test as soon as possible and keeping you informed to the following

Best regards

Re: Picture display in "Link to us"

Posted: 28. February 2010 19:43
by stevemike11
the link box expanded to including an image, so when someone copies and paste the code on there site it will include your banner.