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>';    
} 
Server Side Events with MySQL and PHP
Chrome “disable developer mode extensions” pop up
 

Comments

No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Guest
October 31, 2020

Captcha Image

By accepting you will be accessing a service provided by a third-party external to https://www.johnnyshongo.com/