Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • timmiller Friend
    #186309

    Guys,

    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


    1. jobcounter2
    2. jobcounter1
    HeR0 Friend
    #488415

    Dear 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 Friend
    #488759

    HeR0,

    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 Friend
    #488900

    Dear 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

    timmiller Friend
    #488953

    Thanks so much. Appreciate you going in and finding the problem.

    tm

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