Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • willylord Friend
    #184927

    Hi,
    sorry for my english.
    In my website, I show only articles in the last 6 months. The others all are marked as “stored”.

    Most of subcategories is not longer valid, because they’s categories of the old archived articles, not longer visible.
    Can I hiding the subcategories that have NO articles, yet?

    See attachment.

    Thanks


    1. JA-news-pro
    steinar Friend
    #483311

    Hello willylord,

    Try Extensions >> Module manager >> JA News Pro >> Basic options >> Content settings. Here you can select the categories you want to show (and even set a time range).
    Ciao!

    willylord Friend
    #483312

    Thanks, but does not work. When I select a main category still see ALL the subcategories.

    HeR0 Friend
    #483361

    Hi Willylord,

    If you want to hide category which has no article, plz disable those categories in categories management.

    Regards

    willylord Friend
    #483805

    Not works 🙁

    If enabling each category individually, on the frontend, I see all the subcategories like many master category.

    willylord Friend
    #483818

    The real problem is that JA News Pro show the trashed and archived categories, too.
    Otherwise, could I store or trashing these without problem, for not showing yet 🙁
    I have discovered that “linear” layout using a caching sytem for store the subcategories.

    Can you help me?

    HeR0 Friend
    #483862

    Hi Willylord,

    Plz pm me ftp info, url and admin account for further checking and I will try to help you out.

    Regards

    willylord Friend
    #483920

    Hi, I sent you all the access info 😉
    I have discovered that the problem (when I move the categories in the Archive) is the caching of this module, but via FTP in can’t delete the files on cache/mod_janewspro/*

    Can you help me?

    MoonSailor Friend
    #483963

    Hi willylord,

    Pls check PM.

    Regards.

    willylord Friend
    #484061

    sent PM 🙂

    willylord Friend
    #484141

    Hi, have you got any news?

    willylord Friend
    #484753

    Up . Up . Up . :((

    MoonSailor Friend
    #484867

    Hi willylord,

    I tried to edit file but it seems that the account you gave doesn’t have permission to edit. You can fix as following:

    – Open file “/modules/mod_janewspro/helpers/adapter/content.php”
    – Go to line 166 :
    [PHP]
    165 : $articles = $this->getArticles($catids, $helper, $params_cat);
    166 : }
    [/PHP]
    add code after “}” :
    [PHP]
    $categoriespush = array();
    foreach($_categories_org AS $cat){
    if($this->getArticles($cat->id, $helper, $params_cat)){
    array_push($categoriespush,$cat);
    }
    }
    [/PHP]

    find code
    [PHP]
    $helper->_categories_org[$catid] = $_categories_org;
    [/PHP]
    change to :
    [PHP]
    $helper->_categories_org[$catid] = $categoriespush;
    [/PHP]

    You can see images attachment 🙂


    1. 2-28-2013-2-46-59-PM
    willylord Friend
    #484905

    Thanks. I have some problems with server, too. :((

    Later, I try to modify the page and unlock the permission.

    Thanks!

    willylord Friend
    #484924

    (Excuse me, but this Ftp I can upload that file without problems.)

    Ok. I have take the modify but cannot works 🙁

    Have you got any problem with Ftp permission ? (I have modify the file owner, too)

Viewing 15 posts - 1 through 15 (of 17 total)

This topic contains 17 replies, has 4 voices, and was last updated by  willylord 11 years, 8 months ago.

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