sandra

About

Username
sandra
Joined
Visits
2,752
Last Active
Roles
Administrator
Points
613
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
  • A word of THANKS

    Thanks Glenn, awesome to hear! Gibbon is certainly a labour of love, so it's amazing to see the community embracing and supporting it. We're always slowly working away on improvements and refactoring, but every once in a while there's a nice leap forward in functionality, so it's great to hear your positive feedback about the recent changes : )
    meierromkelvinmw
  • Table Properties Pop up

    If you scroll up or down on the page, the hover over should move to the top or bottom of the table. This is the behaviour of the TinyMCE plugin, and not something we've intentionally programmed. However, the tools for editing tables are important to have access to, so you should be able to scroll so that you can type in the table and still access these tools.
    vishalr