Closed (fixed)
Project:
Noggin
Version:
7.x-1.0
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
16 Sep 2010 at 11:56 UTC
Updated:
13 Apr 2017 at 18:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eaton commentedActually, I'd originally intended the extra-attributes field to set the no-repeat and other related flags on the background image. Hard-coding the semicolon would make that impossible. You CAN manually add a semicolon to the field and it works to chain extra properties, but I'd prefer to maintain the ability to set the repeat and so on. Am I misunderstanding the implications of the patch?
Comment #2
Anonymous (not verified) commentedThere's actually two parts to the patch:
1. Fixing the incorrect variable name (from noggin:attributes to noggin:extra_attributes) - this is needed whatever the choice re part 2.
2. To use the 'short' version you could just add extra attributes, but with the semi-colon you can just add the long version, e.g. background-repeat: no-repeat, so it will still work. I guess it's up to you, I just didn't find it necessarily easy to understand, but I'm not really front-end dev. Perhaps just more instructions would help here if you don't want to alter the code.
Comment #3
Jeff Burnz commentedIMO we just need to get that variable name right, which would be real good it that was fixed.
Maybe the description needs some minor work to clarify what and how to enter background properties. As a front end dev I would see "attributes" as things added to html elements, in CSS I would only refer to an attribute in terms of a selector (attribute selectors), strictly speaking CSS has declarations, properties and values - in this case we would be adding properties and values, such as
no-repeat 0 -100px.Maybe we need something more like:
Comment #4
eaton commentedThanks for the clarification, Jeff. I'm about to roll a new release and I think the changes you described will help clarify the purpose and behavior.
Comment #5
hazaJust fixing the missing variable name here, because I think this really should be corrected as this is a real bug ;)
Comment #6
hmartens commentedhellooo..anybody there? Is this module still being maintained? Eaton you said December that you're about to roll out a new build but still nothing. A year later and still no resolve for this..
Please help!
Comment #7
Jeff Burnz commentedFixed by default in #1002758: Allow each theme to have unique header images