Tell us what you are trying to do?
The CPT "Memorias" will be designed to record anecdotes and stories, allowing users to share their experiences. This CPT will include fields for the anecdote's title, detailed content, and will be linked to the "Camadas" taxonomy to categorize stories by graduation year.
The CPT "Alumnos" will store student information. Essential fields will include name, surname, and email address. The particularity of this CPT is that, when entering a new student, the system will search for matches with existing records. If the student is already registered, a new entry will not be allowed. Otherwise, the registration will proceed. This CPT will also be associated with the "Camadas" taxonomy, allowing each student to be linked to their graduation year.
The CPT "Profesores" will contain teacher data, such as name, surname, and possibly the subjects they teach or the years they were active. Like the other CPTs, it will be integrated with the "Camadas" taxonomy to allow searching for teachers by the year they taught a particular "Camada"
The "Camadas" taxonomy will be a numeric taxonomy, whose main purpose is to represent the students' graduation year. The fundamental characteristic of this taxonomy is its uniqueness: each graduating class year (for example, "1984") can only exist once, avoiding duplications and maintaining data integrity.
To facilitate user interaction and data entry, an anecdote entry form will be created. This form will allow users to add a new "Memoria," requesting the author's name, surname, and email address. A crucial field on the form will be the selection of the "Camada" (school graduation year). When entering the year, the system will verify if the "Camada" already exists in the taxonomy. If the year is not registered, it will be automatically created as a new term in the "Camadas" taxonomy, ensuring that all relevant graduation years are properly classified.
In summary, this content architecture seeks to establish a robust and well-structured system for organizing and managing information related to stories, students, and teachers, using the "Camadas" taxonomy as a central axis for data navigation and categorization.
I have the following doubts:
The form would be registering or choosing a student from the "Alumnos" CPT, registering a "Memoria" and registering which year both the student and the story belong to.
How do I make the "Camadas" taxonomy only accept numbers and be unique?
In the form, when one writes the student's name, if it exists, it should automatically connect them with their "camada" and, when published, the content of the anecdote, which is a field of the "Memorias" CPT, should also be connected to the same "camada" as the student. How do I do this in Toolset?
Is there any documentation that you are following?
Yes, I followed the tutorials
Is there a similar example that we can see?
no
What is the link to your site?
hidden link