← Back to team overview

mahara-contributors team mailing list archive

[Bug 891010] Re: load plugin stylesheets from theme folder

 

** Tags added: themes

** Tags added: plugins

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

Title:
  load plugin stylesheets from theme folder

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Please make themes completely modular within their own folder, rather
  than having to create a new folder in a plugin for the theme.

  Current (example):
  /theme/default/static/style/style.css
  /interaction/forum/theme/default/static/style/style.css

  Proposed:
  /theme/default/static/style/style.css
  /theme/default/interaction/forum/static/style/style.css

  The reason for the proposed change is to make themes fully modular,
  specifically when dealing with a version control system, specifically
  that all versioning is contained in the theme folder, rather than in
  the mahara root folder:

  Current (example)
  /.git

  Proposed:
  /theme/default/.git

  From what I can tell this only affects the following file:

  /lib/web.php

  specifically around lines 331-337, it seems to just require changing
  the get_url() call to look in the theme directory rather than the
  plugin directory.

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


References