When editing the context in mini-panels you get the required context at the left-container div and context and relationships on the right-container div,
but when editing a page context in delegator, the context screen only have the right-container with the context and relationship configuration forms, but
not the left-container (so you don't have the required context).
That also creates a css pagination bug, where it breaks all the layout in the theme, at least with a Zen sub-theme with left block.

CommentFileSizeAuthor
#6 context_theme_inc.patch582 bytesjcmarco
#3 context.theme_.patch578 bytesjcmarco

Comments

jcmarco’s picture

Status: Active » Fixed

More information:

If there is an argument defined then there is a left-container with the summary of context,
and there is not css render problems with divs.
But if there is not argument defined there is not any left-container and the layout is broken.

It is possible that this bug was from Panel 3.x

jcmarco’s picture

jcmarco’s picture

Status: Fixed » Active
StatusFileSize
new578 bytes

The issue was in context.theme.inc (where else!!)

If there is no output it returns nothing. Breaking the right-container float: right.
Now it returns an empty table, but it returns a div region that allows that div tables renders fine.
It is just an UI issue

Kudos for this so beast module.

jcmarco’s picture

Status: Active » Needs review
merlinofchaos’s picture

Ok, the principle looks good. The code style is wrong (the ternary operator should have spaces around each operator).

jcmarco’s picture

StatusFileSize
new582 bytes

You are right.
Thank you.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.