Loading...
 
Skip to main content

Features / Usability


Link Style for ALINK Plugin

I'm using the ALINK (and ANAME) plugin, but the style of the link is not the same as a normal link to another wiki page - it's a different color. Any ideas on how to change the link color for the ALINK Plugin?

Tim

The plugin doesn't have any style (speaking just of CSS here, nothing more 😉). Line 52 or so should be modified ("class='wiki'" added) to look like this:

Copy to clipboard
return "(A HREF=\"#$aname\" class=\"wiki\")$data(/A)";

(Parentheses are used here in place of angle brackets so the code will display.)

-- Gary

(To clarify, that line is in lib/wiki-plugins/wikiplugin_alink.php, which needs to be edited and re-uploaded.)

-- Gary

> (To clarify, that line is in lib/wiki-plugins/wikiplugin_alink.php, which needs to be edited and re-uploaded.)
>
> — Gary

Gary, thanks a lot - works like a charm!

Tim