CB Phoca Gallery Plugin

April 2nd, 2012

This Community Builder plugin assumes that a user should have a category associated with their account. In other words, in the Categories area of Phoca Gallery, edit a category and set it to have some user as an “owner”. This plugin detects whether a user is an owner of any Phoca Gallery categories, and picks the first one of these. It creates a link to that category. The ideal setup would be to have one top-level category per user, with sub-categories under that. First create the top-level category for the user, then create the sub-level categories. By default this means it will detect that top-level category and link to this, otherwise it will show a “sorry, no photos available” message. Tested on Joomla 1.5, and known to at least install properly on Joomla 2.5 but has not been tested fully on that platform yet.