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 »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Shape5 template incompatibility with CiviCRM - With response from Shape 5
Pages: [1]

Author Topic: Shape5 template incompatibility with CiviCRM - With response from Shape 5  (Read 2777 times)

mudmin

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 1
  • CiviCRM version: 4.2.0
  • CMS version: Joomla 2.5.6
  • MySQL version: 5
  • PHP version: not sure
Shape5 template incompatibility with CiviCRM - With response from Shape 5
September 13, 2012, 04:32:08 pm
After extensive testing and hair pulling out-ing, I've figured out that there seems to be some sort of template incompatibility with CiviCRM and recent shape5 templates. On my first site ALL CC fields disappeared...on my recent site, they disappeared from just internet explorer.

Can someone please point me in the right direction as to why this would happen with Shape 5 templates when I can switch to a Rockettheme and the fields come back (although on my first site, switching did not fix the problem).

https://mudministry.org/component/civicrm/?task=civicrm/contribute/transact&reset=1&id=5
« Last Edit: September 13, 2012, 07:16:59 pm by mudmin »

mudmin

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 1
  • CiviCRM version: 4.2.0
  • CMS version: Joomla 2.5.6
  • MySQL version: 5
  • PHP version: not sure
Re: Shape5 template incompatibility with CiviCRM
September 13, 2012, 07:11:35 pm
I would like to point out that I had this issue on Joomla 2.5.6 with CiviCRM 4.2 and Several templates from 2012 from Shape 5.
Upgrading to Civi 4.2.1 and upgrading the db did not fix the issue

mudmin

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 1
  • CiviCRM version: 4.2.0
  • CMS version: Joomla 2.5.6
  • MySQL version: 5
  • PHP version: not sure
Here is Shape 5's response...
September 13, 2012, 07:17:56 pm
Hello,

This is something that CivicCRM would need to correct for you, we cannot debug a third party component. There's nothing in a template that should effect the layout and present fields of a component like this. It looks like they are using javascript to close and open different divs at the bottom of the page depending on which payment option they select, there is most likely a javascript issue in their component. I can see that they are calling  a ton of calls to jquery files in your site's source, and none of them are being called correctly. Whenever jquery is called it must be called in no-conflict mode so that it doesn't interfere with other javascript on the page; they are not doing this. This is most likely the issue, and again they would need to correct this for you.

Like I said there is a huge of js calls by this component:


  <script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-ui-1.8.16/js/jquery-ui-1.8.16.custom.min.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/jquery-ui-1.8.16/css/smoothness/jquery-ui-1.8.16.custom.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.autocomplete.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/css/jquery.autocomplete.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jstree/jquery.jstree.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jstree/themes/default/jstree.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.menu.pack.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/css/menu.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.chainedSelects.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.contextMenu.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.tableHeader.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.textarearesizer.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.form.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.tokeninput.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/css/token-input-facebook.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.timeentry.pack.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.mousewheel.pack.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.toolTip.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/DataTables/media/js/jquery.dataTables.min.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/DataTables/media/css/demo_table_jui.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.dashboard.js"></script>
<style type="text/css">@import url("/administrator/components/com_civicrm/civicrm/packages/jquery/css/dashboard.css");</style>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.FormNavigate.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.validate.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.civicrm-validate.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.ui.datepicker.validation.pack.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery-fieldselection.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.jeditable.mini.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.mustache.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/packages/jquery/plugins/jquery.blockUI.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/rest.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/Common.js"></script>

<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmeditable.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmaccordions.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmasmselect.js"></script>
<script type="text/javascript" src="/administrator/components/com_civicrm/civicrm/js/jquery/jquery.crmtooltip.js"></script>


I have doing this a long time and I have never seen a component call anywhere near that many js and css files. It's going to slow your site down because of all the connections to your server, and it has a very large chance for problems with that many js files.

Mike
------------
Shape 5 Team

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Shape5 template incompatibility with CiviCRM - With response from Shape 5
September 14, 2012, 08:30:53 am

in drupal land, we recommend that folks use the js/css aggregator to compress all the js calls into one call.

i dont know if joomla has something similar,but if it does we should try it out

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

mudmin

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 1
  • CiviCRM version: 4.2.0
  • CMS version: Joomla 2.5.6
  • MySQL version: 5
  • PHP version: not sure
Re: Shape5 template incompatibility with CiviCRM - With response from Shape 5
September 14, 2012, 09:35:27 am
I don't see anything...I'd love to know if there is something

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Shape5 template incompatibility with CiviCRM - With response from Shape 5
September 14, 2012, 09:48:37 am

my recommendation would be to get civicrm working using joomla's default templates

once u are happy with that and have the processes/workflow working, then switch to the template u'd like to use.

that way, u have a consistent data point.

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Shape5 template incompatibility with CiviCRM - With response from Shape 5
October 04, 2012, 07:40:33 am
mudmin --
in response to Shape5's comments --

1) jquery *is* called in no conflict mode.
2) the "long list" is because we use a number of jquery plugins, which is not unusual. jquery is extendable via plugins, which is why it's so useful
3) there are a number of plugins available to compress js/css. that will improve performance, but is unlikely to address your template problem.

Shape5 templates ship with their own js and it just seems like there is some conflict between whatever they ship with and Civi's js. I would review the console log and see if any errors are showing up. It's also possible that the issue is not the template, but some other plugin or module displayed on your site.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Joomla! Installations (Moderator: Deepak Srivastava) »
  • Shape5 template incompatibility with CiviCRM - With response from Shape 5

This forum was archived on 2017-11-26.