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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • no sort header on results (4.08/D7)
Pages: [1]

Author Topic: no sort header on results (4.08/D7)  (Read 2148 times)

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
no sort header on results (4.08/D7)
December 22, 2011, 03:54:51 am
Hi.
I upgraded to Drupal 7 and CiviCRM 4.08.
All seems to work fine, however when displaying a search results, the column headers are not displayed, and it's no possible to sort results by column anymore.
(Both in FF and IE)

I looked at the html code between the A-Z filter line (which is displayed) and the first contacts in the table, and it seems empty.

Where should I look for more info in order to solve this ?

Quote
<li><a href="/civicrm/contact/search?force=1&amp;qfKey=6bd7b99bc9c56950fff07df3e0f07206_5629&amp;sortByCharacter=1">All</a></li>
        </ul>

</div>
<table style="position: relative;" summary="Listes de résultats de recherche" class="selector crm-row-highlighter-processed">
  <thead class="sticky">
    <tr class="">
      <th scope="col" title="Select All Rows"><div class="sticky-header" style="position: fixed; display: none; top: 23px; margin-left: -4px; margin-right: -4px; padding: 4px 20px 4px 4px;"><input onclick="toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);" id="toggleSelect" name="toggleSelect" value="1" class="form-checkbox" type="checkbox"></div><input onclick="toggleTaskAction( true ); return toggleCheckboxVals('mark_x_',this);" id="toggleSelect" name="toggleSelect" value="1" class="form-checkbox" type="checkbox"></th>
                </tr>
  </thead>

 

                <tbody><tr id="rowid1" class="odd-row">
                        <td><input onclick="toggleTaskAction( true ); return checkSelectedBox('mark_x_1');" id="mark_x_1" name="mark_x_1" value="1" class="form-checkbox" type="checkbox"></td>

                        <td><a href="/civicrm/profile/view?reset=1&amp;gid=7&amp;id=1&amp;snippet=4" class="crm-summary-link crm-processed"><div class="icon crm-icon Individual-icon" title="Individual"></div><div class="crm-tooltip-wrapper"><div class="crm-tooltip">
           
 
            <div class="crm-summary-group">
            <table class="crm-table-group-summary">
<tbody><tr><td> (the contacts list starts here)
« Last Edit: December 22, 2011, 03:57:35 am by ehanuise »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: no sort header on results (4.08/D7)
December 22, 2011, 04:41:01 am
Can you try clearing template_c folder, so that it is not a template caching issue.

Kurund
Found this reply helpful? Support CiviCRM

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
December 22, 2011, 05:13:47 am
Quote from: Kurund Jalmi on December 22, 2011, 04:41:01 am
Can you try clearing template_c folder, so that it is not a template caching issue.

Thanks.
I just tried, and to make sure I cleared the drupa cache, and restarted memcached, varnish and apache.
Same results, no table headers in search results.
Same with Varnish disabled.
Same with memcache disabled
Same with Bartik instead of Corolla as default theme.
« Last Edit: December 22, 2011, 06:42:24 am by ehanuise »

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
December 22, 2011, 05:41:14 am
apparently it's not a javascript problem either :
On the options list admin page (civicrm/admin/options/activity_type?reset=1&group=activity_type) the list does have headers, and is sortable by clicking on said headers.
This happens just in the search results - where it's most annoying  ;D

How are these displayed ? It's a function call in a template ? It's in the CSS ?
I'm at a loss at where to look to sort this out.
I've no 404 for images in the apache access and error logs.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: no sort header on results (4.08/D7)
December 22, 2011, 06:55:45 am
Can you check if your resource url is correct. Also check if there are any errors in firebug console.

Kurund
Found this reply helpful? Support CiviCRM

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
December 22, 2011, 07:00:46 am
Nothing in firebug console.
Resource URLs are as follow :
CiviCRM Resource URL : http://-my host name-/sites/all/modules/civicrm/
Image Upload URL : http://-my host name-/sites/default/files/civicrm/persist/contribute/
Custom CiviCRM CSS URL : none

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
December 22, 2011, 07:04:15 am
I wondered if the table headers only were displayed when using tables from the admin section, but on http://-my host name-/civicrm/contact/deduperules?reset=1 the table headers are displayed, so this was a wrong cue.

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
December 22, 2011, 07:42:15 am
I also tried using jquery_update, and tried disabling superfish menus, no changes.

I don't know where to look for more info, where are these headers generated ? from a .tpl file ? from a javascript function ? from the CSS ? I'd like to understand the logic hat displays them so i know where to look for the source of this problem.
The checkbox that allows to select all results is displayed, but not the columns headers.

NB- I'm off for a week 'till January 02 - until there Happy Xmas and a merry New Year!  ;D

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: no sort header on results (4.08/D7)
December 22, 2011, 07:59:19 pm
ping us on #civicrm irc channel, it would be easier to debug and fix

Kurund
Found this reply helpful? Support CiviCRM

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
January 02, 2012, 12:20:45 am
Hi.
Sorry but irc is most impractical from here :(

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: no sort header on results (4.08/D7)
January 02, 2012, 04:02:10 am
I guess then may be consider hiring someone from http://civicrm.org/professional list

Kurund
Found this reply helpful? Support CiviCRM

ehanuise

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 2
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.49-3
  • PHP version: 5.3.3-7+squeeze3
Re: no sort header on results (4.08/D7)
January 02, 2012, 04:48:26 am
What's wrong with the forum ? (IRc's not open on the firewall)

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: no sort header on results (4.08/D7)
January 02, 2012, 05:20:12 pm

u can use the irc web client here:

http://irc.civicrm.org/

U might also want to read:

http://book.civicrm.org/developer/

to get a better idea on how pages are composed etc

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • no sort header on results (4.08/D7)

This forum was archived on 2017-11-26.