Author Topic: How to Replace Buttons with Textlinks?  (Read 3844 times)

0 Members and 1 Guest are viewing this topic.

Offline rp

  • Newbie
  • *
  • Posts: 36
    • View Profile
How to Replace Buttons with Textlinks?
« on: January 04, 2003, 01:08:28 PM »
Hello

Does anybody know how to replace the Buttons for Ecards/Download/ZIPDownload with text links instead?

Weiss jemand wie man die Buttons für Ecards/Download/ZIPDownload durch Textlinks ersetzten kann?

Vielen Dank

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
How to Replace Buttons with Textlinks?
« Reply #1 on: January 04, 2003, 06:34:47 PM »
open /includes/functions.php file.

search for

$lightbox_button

you'll find all kind of buttons code few lines down
replace for each button this code:

<img src=.......>

with your text.
there is a code that make buttons work like links, the code starts with:

<a href=.....>

and ends with:

</a>

so, in this case you will need replace <img src=....> that located between 'link' code

hope that helps.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline rp

  • Newbie
  • *
  • Posts: 36
    • View Profile
How to Replace Buttons with Textlinks?
« Reply #2 on: January 05, 2003, 12:21:34 PM »
Thank you V@no.