Small code change to ionfiles.php (versions < 4.4.4) and/or ionFiles.functions.php (version 4.5.BETA) Joomla 1.5 with SEF enabled.
The flip between dropdown.gif and up.gif (small arrows to toggle between show description and close description) breaks because img url corrupts.
Gives url like
in ionfiles.php around line 426 or ionFiles.functions.php line 373HTML Code:/component/option,com_ionfiles/Itemid,28/components/com_ionfiles/images/up.gif
change to..Code:// Description
if ($showDesc == 1 && $dl_row->description != "") {
print " <img src=\"components/com_ionfiles/images/dropdown.gif\" alt=\"details\" align=\"top\" onclick=\"flip(this, 'components/com_ionfiles/images/up.gif'); toggle_visibility('ion$dl_row->id'); return false\" />";
}
Code:// Description
if ($showDesc == 1 && $dl_row->description != "") {
print " <img src=\"".JURI::Base()."components/com_ionfiles/images/dropdown.gif\" alt=\"details\" align=\"top\" onclick=\"flip(this, '/components/com_ionfiles/images/up.gif'); toggle_visibility('ion$dl_row->id'); return false\" />";
}


LinkBack URL
About LinkBacks




Reply With Quote







Bookmarks
Algorithms and Data Structures
Java tutorials
Algorithms Forum