Closed (fixed)
Project:
RSS Remote Enclosure
Version:
5.x-0.4-beta
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Anonymous (not verified)
Created:
7 Dec 2007 at 05:10 UTC
Updated:
30 Jan 2018 at 19:13 UTC
Greetings,
I've been using this module, quite successfully, for a while now. I've recently come across the need to disable the 'Link Text' completely. For some reason when I leave the 'Link Text' field blank, the 'encl_remote' link still displays a blank link in the $links. For the time being I had to use a theme function to unset the link. While I don't know if its the best approach (not a coder what-so-ever), it seems to be working okay.
<?php
function phptemplate_links($links, $attributes = array()) {
unset($links['encl_remote']);
// While generally not a good idea to call theme functions
// We really only want to remove a link but otherwise want the standard behaviour
// Calling the function directly makes more sense than copying the code
return theme_links($links, $attributes);
}
?>Keep up the great work on this module!
txcrew
Comments
Comment #1
ewlloyd commentedGood catch!
I've found it, and I have a fix checked into HEAD. It'll be released shortly.
Comment #2
ewlloyd commentedFixed in 0.5.
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.