Some of the patches we submitted that made it into D6 did not make it into D7.

Comments

jsagotsky’s picture

StatusFileSize
new5.31 KB

I had to bake a few patches together to get them to apply cleanly. They serve a similar purpose so I don't feel too dirty about that.

http://drupal.org/node/1418930 - hook suppress. Lets you block olark from showing up in popup windows and overlays.

http://drupal.org/node/1858372 - roles restriction. Okay, there is a d7 version of this, but I couldn't get it to apply cleanly with the other ones so it's baked in.

attached js - (The dev who set up this one never submitted it. For shame!) Uses render arrays #attached property to add the javascript to a page instead of blindly doing drupal_add_js. The advantage is that if the footer doesn't print, the js won't attach in places we don't want it.

jsagotsky’s picture

See also http://drupal.org/node/1785322#comment-7364524 for the js function check patch.

joelpittet’s picture

Issue summary: View changes
Status: Active » Needs work

The coding standards on this patch need some love.

2 Space indents instead of tabs, wrap at 80 chars, and that one return comment is overkill. There may be more as it's cleaned up.

joelpittet’s picture

There is some good stuff in this patch. May want to merge with the very similar code provided here #1858372: Forward Port Drupal 6 version to surpress olark for particular roles

joelpittet’s picture

Status: Needs work » Needs review
StatusFileSize
new5.66 KB

Ok most of this has been committed already about the roles. Here is just the nice #attached stuff left.

joelpittet’s picture

StatusFileSize
new5.66 KB
new426 bytes

Typo in last patch.

joelpittet’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev
Status: Needs review » Fixed

That does the trick, committed thanks @jsagotsky for helping.

Status: Fixed » Closed (fixed)

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