This patch depends on #374646: Popbox (Popups Lite): Adding Modal Dialogs to Confirmations. It updates garland to support the popbox effect, but adding id's to the page title and page content area in page.tpl.php. This brings garland in line with the newly polished default page.tpl.php.

Also, this patch demonstrates customizing the look of the popbox dialog in a theme, by modifying the style.css and adding popbox.js file.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Status: Needs review » Needs work

The last submitted patch failed testing.

starbow’s picture

FileSize
27.26 KB

Here is a screenshot (while I am hunting down the failed tests).

starbow’s picture

Status: Needs work » Needs review
FileSize
27.26 KB

And here it is again, with a change to the test to accept the new id.

starbow’s picture

FileSize
3.78 KB

No, no, the patch you fool :)

RobLoach’s picture

Status: Needs review » Needs work

I think we should provide a close icon in the CSS instead of the Drupal.t('X').

starbow’s picture

I agree. I just threw the X in there to make sure it was working.
Last year I used the misc/watchdog-error.png as a close image, but it was universally rejected. Drupal could really use a set of utility icons. Not sure if this patch is the place to introduce them though.

alexanderpas’s picture

actually, i think we should do Drupal.t('close'), a close icon can always be done trough CSS, and some themes might want to show both text and icon (which is easy, since we have an id'ed <div> and an <a> to work with).

Jeff Burnz’s picture

Status: Needs work » Closed (won't fix)

I assume this was posted for testing the patch in #374646 but since that didn't get in I assume this is a won't fix?