-
AuthorPosts
-
jpcharbonneau Friend
jpcharbonneau
- Join date:
- September 2012
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 24
- Thanks:
- 32
- Thanked:
- 1 times in 1 posts
July 23, 2013 at 8:12 pm #189184Hi,
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 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
July 24, 2013 at 4:33 am #499971Hi 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
2 users say Thank You to HeR0 for this useful post
jpcharbonneau Friendjpcharbonneau
- Join date:
- September 2012
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 24
- Thanks:
- 32
- Thanked:
- 1 times in 1 posts
July 24, 2013 at 2:29 pm #500040Hi 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.pngFailed 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.pngDo you have something to suggest?
Thanks in advance!
JP
HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
July 25, 2013 at 2:05 am #500071Hi,
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
1 user says Thank You to HeR0 for this useful post
jpcharbonneau Friendjpcharbonneau
- Join date:
- September 2012
- Posts:
- 64
- Downloads:
- 0
- Uploads:
- 24
- Thanks:
- 32
- Thanked:
- 1 times in 1 posts
August 1, 2013 at 2:28 pm #500914Hi 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
1 user says Thank You to jpcharbonneau for this useful post
-
AuthorPosts
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