- Posts: 10
- Thank you received: 0
All questions about EDocman extension
How to disable Front End Editing
- Peter Rossetti
- Topic Author
- Offline
- New Member
-
Less
More
7 years 8 months ago #101488
by Peter Rossetti
How to disable Front End Editing was created by Peter Rossetti
Is it possible to disable front end editing for EDocman.
Can this be done as a template override.
Editing views - document - default.php file
line 21 change
$canEdit = $user->authorise('core.edit', com_edocman.document.'.$item->id);
to
$canEdit = FALSE;
This worked for com_content
Can this be done as a template override.
Editing views - document - default.php file
line 21 change
$canEdit = $user->authorise('core.edit', com_edocman.document.'.$item->id);
to
$canEdit = FALSE;
This worked for com_content
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13024
- Thank you received: 1690
7 years 8 months ago #101530
by Mr. Dam
Replied by Mr. Dam on topic How to disable Front End Editing
Hi Peter,
Why do you need to modify code when in Edocman ACL, you can deny permission: Edit and Edit Own. By that way, user won't able to edit documents at front-end. See more here: edocmandocs.ext4joomla.com/getting-started/edocman_acl
Thanks
Dam
Why do you need to modify code when in Edocman ACL, you can deny permission: Edit and Edit Own. By that way, user won't able to edit documents at front-end. See more here: edocmandocs.ext4joomla.com/getting-started/edocman_acl
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Peter Rossetti
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 8 months ago #101538
by Peter Rossetti
Replied by Peter Rossetti on topic How to disable Front End Editing
Oh OK - will this just disable front-end editing for people with permission to edit it from the back end.
I tried just edit and edit own and the UPLOAD button was still there there so denied create, delete and edit state, then it disappeared, but then the administrator cannot edit in the back-end either.
Is there a way to disable just the front end but leave the ability only in the back-end
I tried just edit and edit own and the UPLOAD button was still there there so denied create, delete and edit state, then it disappeared, but then the administrator cannot edit in the back-end either.
Is there a way to disable just the front end but leave the ability only in the back-end
Please Log in or Create an account to join the conversation.
- Mr. Dam
-
- Offline
- Administrator
-
Less
More
- Posts: 13024
- Thank you received: 1690
7 years 8 months ago #101539
by Mr. Dam
Replied by Mr. Dam on topic How to disable Front End Editing
Hi,
If you disable permission: Create for front-end user groups. An normal registered user won't able to upload their documents from front-end
Thanks
Dam
If you disable permission: Create for front-end user groups. An normal registered user won't able to upload their documents from front-end
Thanks
Dam
Please Log in or Create an account to join the conversation.
- Peter Rossetti
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 10
- Thank you received: 0
7 years 8 months ago #101540
by Peter Rossetti
Replied by Peter Rossetti on topic How to disable Front End Editing
Yea got that - but what I want is to disable all front end editing - so say an admin can edit back end but not edit front end. Doesn't seem possible without a template override?
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.