← Back to team overview

mahara-contributors team mailing list archive

[Bug 1238323] Re: Theme: site-logo image is ignored

 

Hmm, strange.

I followed the instructions:

If a new theme is created with the following structure (i.e. only a
site-logo.png and themeconfig.php)

/htdocs/theme/test/static/images/site-logo.png
/htdocs/theme/test/themeconfig.php

with the following in themeconfig.php:
$theme = new StdClass;
$theme->displayname = 'test';
$theme->parent = 'default';

And when I set my theme to the 'test' one I see the 'test' site logo - as expected.
I also made another new theme 'test2' with another new site-logo.png image and used 'raw' as parent - it also showed me the correct logo image.

I'm unable to replicate the problem - though I did note than when i went
to look at site in another browser I needed to do a hard refresh to get
new logo to show (as I'd been to the site before new logo was in place).

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

Title:
  Theme: site-logo image is ignored

Status in Mahara ePortfolio:
  Triaged

Bug description:
  Mahara: 1.8rc2dev
  DB: Postgres or MySql
  Op System: Linux
  browser: Firefox 24.0

  If a new theme is created with the following structure (i.e. only a
  site-logo.png and themeconfig.php)

  /htdocs/theme/test/static/images/site-logo.png
  /htdocs/theme/test/themeconfig.php

  with the following in themeconfig.php:
  $theme = new StdClass;
  $theme->displayname = 'test';
  $theme->parent      = 'default';

  
  When the 'test' theme is selected in site options, the site-logo.png is ignored. The default Mahara site logo is displayed instead.

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


References