← Back to team overview

mahara-contributors team mailing list archive

[Bug 1220044] [NEW] allowed blocktypes and common blocktypes in chooser issue

 

Public bug reported:

Now that we are having a couple of common blocktypes being default on
the artefact chooser panel  there needs to be some sort of check to make
sure the theme is allowed to see them.

I know than in some themes they can have their blocktypes and blocktype
categories be restricted via functions

local_get_allowed_blocktype_categories($view);
and
local_get_allowed_blocktypes($category, $view);

in local/lib.php

so there should be some sanity check on the common blocktypes rather
than having them hardcoded in the template done at some point.

** Affects: mahara
     Importance: Low
         Status: New

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1220044

Title:
  allowed blocktypes and common blocktypes in chooser issue

Status in Mahara ePortfolio:
  New

Bug description:
  Now that we are having a couple of common blocktypes being default on
  the artefact chooser panel  there needs to be some sort of check to
  make sure the theme is allowed to see them.

  I know than in some themes they can have their blocktypes and
  blocktype categories be restricted via functions

  local_get_allowed_blocktype_categories($view);
  and
  local_get_allowed_blocktypes($category, $view);

  in local/lib.php

  so there should be some sanity check on the common blocktypes rather
  than having them hardcoded in the template done at some point.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1220044/+subscriptions


Follow ups

References