← Back to team overview

mahara-contributors team mailing list archive

[Bug 891010] [NEW] load plugin stylesheets from theme folder

 

Public bug reported:

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.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups

References