Closed Thread
Results 1 to 2 of 2

Thread: up.gif not displaying [Solved]

  1. #1
    lumo is offline Newbie
    Join Date
    Mar 2009
    Posts
    4
    Rep Power
    0

    Thumbs up up.gif not displaying [Solved]

    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
    HTML Code:
    /component/option,com_ionfiles/Itemid,28/components/com_ionfiles/images/up.gif
    in ionfiles.php around line 426 or ionFiles.functions.php line 373

    Code:
    // Description
        
    if ($showDesc == && $dl_row->description != "") {
        print 
    "&nbsp;&nbsp;<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\" />";                
            } 
    change to..
    Code:
    // Description
           
    if ($showDesc == && $dl_row->description != "") {
        print 
    "&nbsp;&nbsp;<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\" />";
        } 

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Jordan Guest

    Re: up.gif not displaying [Solved]

    Excellent, thank you. I'll include this in the next release of 4.5.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Need help with fillArc()
    By dunnkers in forum Java Help
    Replies: 4
    Last Post: 02-02-2011, 12:10 PM
  2. why is that different? [solved]
    By qpai in forum C and C++
    Replies: 3
    Last Post: 11-29-2010, 02:38 AM
  3. It's solved, but why did it have to be solved?
    By wim DC in forum Java Help
    Replies: 3
    Last Post: 06-22-2010, 09:17 AM
  4. Sudoku can be solved using SQL..Take a look!
    By roger in forum Database & Database Programming
    Replies: 5
    Last Post: 07-04-2006, 12:20 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts