|
Implementing document in multiple categories for DOCman |
|
I have a requirement to put the same document in two categories, however the standard install of DOCman does not have this functionality. While a document can be copied and the copy put in a different category, this approach would be difficult to maintain when a new version of the document is uploaded. I've seen lots of people asking for this functionality, so I thought I'd document how I've implemented it. If you have a better suggestion or improvements, please leave a comment at the bottom.
I'm using DOCman v1.5.8, so all code references will be applicable to this version only. I have included lots of screen shots, so if your version is different you should at least be able to find the surrounding code even when the line numbers don't match.
WARNING: The below changes modify DOCman core files, and any changes would need to be reapplied if you upgrade the DOCman version on your site. Making these changes is at your own risk, I am not offering any support and will take no responsibility for any consequences of these changes.
First thing you should do is take a full site backup, I recommend using Akeeba Backup. Now that you have a rollback plan, you can start doing some damage :)
|
|
|
|
|