Hey guys,

I took a look at eRecruiter and the demo site @ http://drupaljobs.epiqo.com.
After searching for a job and then clicking on one of them, the job opens up in a light box.

Is there any way to dev it without using a light box?
It's not user freindly to have the app in a seperate box floating above the main screen. Rather have it all in the web site fully contained.

Tx

Comments

solartoasting’s picture

Further to this thread, i've had a look around on the forum and people are asking similar questions.

However, their terminology is an "overlay" and not a light box. So if anyone knows how to use eRecruiter with "overlays" off and have the job search results and the app run inside the web page and not in an overlay, please let me know.

Tx

dasjo’s picture

Title: Light box in eRecruiter » Using eRecruiter without colorbox popups
Status: Active » Fixed

hi solartoasting,

recruiter uses the colorbox module for job popups.
try ti disable it and please post your findings.

regards

Status: Fixed » Closed (fixed)

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

likewhoa’s picture

Title: Using eRecruiter without colorbox popups » Remove dependency to overlay module
Status: Closed (fixed) » Active

@dasjo it's not colorbox, colorbox popups are for images not content. What you meant was the overlay module which recruiter depends on. I for one wish to have this dependency disabled or have it optional.

dasjo’s picture

Title: Remove dependency to overlay module » Using eRecruiter without colorbox popups

@likewhoa i don't agree here, as i stated before, recruiter uses colorbox popups for job links

the job_search view defines a recruiter-job-link class:
http://drupalcode.org/project/recruiter_features.git/blob/refs/heads/7.x...

 318   $handler->display->display_options['fields']['title']['alter']['link_class'] = 'recruiter-job-link';

colorbox.js attaches colorbox to links with the recruiter-job-link class
http://drupalcode.org/project/recruiter_features.git/blob/refs/heads/7.x...

   1 // $Id$
   2 (function ($) {
   3 
   4 Drupal.behaviors.initRecruiterColorbox = {
   5   attach: function (context, settings) {
   6         // Modify settings as suiting for the recruiter.
   7         settings.colorbox.innerHeight = "70%";
   8         settings.colorbox.innerWidth = 950;
   9         settings.colorbox.iframe = true;
  10 
  11   $('a, area, input', context)
  12     .filter('.recruiter-job-link, .recruiter-resume-link')
  13     .once('init-recruitercolorbox-processed')
  14     .colorbox(settings.colorbox)
  15     .attr('href', function (ind, attr) {
  16       // If the href contains "?", append $, else, append ?
  17       return /\?/.test(attr) ? attr + '&render=slim' : attr + '?render=slim';
  18     });
  19 
  20   }
  21 };
  22 
  23 })(jQuery);

a solution might be to add conditionals around the colorbox.js inclusion or to refactor colorbox-related functionality into a separate recruiter feature that may be disabled. patches welcome :)

the request for having overlay module optional should go into a separate issue i think

likewhoa’s picture

@dasjo thanks for clarifying this, I have opened a new issue requesting the removal of the overlay module from info file. Also this colorbox.js is has broken my omega theme and I have just disabled it all together.

dasjo’s picture

you are welcome likewhoa, let's not forget to link the new issue :) #1420368: Remove dependency to overlay module

mh86’s picture

Status: Active » Fixed

This is fixed now. Colorbox is optional, but will be enabled by default.

Status: Fixed » Closed (fixed)

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

likewhoa’s picture

Title: Using eRecruiter without colorbox popups » Refactor colorbox-related functionality
Version: 7.x-1.0-beta4 » 7.x-1.x-dev
Component: Miscellaneous » Code
Category: support » feature
Status: Closed (fixed) » Active

Colorbox functionality should really be optional and should at least only depend on the colorbox plugin library.

cutmedia’s picture

How is this fixed? Disabling Colorbox breaks other JS functionality, Flexslider in my case.

jamesnicholas’s picture

Issue summary: View changes

I have tried to disable the colorbox module in the recruiter distribution and it shows as a required module and won't let me disable it. How do I disable it? Thanks for your help!

darol100’s picture

@jamesnicholas,

At the moment, the colorbox module is been hardcore to the distribution and it can not be disable. There is already an issue open to try to solve this #1420368: Remove dependency to overlay module

jamesnicholas’s picture

I have tried to disable the colorbox module in the recruiter distribution and it shows as a required module and won't let me disable it. How do I disable it? Thanks for your help!

frozen10’s picture

same issue here. can't disable the module. is there a patch for this?

frozen10’s picture

.

darol100’s picture

@frozen10 read #13.

veshiyi2003’s picture

admin/config/media/colorbox

turn off

Show Colorbox on specific pages
delete all page

EXTRA FEATURES
Enable Colorbox load

Abbass’s picture

What worked for me:

1. Go to admin/config/media/colorbox and turn off Colorbox by unchecking colorbox for links options

2. Then Go to admin/Module and Disable Colorbox by disabling first its dependencies : module recruiter cloudy.

3. Then Go to admin/config/development/performance and clear all of your caches

Voilà!

Now all your links will not open in the overlay Popup.