Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • infovasciaveo Friend
    #159231

    Can I reorder category in JA-News-2?
    Where I can reorder?
    I would reorder only category and don’t the articles.
    I went in editing (backend) of Ja-News-2 module, but I can reorder articles!
    thanks


    1. Clipboard01
    thuanlq Friend
    #373851

    Hi @infovasciaveo,

    Please reorder janewspro items as following:
    – Set ordering for section item on admin page ( Admin navigation > Content > Section manager), then save all changing.
    – Go to janewspro configuration ( reload the page if you have opened it), then save.
    – Clean module cache if caching param is enable.
    Now, reload the frontpage.

    lmjking Friend
    #373898

    Will this work for K2 as well? I tried it and didn’t really see the desired results…

    bgrossfeld Friend
    #373922

    I have the same problem. I’m using Teline IV version 1.2.1 and I cannot find “janewspro” in order to change the configuration.
    Suggestions?

    thuanlq Friend
    #373978

    Hi @bgrossfeld,
    Please login to admin area, then go to “extensions > module manager”, on “filter bar” choose “select type dropdown” and choose “mod_janewspro”. Now you can see all janewspro modules which were enabled on your site, click edit.

    Please make as following on above.

    Hi @lmjking,

    Currently you can’t make as above to reorder for K2. However, to reorder for K2 please do as following:
    – Open “categoryK2.php” file in folder “modules/mod_janewspro/elements/”.
    – Edit “fetchChild()” function, replace line code


    $query = "SELECT * FROM #__k2_categories WHERE parent = '{$parent}' AND published=1";

    to


    $query = "SELECT * FROM #__k2_categories WHERE parent = '{$parent}' AND published=1 order by ordering ASC";

    – Now, you can reorder for K2 same as reorder for joomla content.

    jollyjollyjolly Friend
    #411010

    Actually the category ID, which you cant change in joomla’s backend, is what determines the order they display in. It is best to make the change to ID in phpmyadmin.

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

This topic contains 6 replies, has 5 voices, and was last updated by  jollyjollyjolly 13 years, 2 months ago.

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