-
AuthorPosts
-
timmiller Friend
timmiller
- Join date:
- August 2008
- Posts:
- 169
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 3 times in 1 posts
March 29, 2013 at 7:05 pm #186309Guys,
I just cannot seem to get the counter module to show up. I have three jobs in different categories, but nothing displays…
Thanks in advance,
tm
-
HeR0 Friend
HeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 1, 2013 at 7:08 am #488415Dear Tim,
Please check this module setting and make sure that you do not have any missing params. PM me admin account and ftp info for further checking.
Regards
timmiller Friendtimmiller
- Join date:
- August 2008
- Posts:
- 169
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 12
- Thanked:
- 3 times in 1 posts
April 4, 2013 at 1:28 am #488759HeR0,
Ok, I’ve found out that it does not display in Category view. It will however display if Job Type is selected.
PMing you admin info…
Thanks!HeR0 FriendHeR0
- Join date:
- August 2011
- Posts:
- 3626
- Downloads:
- 0
- Uploads:
- 61
- Thanks:
- 33
- Thanked:
- 588 times in 549 posts
April 5, 2013 at 3:15 am #488900Dear Tim,
I checked and could find a issue about language featured. Please fix it with the solution as below:
1. Component/com_jajobboard/controllers/jajobalerts.php
Replace
$query = 'SELECT `id`, `name` as `value` FROM #__'.$table.' WHERE `language` IN('.$language.') AND LOWER(name) LIKE '%'.strtolower($keyword).'%' AND published = 1 ORDER BY `name`' ;
To
$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`' ;2. Modules/mod_jajobs_counter/helper.php
Replace
$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";
TO
$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";
Hope this helps.Regards
-
AuthorPosts
Viewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by timmiller 11 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum