Moodle

New elements on the block settings form to control sticky blocks

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.0
  • Component/s: Blocks
  • Labels:
    None
  • Affected Branches:
    MOODLE_20_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

These controls need to allow editing of the following db fields.

block_instances.showinsubcontexts
block_instances.pagetypepattern
block_instances.subpagepattern
block_instances.defaultregion
block_instances.defaultweight

block_positions.visible
block_positions.region
block_positions.weight

These will go at the end of the form, after the other controls that edit block_instances.config, and the data in any block-specific DB tables.

Activity

Hide
Tim Hunt added a comment -

Done.

Show
Tim Hunt added a comment - Done.
Hide
Tim Hunt added a comment -

Actually, this is not quite finished. Needs better permissions checks.

Show
Tim Hunt added a comment - Actually, this is not quite finished. Needs better permissions checks.
Hide
Tim Hunt added a comment -

OK, proper permissions checks added.

Show
Tim Hunt added a comment - OK, proper permissions checks added.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: