Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
When I install breakpoints, and I click on the breakpoints configuration link on the modules page, I am simply taken to the media configuration category. There is no real guidance on what to do next. Not what I was expecting.
Comment | File | Size | Author |
---|---|---|---|
#1 | i1706600-1.png | 11.22 KB | attiks |
Comments
Comment #1
attiks CreditAttribution: attiks commentedThat link should take you to admin/config/media/breakpoints and should look like
Comment #2
attiks CreditAttribution: attiks commentedFastest way to start is to first add some breakpoints into your theme.info file before enabling the breakpoints module.
Zen starterkit:
Omega:
Comment #3
attiks CreditAttribution: attiks commentedIs this still a problem? If so, feel free to re-open this issue
Comment #4
carajito CreditAttribution: carajito commentedHi I'm using omega, I copy and paste the breakpoints that you put on the #2 comment on the .info file of my sub-theme, I clear all caches and I did'n see nothing on the breakpoints module.
What is row?
Comment #5
attiks CreditAttribution: attiks commentedYou need to disable/enable the theme and/or breakpoints module, the only time breakpoints are read from .info file is on enable.
Comment #6
attiks CreditAttribution: attiks commentedLatest dev allows you to reload breakpoints from a theme
Comment #8
Yuri CreditAttribution: Yuri commented#attiks: I have installed the dev but see no 'reload breakpoints from a theme' setting?
Breakpoints are not loaded from Omega, not after disable/enable the theme and/or breakpoints module.
Can someone verify this please, thanks
Comment #9
Yuri CreditAttribution: Yuri commentedThe readme of the breakpoints dev says
and I also get an error message:
Error messageWarning: Invalid argument supplied for foreach() in resp_img_admin_breakpoints() (line 44 of /home/gezond/public_html/sites/all/modules/resp_img/resp_img.admin.inc).
So I guess the current dev is being worked on..
Comment #10
attiks CreditAttribution: attiks commentedYou added the breakpoints into your theme.info file?
Comment #11
Jelle_SComment #12
attiks CreditAttribution: attiks commentedComment #13
dadderley CreditAttribution: dadderley commentedI have Breakpoints 7.x-1.0 installed. I am using it with Context and Context Breakpoint.
I have this:
Copied into my theme (omega sub-theme) .info file. It is imported into the breakpoints settings.
But, this does not yield useful parameters for Context and Context Breakpoint.
Is there some documentation for how to create these breakpoint settings?
Comment #14
attiks CreditAttribution: attiks commentedAre you sure it isn't an issue with http://drupal.org/project/context_breakpoint
Comment #15
dadderley CreditAttribution: dadderley commentedTo be honest, there are a lot of uncertainties here.
My objective is to have breakpoints set up so that I can create contexts that allow me to swap in blocks for each size of the display.
I have 4 separate blocks for the logo image and I have am trying to set it up so it will show a different logo block for each size.
One thing that I do know for sure is that if I have use this setting (as per the example configuration for omega):
The block I have set for the mobile setting is displayed all of the time on all sizes.
If I have use this setting:
The block I have set for the mobile setting is displayed only in the mobile size.
I know that the Context Breakpoint module is pretty new and is still in development. This may well be the problem. I added to an issue that I thought might be relevant over there http://drupal.org/node/1866322#comment-6923610.
But I do not know this stuff well enough to actually know what is going on.
I have been having some success playing with the breakpoints settings.
I suspect that some of the syntax in the omega example configuration may not be understandable by the breakpoints module.
Does the breakpoints module understand this:
There are a lot of unknowns here. If I had a clearer understanding of how this particular syntax worked ut would be easier.
Sorry for sounding frustrated. I hope that I am explaining the situation clear enough.
Thanks
Comment #16
attiks CreditAttribution: attiks commentedI had a quick look at the context breakpoints code, and they aren't using media queries to parse them, so probably the ones from omega are too complex.
You can try using simpler breakpoints to test, when/if I have time I'll try to propose a solution.
Comment #17
dadderley CreditAttribution: dadderley commented@attiks
Thank you for looking at this.
That is what I was thinking, but could not articulate.
I am trying to wrap my head around this and am having a tough time of it.
Does the breakpoints module itself parse the omega breakpoints?
I would like to use it for image styles
Comment #18
attiks CreditAttribution: attiks commentedBreakpoints doesn't parse breakpoints, they are passed as configured to other modules.
For image output you can have a look at http://drupal.org/project/picture
Comment #19
StuartDH CreditAttribution: StuartDH commentedFor me, I think the issue was not disabling then re-enabling the theme...could maybe do with emphasising the need to do this by making it a separate step on http://drupal.org/node/1902264
Followed the rest of the steps and all works brilliantly!
Thanks for the modules
Comment #20
attiks CreditAttribution: attiks commentedLooks like you found the docs
Comment #21
sackwort CreditAttribution: sackwort commentedDo breakpoints have to be added to the .info file, or can they be added via the module itself using the configuration form shown in the above comment #1?
Comment #22
attiks CreditAttribution: attiks commented#21 You don't have to add them to the theme, you can use the UI to create them.
Comment #23
sackwort CreditAttribution: sackwort commentedExcellent. Thank you.
Comment #24
attiks CreditAttribution: attiks commented