Skip to content
Kamoorjdocs
Documentation

Document header and footer

Edit and attach layout partials for the operational plan.

On this page

Purpose and access

Open Learning Management → Operational study plan → Configuration. Expand the header or footer section and click Add, or select a context-specific layout and click Edit. The editor route is /operational-study-plans/configuration/partials/:id (use new for a new layout). The URL retains the partial kind and configuration return path.

A partial is a reusable header or footer. Configure institutional details, plan title and course in the header, and signatures or notes in the footer. The operational plan configuration controls partial assignment and document columns. Editing partials does not change subjects, hours or grades.

Create and assign a header

  1. Save the configuration before opening the editor, since returning reloads the saved configuration.
  2. Enter a multilingual name, for example “Operational plan — header”, “Оперативный план — шапка”, or “Օպերատիվ պլան — վերնամաս”. At least one nonempty translation is required, with up to 255 characters per translation.
  3. Confirm the Header kind. Switching the kind opens a new layout of the chosen type and leaves the existing partial unchanged. Create a separate Footer for the bottom of the document. There is no student/employee subject type here.
  4. Add sections and blocks. Insert the university name as a variable and “Operational study plan” as fixed text. Position the blocks on the grid and configure their dimensions, alignment and formatting. Add a library image, date or signature line as needed. Background color applies to the partial itself.
  5. Open the layout preview to inspect positions and sizing. Verify the actual plan values later against a document generated for a particular course.
  6. Save. A new partial receives a permanent ID and initially has draft status. Saving does not assign it to a document.
  7. Return to the configuration, select the new partial and activate it. Save the configuration separately and generate the operational study plan again.

The partial and the configuration have independent save operations. Leaving the editor with unsaved changes triggers a warning.

Available data

The editor creates templates in the operational-plan context. Common institutional variables include university.name, abbreviation, address, website, phone and email.

Key Meaning
plan.academic_year Academic year of the selected course. For intake year 2025/26 and course 2, this is 2026/27 if present in the calendar.
plan.faculty Faculty name from the plan.
plan.speciality Parent speciality for a child program, or the root speciality itself.
plan.program Child educational program; empty for a root speciality.
plan.learning_format, plan.educational_degree, plan.education_sector Plan's learning format, degree and sector.
plan.course Selected course number.
plan.name Original plan speciality/program name and intake year.
plan.term_1_caption, plan.term_2_caption Both semester captions from the same catalog that supplies the table headings.

For footers, role.name prints the role name, employee.by_role_scope prints the signatory's name, and signatory.attribute prints their position, abbreviated position, academic position, department, degree or title. Choose a role in the block properties and pin a particular employee where the selection allows it. Use the same role and signatory on the name and attribute blocks. If multiple employees hold the role, inspect the actual exported signature.

Sections are static. Data sets and loops over students or subjects are unavailable. Each variable is a single value. A saved partial's context cannot be changed.

Manage assignments and status

The header and footer selectors list shared and operational-plan partials with their names and statuses. Search uses the displayed option label. Selecting a draft or archived item lets you view its status, but only active IDs are assigned in the configuration.

Action Result
Choose active Set its ID in the editable configuration; save the form.
Clear Remove the assignment in the editable configuration.
Activate Change the context-specific partial to active and select it.
Archive Change its status to archived and clear the assignment in the current form.
Delete After confirmation, soft-delete the partial and refresh the cleared selector.

Active shared layouts can be assigned. Editing, activation, archiving and deletion from this selector apply to layouts in the operational-plan context. The Current marker identifies that context, regardless of the author.

If another configuration uses the same partial, edits affect that document too. Check other assignments after archiving or deleting, as the server accepts only applicable active partials. When no partial is assigned, a server export may use the module's default layout.

Permissions and troubleshooting

Action Required access
Open editor lp-operational-config; the editor save button uses the configuration create/edit permission group.
List, open, read variables and signatory candidates export-header-templates.index or export-footer-templates.index, depending on the kind.
Create partial The respective export-header-templates.store or export-footer-templates.store. Backend update, status, delete and media-writing routes are also bound to the corresponding store permission.
Save assignment Create/update rights for operational-plan-configs.

Partial libraries are system-wide, without faculty or profession scope for their templates. Document generation checks access to the original plan separately.

  • List empty or loading error: check library read access.
  • Edit unavailable: check ownership context and configuration permissions; saving also requires library write access.
  • Missing name or layout validation error: enter at least one translation and inspect the editor's error list for invalid properties, variables or formatting.
  • Cannot assign: activate the template and verify matching kind/context. The server rejects invalid, deleted, inactive or inapplicable IDs (operational_plan.partial_not_applicable).
  • Missing program in export: check the speciality tree, translations and original plan. An empty program for a root speciality is expected.
  • Unexpected header in PDF/XLSX: check the selected configuration's saved assignment and module default header, then rebuild and export the document.

Implementation references

Updated Nov 27, 2026