HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Add a same subcategory to difetent main categories
Can I do Like this?
Main Category 1
- Sub Category 1A
- Sub Category 1B
Main Category 2
- Sub Category 1A
- Sub Category 1B
In vanilla 3.3
0
Comments
Yes
Sorry (god morning to me) just read your question and understood it this time.
Eh no, don't think so
So you are asking the same child category has multi parents? so same sub forum lives in 2 different places?
Yes is it possible?
Generally not. You might be able to tweak some views, but at least the discussioncount in the categories will not be correct. But even that could possibly tweaked.
You would need a plugin. In /applications/vanilla/views/categories/all.php there are those lines:
The function writeCategoryList is defined like that:
You would need to copy that function under your plugin class and slightly change it. Find out the structure of
$categories
and change it the way you want. That should be all that is needed. But since it is dirty tweaking, there might be some unforseeable side effects ¯\_(ツ)_/¯@R_J Thank you for your response & your ideas.. Actually my problem is I made the forum for university students in my country. The learn lot of courses and the coursers have lot of modules. some courses have same modules.
example:
Software engineering
Electrical and Electronic Engineering
Engineering and Technology
can you understand my problem?
Is there are any solutions, ideas?
can you suggest this kind of educational forum for get ideas about category format?
I made this forum for university students to learn from home.. so I need your help and a fast solution. thank you!
What about
other courses also have common modules 😑