- Posts: 3
- Thank you received: 0
All questions about EDocman extension
EDocman new document access always defaults to Public, how to change it?
- Kreshna Aryaguna
- Topic Author
- Offline
- New Member
Less
More
2 years 5 months ago #152456
by Kreshna Aryaguna
EDocman new document access always defaults to Public, how to change it? was created by Kreshna Aryaguna
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
2 years 5 months ago #152466
by Mr. Dam
Replied by Mr. Dam on topic EDocman new document access always defaults to Public, how to change it?
Hi,
You can follow below steps to init the Registered for field Access
1. Open file:
[root] -> administrator -> components -> com_edocman -> model -> document.php
2. Find:
and change to
Thanks
Dam
You can follow below steps to init the Registered for field Access
1. Open file:
[root] -> administrator -> components -> com_edocman -> model -> document.php
2. Find:
Code:
public function initData()
{
$this->data = $this->getTable();
$this->data->license_id = EdocmanHelper::getDefaultLicense();
}
Code:
public function initData()
{
$this->data = $this->getTable();
$this->data->license_id = EdocmanHelper::getDefaultLicense();
$this->data->access = 2 ;
}
Thanks
Dam
The following user(s) said Thank You: Kreshna Aryaguna
Please Log in or Create an account to join the conversation.
- Kreshna Aryaguna
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
2 years 5 months ago #152485
by Kreshna Aryaguna
Replied by Kreshna Aryaguna on topic EDocman new document access always defaults to Public, how to change it?
Thank you, it works!
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
Less
More
- Posts: 12818
- Thank you received: 1659
2 years 5 months ago #152486
by Mr. Dam
Replied by Mr. Dam on topic EDocman new document access always defaults to Public, how to change it?
You're welcome Kreshna,
Thanks
Dam
Thanks
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2024 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.