Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Frontend joomdoc link - again
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

If your topic falls within one of the subcategories, then please post it directly there. Post to this parent category only if your question does not match any subcategory topic.
  • Page:
  • 1
  • 2

TOPIC: Frontend joomdoc link - again

Frontend joomdoc link - again 14 years, 11 months ago #9635

  • fanz
  • OFFLINE
  • Posts: 2
Hello,

I am using joomla 1.5.15 with joomdoc 2.0.2. As discussed in several postings the editorlink in the the frontend doesn't work properly. (it just opens the downloads home)

I tried the solutions as recommended but the don't work.
* reinstalling components and plugins
* moving the plugin folder (in 2.0.2 there is only an extension folder, moving doesn't help)
* using other editors (tiny mce instead of jce)


It works perfectly in the backend.

I would be glad if I could get some support, my user are hugh fans of this extension, but it is little usefull when you can't limk documents from the frontend (most users have only access to the frontend)

Thanks in Advance
Franz

PS: off topic, is it possible to change my username, an r is missing ;)
The topic has been locked.

Re:Frontend joomdoc link - again 14 years, 11 months ago #9825

I don't have a solution but I'd like to chime in that I'm having the exact same problem. Hopefully the developers are reading this and will have a fix soon, as this would become a major hassle for us when we go live to our general users. I'm a paid JoomSEF user and my posting on the paid JoomSEF forum has gone ignored for two weeks so far.
The topic has been locked.

Re:Frontend joomdoc link - again 14 years, 11 months ago #9826

Just some background info, in case it helps. We started out with DOCMan and upgraded to JoomDOC. We are also running JoomFish and using JCE on Joomla 1.5.15. The server is Suse SLES 11 with PHP 5.2.6.
The topic has been locked.

Re:Frontend joomdoc link - again 14 years, 10 months ago #10023

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.
The topic has been locked.

Re:Frontend joomdoc link - again 14 years, 10 months ago #10311

  • basujansb0110
Hmm...........
At first I wanna thanks...........

I think, if you want to prevent some of your registered users from being able to access documents you may need to do some additional hacking..........
Last Edit: 14 years, 10 months ago by .
The topic has been locked.

Re:Frontend joomdoc link - again 14 years, 10 months ago #10313

Well, all our documents are public domain and, like I said, our only registered users are employees, so it ends up not being too big of a deal. I'm sure other users will be pleased if you wish to enhance the security checking further.
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty