Hello all,
Fantastic module except for the problem I have. I created my layout and use the in-place editor. I go to the page, add blocks to the different regions but when I hit save I get a page full of ajax text:
[{"command":"settings","settings":{"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"esi","theme_token":"dqcLh8pzY20rqJiFKjs5SdAnta16uBxwOJ7sjLicYm8","jquery_version":"1.7"},"CToolsModal":{"loadingText":"Loading...","closeText":"Close Window","closeImage":"\u003Cimg typeof=\u0022foaf:Image\u0022 src=\u0022http:\/\/esi.grassrootonline.com\/profiles\/spark\/modules\/contrib\/ctools\/images\/icon-close-window.png\u0022 alt=\u0022Close window\u0022 title=\u0022Close window\u0022 \/\u003E","throbber":"\u003Cimg typeof=\u0022foaf:Image\u0022 src=\u0022http:\/\/esi.grassrootonline.com\/profiles\/spark\/modules\/contrib\/ctools\/images\/throbber.gif\u0022 alt=\u0022Loading\u0022 title=\u0022Loading...\u0022 \/\u003E"},"PanelsIPECacheKeys":["panel-context-page-home-page-home-panel-context"]},"merge":true},{"command":"insert","method":"replaceWith","selector":"#panels-ipe-display-panel-context-page-home-page-home-panel-context","data":"\u003Cdiv id=\u0027panels-ipe-display-panel-context-page-home-page-home-panel-context\u0027 class=\u0027panels-ipe-display-container\u0027\u003E\u003Clink type=\u0022text\/css\u0022 rel=\u0022stylesheet\u0022 href=\u0022\/profiles\/spark\/modules\/contrib\/layout\/plugins\/layouts\/responsive.css\u0022 \/\u003E\n\u003Cdiv class=\u0022panel-responsive clearfix\u0022\u003E\u003Cdiv class=\u0022layout-responsive-region layout-responsive-region-header_a rld-col rld-span-smartphone_first rld-span-smartphone_3 rld-span-tablet_first rld-span-tablet_6 rld-span-standard_first rld-span-standard_7\u0022\u003E\u003Cdiv id=\u0027panels-ipe-regionid-header_a\u0027 class=\u0027panels-ipe-region\u0027\u003E\u003Cdiv class=\u0022panels-ipe-placeholder panels-ipe-on panels-ipe-portlet-marker panels-ipe-portlet-static\u0022\u003E\u003Cdiv class=\u0022panels-ipe-placeholder-content\u0022\u003E\u003Ch3\u003EHeader A\u003C\/h3\u003E\u003C\/div\u003E\u003Cdiv class=\u0022panels-ipe-newblock panels-ipe-on\u0022\u003E \u003Ca href=\u0022\/panels\/ajax\/ipe\/style-type\/panel_context%3Apage-home%3Apage_home_panel_context\/region\/header_a\u0022 class=\u0022ctools-use-modal style panels-ipe-hide-bar\u0022 title=\u0022Region style\u0022\u003E\u003Cspan\u003ERegion style\u003C\/span\u003E\u003C\/a\u003E \u003Ca href=\u0022\/panels\/ajax\/ipe\/select-content\/panel_context%3Apage-home%3Apage_home_panel_context\/header_a\u0022 class=\u0022ctools-use-modal add panels-ipe-hide-bar\u0022 title=\u0022Add new pane\u0022\u003E\u003Cspan\u003EAdd new........
I'd love to be able to use htis module and don't see anyone else having this issue. I'm using the Spark 7.x profile + Bootstrap.
EDIT: I just tried with another panels layout and IPE gives me an ajax error as well. I guess it's an issue with Spark + Panels IPE more so than Layout.
Comments
Comment #1
ashzade CreditAttribution: ashzade commentedComment #2
electroponix CreditAttribution: electroponix commentedI am having that same issue with the Panopoly/Pantheon Profile. Maybe it's Bootstrap then. Did you ever resolve your problem?
Comment #3
Knarf31 CreditAttribution: Knarf31 commentedI'm using a bootstrap theme and can confirm this behaviour.
By clicking "save" i also get a browser notification asking if i'm sure to leave this page.
Any ideas?
Comment #4
razvanb CreditAttribution: razvanb commentedSame error with Bootstrap theme and layout after saveing
[{"command":"settings","settings":{"basePath":"\/crm\/","pathPrefix":"","ajaxPageState":{"theme":"bootstrap","theme_token":"xZMDTw8Xqm3W1xWZOSfsWow_LWrVhtoewpImOMH3FvQ","jquery_version":"1.7"},"overlay":{"paths":{"admin":"field-collection\/*\/*\/edit\nfield-collection\/*\/*\/delete\nfield-collection\/*\/add\/*\/*\nnode\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-
i have tried with jq update , 1.7 , 1.9 , i was able to make this work only with drupal batrik theme
Comment #5
WeAreGeek CreditAttribution: WeAreGeek commentedI get this error too; using Panels (in-place-editor) and Bootstrap 7.x-3.0.
However, I am not using the Layouts module, but I am using Panels Bootstrap Layouts.
Editing the panel panes / layouts through the standard renderer works fine though.
Are you guys also using Panels Bootstrap Layouts? Because then this should probably be reassinged to the proper module.
Comment #6
petterw03 CreditAttribution: petterw03 commentedThis is an issue with Panels, and the good news is that there's a patch for fixing it here: https://www.drupal.org/node/2219965
Comment #7
deepakaryan1988I am using the Bootstrap Theme and Panels, I am also facing the same issue.
@above fix doesn't help me
Comment #8
zmove CreditAttribution: zmove commentedNo related with the issue but I wonder why people installing bootstrap theme install the layout module.
The layout module doesn't output bootstrap 3 style grid, or did I miss something ?
Alex