All questions about EDocman extension
Herachical folder structure feature in EDocman
- Tuan Pham Ngoc
- Topic Author
- Away
- Administrator
Less
More
12 years 11 months ago #13280
by Tuan Pham Ngoc
Herachical folder structure feature in EDocman was created by Tuan Pham Ngoc
Hi All
As you know, EDocman has an advance feature called "Herachical folder structure". This feature allows each category will have it own folder to store it's documents. This post will guide you how to use this feature .
1. You need to download and upgrade your site to latest version of EDocman (1.0.3 for now) .
2. Go to EDocman -> Configuration, set Use Herachical Folder Structure config option to Yes .
3. Now when you create/edit category, you will see a field called Documents Path in add/edit category screen. You can enter the path of the folder (relative path) which you want to store documents of this category. We will go though an example to understand how it works :
- You have a category called Joomla . This categories contains 3 sub-categories : Components, Modules and Plugins. And you want that each of this sub category can have it own folder to store documents from that category. The steps to setup are :
+ Create a category called Joomla. In Documents Path field, please enter joomla (or you can leave it empty because infact, no Documents will be stored in this parent category) .
+ Create a category Components. In the Documents Path field, enter joomla/components .
+ Create a category called Modules. In the Documents Path field, enter joomla/modules .
+ Create a category called Plugins. In the Documents Path field, enter joomla/plugins .
- Let says in the Configuration of EDocman, you set Documents Path config option to /www/joomla/edocman. Now :
+ When you submit a Document to Components category, the file of this document will be uploaded to /www/joomla/edocman/joomla/components folder .
+ When you submit a Document to Modules category, the file of this document will be uploaded to /www/joomla/edocman/joomla/modules folder .
+ When you submit a Document to Plugins category, the file of this document will be uploaded to /www/joomla/edocman/joomla/plugins folder .
I hope this example is easy to understand and you now understand how Herachical folder structure feature in EDocman works. If you have questions about this feature, please don't hesitate to ask !
Tuan
As you know, EDocman has an advance feature called "Herachical folder structure". This feature allows each category will have it own folder to store it's documents. This post will guide you how to use this feature .
1. You need to download and upgrade your site to latest version of EDocman (1.0.3 for now) .
2. Go to EDocman -> Configuration, set Use Herachical Folder Structure config option to Yes .
3. Now when you create/edit category, you will see a field called Documents Path in add/edit category screen. You can enter the path of the folder (relative path) which you want to store documents of this category. We will go though an example to understand how it works :
- You have a category called Joomla . This categories contains 3 sub-categories : Components, Modules and Plugins. And you want that each of this sub category can have it own folder to store documents from that category. The steps to setup are :
+ Create a category called Joomla. In Documents Path field, please enter joomla (or you can leave it empty because infact, no Documents will be stored in this parent category) .
+ Create a category Components. In the Documents Path field, enter joomla/components .
+ Create a category called Modules. In the Documents Path field, enter joomla/modules .
+ Create a category called Plugins. In the Documents Path field, enter joomla/plugins .
- Let says in the Configuration of EDocman, you set Documents Path config option to /www/joomla/edocman. Now :
+ When you submit a Document to Components category, the file of this document will be uploaded to /www/joomla/edocman/joomla/components folder .
+ When you submit a Document to Modules category, the file of this document will be uploaded to /www/joomla/edocman/joomla/modules folder .
+ When you submit a Document to Plugins category, the file of this document will be uploaded to /www/joomla/edocman/joomla/plugins folder .
I hope this example is easy to understand and you now understand how Herachical folder structure feature in EDocman works. If you have questions about this feature, please don't hesitate to ask !
Tuan
Please Log in or Create an account to join the conversation.
- pepperstreet
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
12 years 9 months ago #14578
by pepperstreet
Replied by pepperstreet on topic Re: Herachical folder structure feature in EDocman
Great optional feature. Some people prefer physical folders over the virtual attempt. It really depends, I like both options. Hierarchical is very good if you need to access and upload from other components. Also if your virtual categorization is damaged for some reason, it would be really annoying to re-create the structure from one big folder.
Please Log in or Create an account to join the conversation.
- agussol
- Offline
- Senior Member
Less
More
- Posts: 75
- Thank you received: 5
12 years 8 months ago #14718
by agussol
Replied by agussol on topic Re: Herachical folder structure feature in EDocman
Hello,
Does the parent category matters in this case ?
I mean do I have to select the parent category "Joomla" on each of my sub categories ?
Thanks!
Does the parent category matters in this case ?
I mean do I have to select the parent category "Joomla" on each of my sub categories ?
Thanks!
Please Log in or Create an account to join the conversation.
- Gabor
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
12 years 1 month ago #20392
by Gabor
Replied by Gabor on topic Re: Herachical folder structure feature in EDocman
Hi
I have a problem with the document path. How can I make it not lowercase ?
My folder names are like "Components". "Plugins" etc. When I set up the folder names with capital first character after I save it
Edocman lowercase the path.
How can I use Documents Path field with capital letters ? What should I change ?
Thanks,
Gabor
I have a problem with the document path. How can I make it not lowercase ?
My folder names are like "Components". "Plugins" etc. When I set up the folder names with capital first character after I save it
Edocman lowercase the path.
How can I use Documents Path field with capital letters ? What should I change ?
Thanks,
Gabor
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Topic Author
- Away
- Administrator
12 years 1 month ago #20425
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Herachical folder structure feature in EDocman
Hi
You will need to edit code alitle. Please follow the instructions below :
1. Open the file administrator/components/com_edocman/tables/category.php
2. Find the code below and remove it
After that, it will work as expected .
Regards,
Tuan
You will need to edit code alitle. Please follow the instructions below :
1. Open the file administrator/components/com_edocman/tables/category.php
2. Find the code below and remove it
Code:
$path = JString::strtolower($this->path) ;
After that, it will work as expected .
Regards,
Tuan
The following user(s) said Thank You: Gabor
Please Log in or Create an account to join the conversation.
- Gabor
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
12 years 1 month ago #20435
by Gabor
Replied by Gabor on topic Re: Herachical folder structure feature in EDocman
Hi Tuan,
thanks for your fast answer. I did set it upl and it is working.
Thanks,
Gabor
thanks for your fast answer. I did set it upl and it is working.
Thanks,
Gabor
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Topic Author
- Away
- Administrator
12 years 1 month ago #20454
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Herachical folder structure feature in EDocman
Great. Thanks for confirming !
Tuan
Tuan
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.