First - Clicked Install, nice hack nail geek.
Quote:
Originally Posted by webrats
im trying to make the links another color without changing the links everywhere............................
|
I did this to change the color of the GAL_autolink:
find in GAL_admin.php, line 66:
Quote:
$links[]= "$leadingchar<a href='$result[link]' target='_blank' class='DEF' title='$result[description]'>$leadingstripper$1</a>";
|
Change to this:
Quote:
$links[]= "$leadingchar<a href='$result[link]' target='_blank' class='DEF' title='$result[description]'><font color='#FF0000'>$leadingstripper$1</font></a>";
|
I chose Red (#FF0000)(same color as used in search.php) but you can put in any color.
Here's an example from one of
our posts (I used the word "Finish" as a test autolink to one of our members' Articles.) Another note on color choice, if you change the autolink color, make the color change in GAL_admin.php, then open up any autolink in adminCP and just hit "Save".
One other point on checking to see if a word you want to autolink is included in any url's in any of your existing posts. If you have a downloaded save of your database (YOU SHOULD!), open it up with a text editor and do a search for the words you want to autolink. If they show up inside any urls, you could change one of the words, leave out that certain word, or just use "Safemode". Of course that doesn't help with future posts. It would be nice if you could pick "I wanna play it safe" or "Na, I live life dangerously" for each specific word instead of globally. (Hint - nail geek!)
John