sandra

About

Username
sandra
Joined
Visits
2,694
Last Active
Roles
Administrator
Points
593
Preferred Name
Sandra
  • PHP: Add nameInCharacters to SearchCriteria

    Hi ub123,

    If you open the file src/Domain/User/UserGateway.php you'll see an array at the top of the class called $searchableColumns. If you add nameInCharacters to this array, you should see that this field is now searchable.
    adminmeierromub123kelvinmw
  • Grade Scale and Overall Meanscore

    Hi Kelvin,

    The following syntax may help. It can be added near the top of your template so that you can output it later in the template text. For the course mean, replace the key "COURSE" with the short name of the course (which can be done inside your main assessments loop). It turns out Twig's associative array indexing syntax is a bit odd, hence the merge in there.
    {% set total = 0 %}
    {% set totalArray = [] %}

    {% for assessment in internalAssessment %}

    {% set total = total + assessment.attainmentValue|number_format %}

    {% set courseTotal = totalArray[assessment.courseNameShort] %}
    {% set totalArray = totalArray|merge({ (assessment.courseNameShort) : courseTotal + assessment.attainmentValue|number_format}) %}

    {% endfor %}

    Mean: {{ total / internalAssessment|length }}


    Course Mean: {{ totalArray["COURSE"] / 3 }}
    meierromkelvinmwadmin
  • Add Additional Footer Information

    Hi englandyow, yes you can edit the footer template and add your own details. If you go into resources/templates you can edit the footer.twig.html. If you do change the footer, please help us by keeping any of the copyright, credit and link information from the bottom. This information is vital for our project in a number of ways.
    englandyowadmin
  • Rollover SQL error

    Great to hear! :smiley:
    kelvinmw