Public bug reported:

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

** Affects: mahara
     Importance: Undecided
     Assignee: Hugh Davenport (hugh-catalyst)
         Status: In Progress

-- 
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:
  In Progress

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to