sandra

About

Username
sandra
Joined
Visits
2,217
Last Active
Roles
Administrator
Points
291
Preferred Name
Sandra
  • [RESOLVED] .twig.html files not updating after modifications

    Thanks for sharing your solution! :smiley: If you change your System Settings > Install Type to "Development" then it will automatically recalculate the cache anytime you change the template files. This helps if you're making a lot of changes, particularly on a local install.

    Rather than editing the resources/templates, you can also place a copy of any templates you change into a themes/Default/templates folder. The system will use these first, then fall-back to the ones in resources/templates, allowing you to selectively override templates without them being replaced on the next system update.
    meierromadmin
  • Grading Scale as Text input

    Hi Daniel,

    Yep, in School Admin > Markbook Settings you can "Enable Raw Attainment Marks" which allows teachers to enter numeric values for an assignment. For example, they can set an assignment out of 20 points when creating it, then enter the values for each student in the Enter Data page. If you're using a Percent attainment scale, this will auto-calculate the percentage as well.
    admin
  • Easier tracking of db issues

    Hi Roman,

    Sounds interesting, I haven't run into any corrupted table problems :/ Providing more troubleshooting tools for these cases would certainly be handy. Is this something you'd be interested in coding up for the System Check page?

    Thanks!
    meierrom
  • Markbook bug

    Hi Roman,

    Well spotted. Luckily this bug has been fixed for v18. Here's a link to the issue thread if you'd like to apply the fix to your current install: https://github.com/GibbonEdu/core/issues/782

    Thanks!
    meierrom
  • Fatal erro/Uncaught Error: Call to undefined function Gibbon\gettext()

    Hi Gary,

    Hopefully your hosting provider can enable this extension for you. Until then, if you don't need language translation you could edit the src/Gibbon/Locale.php file and update lines 248-250 in the translate method to the following:
            if (function_exists('gettext')) {
                $text = empty($domain) ?
                    gettext($text) :
                    dgettext($domain, $text);
            }
    The translateN method likely needs updated with a similar conditional.

    These changes would be overwritten the next time you update, but they should allow you to proceed for now with using the system without gettext installed.
    admingaryc