Support » Plugin: Memphis Documents Library » Widget download numbers

  • Resolved Cameron Barrett

    (@cameronbarrett)



    Thanks for the update. I was not able to get the new Box.com API to work, but for some reason Local Preview works flawlessly, something that wasn’t working well before.

    The new widget styling broke the download numbers.

    Example: http://www.nps.k12.nj.us/documents/

    That top link has 12,401 downloads, not 1,240,132,433 downloads.

    Can you investigate?

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author bhaldie

    (@bhaldie)

    Ill take a look, thanks for the report.

    Plugin Author bhaldie

    (@bhaldie)

    Ill update it soon, but if you want to fix the issue open the php file mdocs-widget.php and edit the line 137:

    
    echo '<td class="text-center" style="width: 1px">'.$the_list[$i]['downloads'].'32433'.'</td>';
    

    to this:

    
    echo '<td class="text-center" style="width: 1px">'.$the_list[$i]['downloads'].'</td>';
    

    not sure why I added the 32433??

    Nah, low priority. It’ll get fixed with your next minor release. Thanks for the rapid support!

    Plugin Author bhaldie

    (@bhaldie)

    No problem, just out of curosity did you follow my guide on how to setup Box View api:

    http://kingofnothing.net/creating-a-box-api-developer-key-for-memphis-documents-library/

    Yeah, I walked through those steps 2-3 times and turned Preview tab back on and there was an Error: 400 where the Box.com preview should be.

    Weirdly, the Local Preview now works flawlessly, which is something that never worked before. Maybe the removal of the Google Docs stuff allowed the Local preview to act as a fallback solution, so now is working.

    Plugin Author bhaldie

    (@bhaldie)

    yeah the only downside to local preview is it doesn’t support Office files.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.