Topic: Adding A Download Link To Navlinks
Adding A Download Link To Navlinks
======================================================================
<hook id="fn_generate_navlinks_end"><![CDATA[
global $base_url;
$links['navdl'] = '<li id="navdl"'.((FORUM_PAGE == 'dl') ? ' class="isactive"' : '').'><a href="http://www.keydogbb.info/dhtml/keydog-1/location/keydog/extstylelangmod.php"><img src="'.$ext_info['path'].'/img/dl.png" alt="Download" /></a></li>';
$links['index'] = '<li id="navindex"'.((FORUM_PAGE == 'index') ? ' class="isactive"' : '').'><a href="'.forum_link($forum_url['index']).'"><img src="'.$ext_info['path'].'/img/navindex.png" alt="Index" /></a></li>';
=======================================================================
Instructions:
=======================================================================
1. Just add the green code above to the manifest.xml in navlinks extension
2. change your the download link to wherever yours is located
3. add a dl.png image/icon to the img folder
and you're done
=======================================================================
Doc
=======================================================================
by KeyDog
Release Date
=======================================================================
31-01-2009
=======================================================================
feel free to add your input
