← Back to team overview

mahara-contributors team mailing list archive

[Bug 796380] Re: pieform contextual help doesn't work as expected for blocktypes within artefacts

 

** Changed in: mahara
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/796380

Title:
  pieform contextual help doesn't work as expected for blocktypes within
  artefacts

Status in Mahara ePortfolio:
  Fix Released

Bug description:
  For example, if I had an artefact foo, and blocktype bar inside it, the directory structure would be
  htdocs/artefact/foo/blocktype/bar

  If i had a pieform with the instance_config_form, with an element as follows
  array('title' => 'foobarbam', 'type' => 'textarea', 'help' => true)
  When I click on the help button, I would expect the following file to be opened
  htdocs/artefact/foo/blocktype/bar/lang/en.utf8/help/forms/instconf.foobarbam.html
  instead, mahara tries and fails to open
  htdocs/blocktype/bar/lang/en.utf8/help/forms/instconf.foobarbam.html

  Fix to follow.

  Cheers,

  Hugh

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


References