Phoca Download Empty Categories

Phoca Download Empty Categories

Phoca Download is am amazing free document repository for Joomla. However I found one feature lacking, when a category was empty (contained no files), there was no obvious message to the visitor - there was simply the category name and a blank page.


I always thought there should be a message 'Oops - nothing here!', or similar.


To save you some time, you need to edit the file located at \components\com_phocadownload\views\category\tmpl\default_files.php


​Add this code just after the closing } (around line 502)

 else {
    echo '<div class="alert alert-warning" role="alert">Empty</div>';    
} 
Rate this blog entry:
Chrome “disable developer mode extensions” pop up
Server Side Events with MySQL and PHP

Comments

 
No comments yet

Latest Comments

Susan Hermiston Virtual Hosts
October 7, 2015
Wow 747 just blew me away. Sorry not a tech person at all!! But I still love you!! Rock on!!?
Johmny Invisible Mouse Cursor Ubuntu & Synergy
September 2, 2015
Glad I was ble to help!
Kristian Falk Invisible Mouse Cursor Ubuntu & Synergy
September 1, 2015
Thank you for this! Had the exact same problem. I almost went crazy.