(:groupheader:)>>recipeinfo<<
Summary: Display icons with links showing the link extension
Version:
Maintainer:
Categories:
License: [[http://www.gnu.org/licenses/gpl-3.0.en.html | GPL3]]'^[[http://www.gnu.org/licenses/quick-guide-gplv3.en.html|#]]^'
Download:
Discussion: [[{$FullName}-Talk]]
Demo: [[Test/IconLink | IconLink]]
Users: {{$FullName}-Users$Rating2} ([[{$FullName}-Users|View]] / [[{$FullName}-Users?action=edit|Edit]])
>><<
<:vspace>
%rframe% Attach:iconlink.png | ''Example of the IconLink in action''
!! Questions answered by this recipe
How can I display an icon for different external links?
<:vspace>
!! Description
This recipe uses CSS to display icons with external links.
<:vspace>
!! Installation
* download
* add the following lines to @@local/config.php@@
-> [@$UrlLinkFmt= "<a class='external' href='$LinkUrl' rel='nofollow'>$LinkText</a>";@]
-> [@include_once("$FarmD/cookbook/iconlink.php");@]
<:vspace>
<:vspace>
Please use the discussion page [[{$FullName}-Talk]] for comments and feedback.(:groupfooter:)
<:block>