+ Reply to Thread
Results 1 to 2 of 2

Thread: up.gif not displaying [Solved]

  1. #1
    Newbie lumo is an unknown quantity at this point
    Join Date
    Mar 2009
    Posts
    4

    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. #2
    Administrator Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan is a name known to all Jordan's Avatar
    Join Date
    Nov 2005
    Location
    Hendersonville, NC
    Posts
    24,556
    Blog Entries
    97

    Re: up.gif not displaying [Solved]

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

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

     

Similar Threads

  1. Replies: 17
    Last Post: 09-27-2008, 10:45 AM
  2. Displaying errors
    By Jaan in forum Website Design
    Replies: 11
    Last Post: 06-21-2008, 08:31 AM
  3. DBGrid displaying problem
    By ReekenX in forum Pascal/Delphi
    Replies: 3
    Last Post: 05-05-2008, 11:11 AM
  4. [SOLVED] Find string in array
    By mevets in forum Python
    Replies: 1
    Last Post: 10-09-2007, 09:38 PM
  5. [Solved] PDF Issue
    By fourth_al in forum ionFiles
    Replies: 1
    Last Post: 06-19-2007, 02:45 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

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