I was having a lot of problems with this module on a fairly complex site with pages and views so I am now testing out on a clean drupal install (with admin menu module added). I added new article and themed the border and few aspects.

Closed the theme inspector and got message: "Warning: strpos() [function.strpos]: Empty delimiter in _inspector_home() (line 56 of C:\wamp\www\drupal-7-x\drupal_1\sites\all\modules\livethemer\livethemer.inspector.inc)."

Comments

jeff h’s picture

Status: Active » Closed (fixed)

Wow, you have discovered that the code presumes the livethemer_base theme is in the site, which is a false assumption. Pretty simple fix — keep an eye out for it in a dev release shortly.

I was having a lot of problems with this module on a fairly complex site with pages and views

Sorry to hear this. If you have time to describe any specific problems that would be great.

Thanks,
Jeff

Syntapse’s picture

Will keep my eye out for updates for sure... This is a great module and I strongly considering using it on my next project. Does it override my projects CSS or does it provide a (non-CSS layer) override? Is there a performance overhead delivering pages that have been "LiveThemed"?

Thanks

sonictruth’s picture

Once you have finished styling your site with Livethemer you can (and should) turn off the livethemer_inspector.module. Once this is off, all Livethemer does is provide CSS and template files in the same way that a regular theme does so there is no performance overhead. The CSS output by Livethemer SHOULD come after (and therefore override) your theme's CSS however there is a bug with this which we are looking into. So if you're experiencing issues with this aspect of the module you can expect it to be fixed in the dev release soon.

sonictruth’s picture

Title: error » code presumes the livethemer_base theme exists

Changing title to something a little more descriptive.

sheena_d’s picture

The latest code in git still contains this issue.

The fix in commit 434a26b does not resolve the error messages. When livethemer_base is not present, the functions end up passing an invalid value of ' ' for $needle to strpos. This results is the same "Empty delimiter" error messages.

jeff h’s picture

Grr, sorry about this. We'll get the proper fix in on Friday.

jeff h’s picture

OK, surely that's now dealt with... I've pushed this fix into dev and released livethemer beta 3.