All questions about EDocman extension

import edocman

  • Douglas Harry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #127699 by Douglas Harry
import edocman was created by Douglas Harry
Hello,

I have a question about how to use edocman, could it help?
1- Created a new component.
2 - In the component menu item.
https://imgur.com/a/hYE1wni
      2-1 I request an Edocman ID (category).
      2-2 I request a group with permission to manage this category.
3- I display a component screen, this screen has the following items.
https://imgur.com/a/hYE1wni
3-1 a field to select the parent category or its children (the parent category would be the ID entered in the menu).
3-2 I request the name of the new folder.
3-3 I request the groups that can write and read.

The question is how do I import the editcategory model from components / com_edocman / model / so that I can create a category with their respective read and write groups?

Thank you.
Attachments:

Please Log in or Create an account to join the conversation.

  • Douglas Harry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #127700 by Douglas Harry
Replied by Douglas Harry on topic import edocman
Manager Categories allows the user who has access to view and change any category, I need something restricted where a user has access to only one category and can create or change that category and its children, so I am creating my own component.

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127705 by Mr. Dam
Replied by Mr. Dam on topic import edocman
Hi Douglas,
I am confusing with your question, is that related to Edocman extension?
Thanks
Dam

Please Log in or Create an account to join the conversation.

  • Douglas Harry
  • Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 7 months ago #127718 by Douglas Harry
Replied by Douglas Harry on topic import edocman
Hi Mr.Dam,

I tried to create a new component that uses edocman to create / edit categories on the front end, I needed the user to only look at their categories, I gave up.

I tried using the com_edocman -> managerCategories component, but this component shows all categories, I need the user to only look at their categories, so I edited the official edocman component.

I needed an alternative to limit the user's view, to see only his categories and modify only his categories, so I modified the official com_edocman.

I have an intranet, I use edocman to manage files, managers in each department can create categories in edocman, but cannot view other departments, a manager can create the category in their department and select which groups they can view and edit.

Because of this need, I adapted the edocman edit front-end category component to request which group it can manage and which edocman category, created restrictions for a manager not to edit other categories, only the category entered in the component menu item and your daughters.

I got what I needed, thanks.

Sorry about my English.

You can close the topic, thanks.
Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 7 months ago #127728 by Mr. Dam
Replied by Mr. Dam on topic import edocman
Hi Douglas,
If you want user to edit their categories only, you should assign him as owner of categories. By that way, only user can see their categories at frontend, they won't able to edit categories of different owner.
Thanks
Dam

Please Log in or Create an account to join the conversation.

Moderators: Mr. Dam