I tried placing the jqueyr social stream pane on a panelized page but the pane did not render correctly. The block, however seems to render correctly (with some bugs not related to this issue but to another - facbook issuehttps://www.drupal.org/node/2481987#comment-9936888 ).
I tried to fix this by using the ctools way of rendering block and it seems to work fine. Patch Attached.
To reproduce the issue:
1. Go to a panelized page manager page
2. Go to content
3. Add Jquery stream pane. (See screenshot https://www.drupal.org/files/issues/Screen%20Shot%202015-05-19%20at%2010...)
4. Update and save
Expected: the pane renders as the block I suppose? (https://www.drupal.org/files/issues/Screen%20Shot%202015-05-19%20at%2010...)
Actual : the pane renders incorrectly see screenshot (https://www.drupal.org/files/issues/Screen%20Shot%202015-05-19%20at%2010...)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Screen Shot 2015-05-19 at 10.39.07 AM.png | 61.93 KB | awm |
| #2 | Screen Shot 2015-05-19 at 10.38.23 AM.png | 23.14 KB | awm |
| #2 | Screen Shot 2015-05-19 at 10.37.40 AM.png | 87.15 KB | awm |
| jquery_social_stream-pane-not-rendering.patch | 753 bytes | awm |
Comments
Comment #1
alex.bukach commented@awm, what is the issue with rendering the pane? Could you give more details for me to reproduce the issue? On my side it works fine with panelizer.
Comment #2
awm commentedComment #3
awm commentedComment #4
awm commented@Alex Bukach I updated the description and added a few screenshot.
Comment #5
awm commentedComment #6
awm commented@Alex Bukach after step debugging it looks like the $content_id that I have been setting in the pane settings form field (Feed container id attribute.) is wrong. I changed to block-jquery-social-stream and as it is in the block implementation and it worked. Is $content_id (feed id) supposed to be configurable? And Why?
Comment #7
alex.bukach commented@awm do you mean you used another Feed container id attribute, and it did not work? What id did you use?
Also, could you comment the screenshots you attached -- what is what?
Comment #8
awm commented@Alex Bukach I used a id (facbook test) with no dashes, which I believe is an invalid id.
as for the screen shots:
1. Panel page with the jquery stream pane https://www.drupal.org/files/issues/Screen%20Shot%202015-05-19%20at%2010...
2. HOw it renders on the page https://www.drupal.org/files/issues/Screen%20Shot%202015-05-19%20at%2010...
3. How it should render (or how the block renders, not the pane)
In any case i think this an be closed as works as designed.
Comment #10
alex.bukach commented@awm, right, the id could not have spaces, and it was the problem. I have added validation to that field.