Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    May 2008
    Posts
    10
    Plugin Contributions
    0

    Default Re: Media Manager bug?

    Thanks for your reply. It turned out to be two things: first, you were right that I hadn't created the products I wanted to link as Product - Music. (Thanks for that. I misunderstood, thinking just the media clips had to be Product - Music.)

    But second, when I highlight a collection and click Assign to Product, initially I still get "No products in this category" even though the drop down defaults to my music category. If I change the selected category to something else and then change it back to music, my products show up.

    A little buggy maybe but as long as it works.

    Thanks again.

  2. #12
    Join Date
    Apr 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Media Manager bug?

    Looking at this, at the very top of /admin/media_manager.php we have
    PHP Code:
     require('includes/application_top.php');

      
    $action = (isset($_GET['action']) ? $_GET['action'] : '');  
      
    $current_category_id = (isset($_GET['current_category_id']) ? $_GET['current_category_id'] : $current_category_id); 

    Perhaps if we spiced that up a bit...
    PHP Code:
     require('includes/application_top.php');

      
    $action = (isset($_GET['action']) ? $_GET['action'] : '');
    $categories_id_check $db->Execute("select c.categories_id, cd.categories_name, c.parent_id
                                    from " 
    TABLE_CATEGORIES " c, " TABLE_CATEGORIES_DESCRIPTION " cd
                                    where c.categories_id = cd.categories_id
                                    and cd.language_id = '" 
    . (int)$_SESSION['languages_id'] . "'
                                    and c.parent_id = '0'
                                    order by c.sort_order, cd.categories_name"
    );
      if(
    $categories_id_check->RecordCount()>0)
          
    $current_category_id $categories_id_check->fields['categories_id'];
    $current_category_id = (isset($_GET['current_category_id']) ? $_GET['current_category_id'] : $current_category_id); 
    "We cannot solve the problems we've created with the same kind of thinking that created them." -- Einstein

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 1
    Last Post: 6 Feb 2011, 01:30 AM
  2. Unable to upload media using media manager
    By ThomasT in forum Basic Configuration
    Replies: 17
    Last Post: 5 Aug 2010, 08:04 PM
  3. Replies: 0
    Last Post: 13 Mar 2009, 10:00 PM
  4. [Done 1.3.8] Media manager bug
    By ccaines in forum Bug Reports
    Replies: 6
    Last Post: 30 Jan 2008, 07:02 PM
  5. Changing sort order of media clips in media manager
    By Lovere in forum General Questions
    Replies: 2
    Last Post: 12 Jul 2006, 08:04 PM

Posting Permissions

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