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.
I am using the Omega Kickstart subtheme, and breakpoints are never loaded into the Breakpoint module screen, even after several enable/disable cycles of the theme.
This makes the module completely dysfunctional.
Comments
Comment #1
zoon_unit CreditAttribution: zoon_unit commentedFurthermore, I have tried manually importing the breakpoint text from the Omega theme and I receive a "not a valid breakpoint" error.
Comment #2
solam CreditAttribution: solam commentedI have also encountered this issue with my omega 7.x-4.0-beta1 subtheme.
I had to manually insert breakpoints on this page: admin/config/media/breakpoints,
than group them on this page: admin/config/media/breakpoints/groups/add
to be able to use those breakpoints with picture module
Comment #3
attiks CreditAttribution: attiks commented#1 What version of omega are you using?
Comment #4
retrodans CreditAttribution: retrodans commentedI appear to be having a similar issue, the omega parent them I am using is (Omega 7.x-3.1).
The lines in my .info file are:
Comment #5
attiks CreditAttribution: attiks commentedCan you try the following:
1/ use the dev version if you're not already doing so
2/ install the devel module and go to /devel/php
3/ execute
breakpoints_themes_enabled(array('my_theme'));
4/ if that doesn't work execute
dpm(list_themes());
and see if your theme is listed and underneatch you should see a key 'info' and your breakpoints.PS: This is not critical, but I understand the annoyance.
Comment #6
retrodans CreditAttribution: retrodans commentedSecond command returned a nice array:
dpm(list_themes());
My theme was lsited, and insidethe info I can see my custom breakpoints there. Sadly though they still do not appear on the admin page (/admin/config/media/breakpoints).
Comment #7
attiks CreditAttribution: attiks commenteddouble check: you replace my_theme with the name of your theme?
Comment #8
retrodans CreditAttribution: retrodans commentedAhah, excellent, thanks, that imported the breakpoints fine for me and they now appear to be available.
Comment #9
attiks CreditAttribution: attiks commentedI added a new button on each theme settings page 'Scan this theme for breakpoints' so you can manually import the breakpoints defined in a theme .info.
Comment #11
Ankabout CreditAttribution: Ankabout commentedWhere exactly did you add this button? I can't seem to find it.
I did however manage to have the breakpoints added using the php code.
Comment #12
attiks CreditAttribution: attiks commentedThe button is on each theme settings page, next to the save button, you might need to clear the cache after downloading the latest code.