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 CiviMember (Moderator: Deepak Srivastava) »
  • Printing an indivdual contact
Pages: [1]

Author Topic: Printing an indivdual contact  (Read 1338 times)

johnp

  • Guest
Printing an indivdual contact
March 30, 2009, 08:55:21 pm
I am new to Civicrm, this being my first install. I currently have in running in standalone mode on both  Windows and Linux Centos boxes. The problem I'm encountering is when you select the option to print an individual contact, the page that shows up isn't right (strange icons and bad links). This is reproducable on the drupal demo site. I tried searching on this but failed to find any relevent info. If anyone knows a fix, let me know.

Thanks,

John

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Printing an indivdual contact
March 31, 2009, 01:03:03 am
John,

Can you provide a link to specific page that doesn't work on drupal demo site? I tried reproducing your problem but everything worked fine for me.

Thanks,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

johnp

  • Guest
Re: Printing an indivdual contact
March 31, 2009, 05:34:27 am
Here is a link.  http://drupal.demo.civicrm.org/civicrm/contact/view/print?reset=1&print=1&cid=104

I just tried it using IE7 and Firefox. The page looks good in Firefox but not in IE if that helps. I'm also going to check from another machine with both to help narrow this down.

John

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Printing an indivdual contact
March 31, 2009, 08:51:20 am
Hey,

It was a bug which was holding IE from displaying the print page correctly. Fix will be released together with next release of CiviCRM (2.2.2).



Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

johnp

  • Guest
Re: Printing an indivdual contact
March 31, 2009, 09:04:17 am
I tried it again using both IE6 and IE7 both exhibit the same behavior in regards to printing. It seems that the base url info isn't being passed properly when using IE.

The icons all show as being linked to - http:///sites/drupal.demo.civicrm.org/modules/civicrm/#

The print and done buttons appears as - /civicrm/contact/view?&cid104&reset=1

This test was done on the drupal demo site using Joe, Dallas

Michał Mach

  • Ask me questions
  • ****
  • Posts: 748
  • Karma: 59
    • CiviCRM site
  • CiviCRM version: latest
  • CMS version: Drupal and Joomla latest
  • MySQL version: numerous
  • PHP version: 5.3 and 5.2
Re: Printing an indivdual contact
March 31, 2009, 09:10:44 am
Hey,

As mentioned before, I just fixed the bug and solution will be available in next CiviCRM release. If you want to introduce the change in your current version, please find templates/CRM/common/print.tpl file, make a custom template out of it introducing small change:

Locate the line:

Code: [Select]
<base href="{$config->resourceBase}" /><!--[if IE]></base><![endif]-->
and change it to the following:

Code: [Select]
<base href="{crmURL p="" a=true}" /><!--[if IE]></base><![endif]-->
Remember to remove this template when you upgrade to new version.

Thx,
m
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

My absolute favourite: Wordpress Integration!.

Donate Now!

johnp

  • Guest
Re: Printing an indivdual contact
March 31, 2009, 09:15:30 am
Thanks,

Your response came as I was providing further information. I'll make a custom tpl and try it out.

John

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • Printing an indivdual contact

This forum was archived on 2017-11-26.