Reviewed:  https://reviews.mahara.org/4177
Committed: 
http://gitorious.org/mahara/mahara/commit/b822b5673edb615c1fd34af3f131aaaa2d0b9331
Submitter: Aaron Wells ([email protected])
Branch:    master

commit b822b5673edb615c1fd34af3f131aaaa2d0b9331
Author: Aaron Wells <[email protected]>
Date:   Wed Jan 14 17:29:38 2015 +1300

Let a theme specify that it has no parent

Bug 1410638. Currently, a theme that specifies no $theme->parent
in its themeconfig.php is forced to use "raw" as its parent.
With this patch, there are three options:

1. $theme->parent = false; : No parent theme.
2. $theme->parent = "sometheme"; : Sometheme is the parent
3. $theme->parent not defined at all: "raw" is the parent

Change-Id: Ibfeeae246b0f505b5759ee77eeed32467c464cab

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

Title:
  Allow a theme to specify that it has *no* parent

Status in Mahara ePortfolio:
  In Progress

Bug description:
  Currently *all* themes (except the "raw" theme) either have another
  theme as their parent, or they default to having the "raw" theme as
  their parent. If a theme has no $theme->parent in its themeconfig.php
  file, then it gets assigned the "raw" theme as its parent.

  The team that's working on switching our themes to the Bootstrap
  framework, say that it would be useful for their development work if
  they could make an "alternate raw" theme that does *not* inherit from
  the raw theme.

  So I've implemented a patch that allows a theme to specify
  $theme->parent = FALSE in its themeconfig.php, to indicate that it has
  no parent theme.

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to