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

Comments

 
No comments yet