Menu Content
ARTIO Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Frontend joomdoc link - again
(1 viewing) 1 Guest
Go to bottom
  • Page:
TOPIC: Frontend joomdoc link - again
#9635
fanz
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Frontend joomdoc link - again 2 Months, 4 Weeks ago  
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 ;)
 
Logged Logged
  The administrator has disabled public write access.
#9825
usdc_oregon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Frontend joomdoc link - again 2 Months, 1 Week ago  
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.
 
Logged Logged
  The administrator has disabled public write access.
#9826
usdc_oregon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Frontend joomdoc link - again 2 Months, 1 Week ago  
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.
 
Logged Logged
  The administrator has disabled public write access.
#10023
usdc_oregon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Frontend joomdoc link - again 1 Month, 3 Weeks ago  
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:

Code:


case 'doc_publish':
DocumentsHelper::publishDocument(array($gid));
break;



AFTER that snippet (around Line 93) paste the following code:

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.
 
Logged Logged
  The administrator has disabled public write access.
#10311
basujansb0110
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Frontend joomdoc link - again 1 Month, 1 Week ago  
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..........
 
Logged Logged
 
Last Edit: 2010/02/09 18:48 By jan.
  The administrator has disabled public write access.
#10313
usdc_oregon
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Frontend joomdoc link - again 1 Month, 1 Week ago  
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.
 
Logged Logged
  The administrator has disabled public write access.
Go to top
  • Page: