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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [2.0] Missing PRINT Action in "Find Contacts" ...
Pages: [1]

Author Topic: [2.0] Missing PRINT Action in "Find Contacts" ...  (Read 2138 times)

laborg

  • Guest
[2.0] Missing PRINT Action in "Find Contacts" ...
March 13, 2008, 04:00:02 am
Maybe I'm blind, but in the "Find Contacts" view, there is no "Print" action. The strange thing is: a user with fewer rights than a administrator sees one blank field in the action drop-down selector in the same view. Behind this blank field the print-action is hidden! Somethings wrong here...

greetings,
gerhard

Manish Zope

  • I’m new here
  • *
  • Posts: 18
  • Karma: 4
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 13, 2008, 06:17:16 am
check this URL : http://drupal.demo.civicrm.org/civicrm/contact/search/basic?_qf_Basic_display=true&qfKey=9b7089c7d5a3583357961004b16af956

There is "Print" button on the left of actions drop down
(check the attached image)

If you still can not see the button (using above URL), I will like to have few more details like which browser, which version of browser etc 

BTW, I am using FF 2.0.0.11 and 1280 X 800 screen resolution

Manish

laborg

  • Guest
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 13, 2008, 06:34:13 am
Hi!

Thx, I am seeing the print button, but what I'm wondering about is the "blank" action field, which hides the print action for civi users with a subset of the admin rights...

greetings

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 13, 2008, 12:39:34 pm
I just logged into 2.0 demo w/ a limited permissions user, and I don't see a hidden / blank entry. Login as:
user = volunteer
pw = volunteer

This user doesn't have "administer CiviCRM" and only can "View Contacts".

Would be ideal if you can show us on the demo... or else take a screenshot and include an HTML source snippet that clarifies what you're seeing... ??
Protect your investment in CiviCRM by  becoming a Member!

laborg

  • Guest
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 14, 2008, 01:27:02 am
Here you are:

Code: [Select]
<input id="_qf_Basic_next_print" class="form-submit" type="submit" value="Print" name="_qf_Basic_next_print" onclick="return checkPerformAction('mark_x', 'Basic', 1);"/>
<select id="task" class="form-select" name="task">
<option value="">- more actions -</option>
<option value="5">Export Contacts</option>
<option value="6">Send Email to Contacts</option>
<option value="12"/>
<option value="16">Mailing Labels</option>
</select>
<input id="_qf_Basic_next_action" class="form-submit" type="submit" value="Go" name="_qf_Basic_next_action" onclick="return checkPerformAction('mark_x', 'Basic', 0);"/>
<br/>

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 14, 2008, 02:29:04 pm
This is a bit mysterious. The "-more actions-" option which is missing the label is the  "Map Contacts" action. This "action" is included or excluded from the available actions based solely on whether you've configured a Mapping Provider (under Administer CiviCRM >> Global Settings >> Mapping) - not based on permissions.

The relevant code is in CRM/Contact/Task.php:
Code: [Select]
            if ( $config->mapProvider && $config->mapAPIKey ) {
                self::$_tasks[12] = array( 'title'  => ts( 'Map Contacts'),
                                           'class'  => 'CRM_Contact_Form_Task_Map',
                                           'result' => false );
            }

The option value "12" is a constant - which is always assigned to "Map Contacts". Are you running a localisation / translation - maybe that string has been translated to an empty string??

Protect your investment in CiviCRM by  becoming a Member!

laborg

  • Guest
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 19, 2008, 08:11:54 am
Mhm, when switching back to englisch the field stays blank (see the attachment). After I deleted Drupals translation "Map contacts" nothing changed. I didn't configure any mapping provider. I wanted to try this on the sandbox, but the login with volunteer/volunteer doesn't work.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: [2.0] Missing PRINT Action in "Find Contacts" ...
March 20, 2008, 08:36:54 am
Can you try and debug this in your side by adding some debug statements. You can use our debug output functions if you like:
http://wiki.civicrm.org/confluence/display/CRMDOC/Debug+Tools
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [2.0] Missing PRINT Action in "Find Contacts" ...

This forum was archived on 2017-11-26.