I required a looping time to display as a block on The English Farm site to show the amount of time left in a lesson and when breaks are between classes. As an online school, we don’t have a bell to remind students and teachers when to start and finish classes, so I needed a […]
Archive | TEF
Getting dompdf to work without errors
Drupal Drupal PoligoSummary: Printing PDFs was not working (getting blank pages) and throwing up “Warning: require_once” errors. Solution: After installing dompdf in sites/all/libraries, you need to install the php-font-lib library and then create a dompdf/lib/php-font-lib/classes/ directory, in which you put the contents of the src/FontLib/ folder. I tried to set up the Print module on Poligo a […]
Creating views with Profile2 fields
Development diary Development diary Development diary Projects Projects Projects Web Web WebSummary: Profile fields in Views were either not showing up at all or showing up multiple times. Solution: Add one relationship to the view for each profile type from Profile2. I was creating an author profile block earlier this week, but could not get the profile fields to display correctly. Some were empty. After going […]