0

Suppose in a School's website, I have some departments. They want their class lectures, class routines, course curriculum to be uploaded under their departments. Typically we did some very simple things - all the departments are now simple hierarchical pages. How to go with it.

We thought to go with a new content type, where the taxonomy will be the department name, where under the department names will be the type of document (whether class routine, or class lecture etc.) and under that taxonomy if we write a content, then we can go through the taxonomies to the content. In a scene they will be:

Home
  - Departments
     - Zoology
       - Class Lecture
         - Content
       - Class Routine
         - Content
       - Class Curriculum
         - Content
     - Biology
       - Class Lecture
         - Content
       - Class Routine
         - Content
       - Class Curriculum
         - Content

BUT NOT the file directly. We need to attach file under taxonomy, not the content. So there is a problem.

How can we proceed to such extent?

2
2

You can attach file with taxonomy as below:

  • Go to Administration -> Structure -> Taxonomy
  • Edit Vocabulary, which you want to use, from the list of Vocabulary.

    enter image description here

  • Click on "Manage Fields" tab in the top of the page.

    enter image description here

  • Add new field of field type as file and assign the required file extension which you want to upload and save the field.

    enter image description here

    enter image description here

    enter image description here

  • When you create new term of the vocabulary, it will allow you to upload file with term.

    enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.