test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jpcharbonneau Friend
    #189184

    Hi,

    Search field box in top of Location and category field does’nt work? Ajax mode is enabled in Global settings… but nothing load when we entered content in that box?

    Could you please help on that one,

    Thanks in advance.

    JP

    HeR0 Friend
    #499971

    Hi JP,

    There might be a multiple language issue, please try to do as follows:

    1. Component/com_jajobboard/controllers/jajobalerts.php
    Replace
    [PHP]$query = ‘SELECT `id`, `name` as `value` FROM #__’.$table.’ WHERE `language` IN(‘.$language.’) AND LOWER(name) LIKE ‘%’.strtolower($keyword).’%’ AND published = 1 ORDER BY `name`’ ;[/PHP]
    To
    [PHP]$langCondition = ”;
    if($language){
    $langCondition = ‘ `language` IN(‘.$language.’) AND ‘;
    }
    $query = ‘SELECT `id`, `name` as `value` FROM #__’.$table.’ WHERE ‘.$langCondition.’ LOWER(name) LIKE ‘%’.strtolower($keyword).’%’ AND published = 1 ORDER BY `name`’ ;[/PHP]

    2. Modules/mod_jajobs_counter/helper.php
    Replace
    [PHP]$query = “SELECT id, {$fieldlist->referred_key} as value, {$fieldlist->referred_value} as text, parent_id, num_jobs FROM #__{$fieldlist->referred_table} WHERE {$catLevel} AND published=1 AND language IN({$language})ORDER BY parent_id DESC, {$fieldlist->referred_value} ASC”;[/PHP]
    TO
    [PHP]$langCondition = ”;
    if($language){
    $langCondition = ‘ AND language IN(‘.$language.’) ‘;
    }
    $query = “SELECT id, {$fieldlist->referred_key} as value, {$fieldlist->referred_value} as text, parent_id, num_jobs FROM #__{$fieldlist->referred_table} WHERE {$catLevel} AND published=1 {$langCondition} ORDER BY parent_id DESC, {$fieldlist->referred_value} ASC”;[/PHP]

    If this does not helps, please check javascipt on your site, there might be a conflict between jQuery with 3rd party extensions. You can use Firrebug on Firefox or Webdeveloper on Chrome to troubleshoot.

    Regards

    jpcharbonneau Friend
    #500040

    Hi HeR0!

    Thanks for your excellent support! I really appreciate.

    Guest what… everything works fine now with the search box (module and page) after the modifications you pointed out!

    The only thing that left is these errors on “Post a New Job” page:

    Failed to load resource: the server responded with a status of 404 (Not Found)
    –> http://…/components/com_jajobboard/css/images/ui-bg_flat_75_ffffff_40x100.png

    Failed to load resource: the server responded with a status of 404 (Not Found)
    –> http://…/components/com_jajobboard/css/images/ui-bg_glass_75_dadada_1x400.png

    Do you have something to suggest?

    Thanks in advance!

    JP

    HeR0 Friend
    #500071

    Hi,

    Please download the theme of jQuery UI from http://jqueryui.com/resources/download/jquery-ui-themes-1.10.3.zip and copy the images from the theme you want to this folder components/com_jajobboard/css/images

    Regards

    jpcharbonneau Friend
    #500914

    Hi HeR0!

    Thanks,

    After downloading the zip mentionned, I found the missing images from “smoothness” theme.

    I created a new “images” folder from components/com_jajobboard/css and uploaded the 2 images pointed out.

    No more error!

    Thanks!

    JP

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  jpcharbonneau 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum