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 »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries
Pages: [1]

Author Topic: Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries  (Read 904 times)

ajofra

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.7 and 4.4
  • CMS version: Drupal 7.23 and Wordpress 3.5.2
  • MySQL version: 4.2.2
  • PHP version: 15.1
Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries
August 19, 2013, 11:02:03 am
I'm having some problems with my CiviCRM on Wordpress. When I create a Contribution Page, Wordpres don't add CiviCRM js libraries on header, but if I check on Admin CiviCRM pages it runs very well. I don't know if I have to configure Wordpress to call these libraries, anyone have the same problem or know how to solve ?

Error: Uncaught ReferenceError: cj is not defined        ( Because the libraries are not added )

Wordpress 3.5.2 CiviCRM 4.3.5

alexeightsix

  • I’m new here
  • *
  • Posts: 19
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: 3.5.1
  • MySQL version: latest
  • PHP version: latest
Re: Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries
August 21, 2013, 01:01:21 pm
try another theme, does it work? Make sure wp_head() is inside the <head> tag

ajofra

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
  • CiviCRM version: 4.3.7 and 4.4
  • CMS version: Drupal 7.23 and Wordpress 3.5.2
  • MySQL version: 4.2.2
  • PHP version: 15.1
Re: Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries
August 22, 2013, 03:25:24 am
I'm only supervising CiviCRM on this project, so the theme it is supported by another company. But you are right, the header.php it is totally custom, and doesn't have a wp_head() call. I will write a mail explaining this, thanks for solving my issue. 

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • WordPress Installations (Moderators: Kurund Jalmi, Coleman Watts) »
  • Out of admin CiviCRM pages, Wordpress don't add CiviCRM js libraries

This forum was archived on 2017-11-26.