Your Moodle version

Course formats: Flexpage format

format_flexpage
Maintained by Picture of Chris Follin Chris Follin, Picture of Kris Stokking Kris Stokking
Moodlerooms is proud to release Flexpage, a course format that provides a teacher with complete control over how educational materials and assessments are presented to a student. Flexpage allows a teacher to create a flexible set of pages and sub pages where blocks and activities can be placed in any location on the page instead of being restricted to a right, left or center column. Flexpage courses provide teachers with the ability to determine how many columns of data are contained within a course (up to three-columns). This allows teachers to have complete control over how they want to present course materials and assessments to students.
7k
142
2

Sets

This plugin is part of set Flexpage.

Contributors

Picture of Chris Follin
Chris Follin (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of José Jardines
    Wed, Jan 22, 2014, 12:40 AM
    Hi Kris, the activity block (file) doesn't work in flexpage for moodle 2.5, appears this message: Failed to display the associated activity, please confirm block's configurations. The error message: "Detectado un error de codificación, debe ser corregido por un programador: You cannot call $PAGE->set_activity_record until after $PAGE->cm has been set.
  • Beaker
    Mon, Mar 31, 2014, 8:49 PM
    I am experiencing the same issue as José Jardines, which I note is 8 weeks old. Error message: Failed to display the associated activity, please confirm block's configurations. The error message: "Coding error detected, it must be fixed by a programmer: You cannot call $PAGE->set_activity_record until after $PAGE->cm has been set." Is this being looked at?
  • Picture of Kris Stokking
    Tue, Apr 1, 2014, 9:39 PM
    David/Jose - sorry for missing the original note, but the plugin comments aren't the appropriate place to handle issues. Would one of you be able to put the details into a ticket on Moodle's Tracker, and include the full stack trace (enable debugging) and specifics about how to reproduce the problem? Thanks in advance.
  • Picture of Doug Loomer
    Sat, Apr 19, 2014, 1:28 PM
    2.6?
  • Picture of Kris Stokking
    Thu, Aug 14, 2014, 11:33 PM
    A new version of this plugin for Moodle 2.6 has been uploaded to the plugins repository. We apologize for the delay - there were significant updates that were required for the new course editing interface in this version of Moodle. There are no known issues with the new version at this time, but if you do experience a problem please ensure that you submit any issues to tracker.moodle.org.
  • Picture of Kathryn Davis
    Wed, Dec 17, 2014, 8:22 AM
    2.7? smile
  • Picture of Kris Stokking
    Wed, Jan 21, 2015, 7:05 AM
    A new version of this plugin for Moodle 2.7 has been uploaded to the plugins repository. There are no known issues with the new version at this time, but if you do experience a problem please ensure that you submit any issues to tracker.moodle.org.
  • Picture of Keshava Murthy K N
    Tue, Jan 27, 2015, 5:01 PM
    I installed the new version of the plugin for 2.7 and got the following error message while adding file activity in the flex page. I see that this has already been reported in earlier versions by some persons in this forum. Is this not resolved?
    Failed to display the associated activity, please confirm block's configurations. The error message: "Coding error detected, it must be fixed by a programmer: You cannot call $PAGE->set_activity_record until after $PAGE->cm has been set."
  • Picture of Jean-Pierre Mouret
    Sat, Mar 14, 2015, 6:04 AM
    I really would like to use this format. But: I get following error after install ing:
    Fatal error: Class course_format_flexpage_lib_condition contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (core_availability\info::get_view_hidden_capability) in/var/www/…/course/format/flexpage/lib/condition.php on line 32
    Any idea?
  • Picture of Michel DENIS
    Fri, Mar 20, 2015, 3:54 PM
    Do the flex plugins work on Moodle 2.8 ? Anyone tried ?
    Thanks,
    -michel
  • Picture of Peter Eckstein
    Sat, Apr 11, 2015, 10:16 PM
    I tried to install Flexpage set after updating to 2.8.5+ and it doesn't work. The error message I get is...Fatal error: Class course_format_flexpage_lib_condition contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (core_availability\info::get_view_hidden_capability) in www.../public_html/moodle/course/format/flexpage/lib/condition.php on line 32
  • Picture of Kris Stokking
    Mon, Apr 13, 2015, 7:23 PM
    Hi Peter - Flexpage is one of the more challenging plugins to upgrade, and a 2.8 version is not yet available. We'll post back here when it's ready for Moodle 2.8.X.

    On a related note, there's no need to post a comment in all of the plugins of the Flexpage set - they are all sent to the same maintainers.
  • Picture of moris afou
    Wed, Apr 22, 2015, 9:42 PM
    Hi there,
    I've tried to install all plugins to get flexpage format working, but when i create a course with flexpage format i get this error :
    Fatal error: Class course_format_flexpage_lib_condition contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (core_availability\info::get_view_hidden_capability) in /$HOME/moodle/course/format/flexpage/lib/condition.php on line 32
    Im using moodle 2.7.7 and i guess the plugins i downloaded are 2.7.0 its could be the problem ?
    ( sorry if i posted twice, i was bit lost where is the right place)
    Best regards
  • Picture of Charlotte Nicolas
    Fri, Jun 12, 2015, 4:16 PM
    Hi,

    I read in the documentation that "The format can be extended to display resource and activity content inline (in the flexpage). This currently only works for forums and resources - other activities show a link as expected."
    It's a very interesting feature.
    I would like to know if it is easy to add all others activities inline ?
    To make it, What part of the code must be changed ?

    Thanks,
  • Picture of Chris Follin
    Tue, Jun 16, 2015, 2:19 AM
    Hi, Charlotte. It is possible to add Flexpage inline support to other plugins, but it must be done for each plugin. There is no way to add it for all plugins at once.

    There are two ways to make an activity display inline:
    1. Create a file blocks/flexpagemod/lib/mod/{modname}.php
    2. Create a file within the module itself, mod/{modname}/flexpage.php

    Both files would have the same code, which would look similar to the contents inside of the current files in blocks/flexpagemod/lib/mod directory.
1 2 3 4
Please login to post comments