← Back to team overview

mahara-contributors team mailing list archive

[Bug 1397110] Re: Cannot add image to template files

 

Thank Aaron,

1. I will change the ownership of these templates to site templates
2. Implement allowed_in_view() for each blocktype to make sure which one can be added into which template
3. Make sure all blocktypes which have file picker can select site files only
4. Update the method default_copy_type() for each blocktype

Cheers,
Son Nguyen

-- 
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/1397110

Title:
  Cannot add image to template files

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  Confirmed
Status in Mahara 15.04 series:
  In Progress

Bug description:
  Mahara 1.10+

  When you change the template in Admin -> Config site -> Pages, you
  cannot add an image to either of the three templates. You can put the
  block there and select an image, but it is not going to be displayed.

  The file that you upload does not sit in the site files, but somewhere
  that is not accessible. They seem to be stored under the "System user"
  (also for group homepage), but you don't have access to those on the
  front-end.

  The only image that you can display is the default user profile icon.

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


References