CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • When importing ... can't assign group
Pages: [1]

Author Topic: When importing ... can't assign group  (Read 2026 times)

garfield1979

  • Guest
When importing ... can't assign group
November 10, 2009, 04:42:29 pm
Hello,

I was wondering if anyone has this problem:

When I'm trying to import a batch of contacts, the blue links at the bottom (after linking the fields) such as ">> Add imported records to a new group" etc. are clickable, but nothing happens after clicking them, I assume that there should be something like a pop up box that appears, but nothing.

I do have some Azrul products installed which I disable prior to import to get that to work, could that have something to do with it?

Thanks for any help!

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: When importing ... can't assign group
November 10, 2009, 08:06:03 pm
Hi - what version of CiviCRM, which CMS, which browser? Have you tried more than one browser?
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

garfield1979

  • Guest
Re: When importing ... can't assign group
November 10, 2009, 08:11:46 pm
I'm using 1.5.14 Joomla, and the latest Civi "downloaded this morning"
I've tried both Chrome, FF and IE.

I was not able to reproduce the effect on the demo site (where everything worked fine)

I don't even get a java-script error

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: When importing ... can't assign group
November 10, 2009, 08:26:03 pm
I feel like I've seen this but I can't quite remember - it's not to do with your resource urls is it? Have you moved your site at all?

Does firebug shed any clues
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

garfield1979

  • Guest
Re: When importing ... can't assign group
November 10, 2009, 08:52:04 pm
this is the code for the first link:

Code: [Select]
<div id="newGroup_show" class="section-hidden section-hidden-border">
<a onclick="hide('newGroup_show'); show('newGroup'); return false;" href="#" style="">
»
<label>Add imported records to a new group</label>
</a>
</div>

and again that same code, but from the working demo site:
Code: [Select]
<div id="newGroup_show" class="section-hidden section-hidden-border" style="display: none;">
<a onclick="hide('newGroup_show'); show('newGroup'); return false;" href="#">
»
<label>Add imported records to a new group</label>
</a>
</div>

the style="display:none;" gets properly interpreted on the demo site but when clicking on the link in my site, nothing happens.

which leads me to think perhaps it has something to do with the javascript

where do the "hide" and "show" scripts hide ?

also notice the empty style="" in my <a> tag code, that only appears after I click on the link, it's not there after loading.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: When importing ... can't assign group
November 11, 2009, 09:43:11 am
This does sound like a problem with javascript files being loaded (which is often related to incorrect Resource URL in Global Settings OR inconsistent settings for your website - i.e. using http://www.mysite.com in some places and http://mysite.com in others).

hide() and show() functions are part of civicrm/js/Common.js file and that file should be referenced if you view source on most CiviCRM pages in your site. One quick thing to do is to "view source" and attempt to load that file using the URL from the source.

Firebug's console is also a good tool to debug jscript errors.
Protect your investment in CiviCRM by  becoming a Member!

NilsHenrik

  • Guest
Re: When importing ... can't assign group
March 25, 2010, 11:36:50 am
Hi, I appear to have the same problem using CiviCRM 3.1.3 and Joomla 1.5.15.

Just checked my resource files and they appear to be correct.

The blue links at the bottom (after linking the fields) do not open up, hence javascript problem. Hmmm, I wonder if some of you have found a solution. I also de-installed all Azrul components, plugins and modules, but problem persists in both IE7 and Firefox 3.6.2.

Regards, Henrik

garfield1979

  • Guest
Re: When importing ... can't assign group
March 25, 2010, 11:45:06 am
Henrik,

If you are familiar with Firebug, you can view the HTML code and "hack" it to show the fields, as they are hidden. (looking for display:none and removing those tags.) is a good start.

That is what i did successfully. And since it's something I only had to do once at import, It hasn't affected me since.

Good Luck!

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: When importing ... can't assign group
March 25, 2010, 05:04:27 pm
If you're using Rokbox plugin / themes ... check for other posts on this forum regarding this same issue.
Protect your investment in CiviCRM by  becoming a Member!

NilsHenrik

  • Guest
Solved my issue
March 26, 2010, 08:33:08 am
Thank you guys, I will follow up on both suggestions. And yes we are using the rokbox plugin.  ;D

FOLLOW-UP:
Dave, you were right on about the plugin. I temporarily disabled the rokbox content and system plugin and the import and group/tag selection worked like a charm. Awesome.

Henrik
« Last Edit: March 26, 2010, 10:15:48 am by NilsHenrik »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • When importing ... can't assign group

This forum was archived on 2017-11-26.