So I've created a kludgy hack which allows the use of the "JoomDOC Link" button from the front end. Open up [Joomla Home]/components/com_joomdoc/controller.php and look for this:
case 'doc_publish':
DocumentsHelper::publishDocument(array($gid));
break;
AFTER that snippet (around Line 93) paste the following code:
// JoomDOC link hack for front-end access
case "doclink":
$user =& JFactory::getUser();
if ($user->guest) {
die("Not Authorized!");
} else {
global $_DOCMAN, $mainframe;
$_DOCMAN = new dmMainFrame ( );
require_once(JPATH_ROOT . "/administrator/components/com_joomdoc/includes/doclink.php");
showDoclink();
}
break;
case "doclink-listview":
$user =& JFactory::getUser();
if ($user->guest) {
die("Not Authorized!");
} else {
global $_DOCMAN, $mainframe;
$_DOCMAN = new dmMainFrame ( );
require_once(JPATH_ROOT . "/administrator/components/com_joomdoc/includes/doclink.php");
showListview();
}
break;
It works for us, so hopefully it will work for you. I've added a small security hack so that guests cannot try to edit anything. Since only employees are allowed to login it servers our purpose well. If you want to prevent some of your registered users from being able to access documents you may need to do some additional hacking.