test
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • ithacaindy Friend
    #157185

    How do I change the order of the sections listed on the front page? Thanks.

    Phan Gam Friend
    #365914

    Thanks for your report!
    This feature is missing released version. We will update for next version.

    didima Friend
    #366021

    would be nice bec cant change order on the front page ;(

    ithacaindy Friend
    #368590

    <em>@Phan Gam 207480 wrote:</em><blockquote>Thanks for your report!
    This feature is missing released version. We will update for next version.</blockquote>

    Is there any estimate when the next version (I’m assuming you mean the next update of Teline IV and not Teline V) will be released? This is a rather basic feature that is missing.

    Phan Gam Friend
    #368690

    Hi ithacaindy,

    If you want to apply section order for frontend, you can do it as follows:

    1. Open japaramhelper.php in modulesmod_janewsproelements folder.
    2. Find code for categories function arround line 113.
    3. Go to query to get categories

    $query = '
    SELECT
    c.section,
    s.title AS section_title,
    c.id AS cat_id,
    c.title AS cat_title
    FROM #__sections AS s
    INNER JOIN #__categories c ON c.section = s.id
    WHERE s.published=1 AND c.published = 1
    ORDER BY c.section, c.title ';

    to

    $query = '
    SELECT
    c.section,
    s.title AS section_title,
    c.id AS cat_id,
    c.title AS cat_title
    FROM #__sections AS s
    INNER JOIN #__categories c ON c.section = s.id
    WHERE s.published=1 AND c.published = 1
    ORDER BY s.ordering, c.section, c.title ';

    After finishing, you can apply changing section order for frontend as steps:
    #1. Open Content/Sections Manager >> Change sections order >> save.
    #2. Go to this module JA News Pro >> Save (Saving params).
    #3. Clear all cache data.
    Please try and check again,

    Hope this helps

    ithacaindy Friend
    #369387

    Thanks. I’ll give this a try the next free moment I have.

    ithacaindy Friend
    #369626

    <em>@Phan Gam 210962 wrote:</em><blockquote>Hi ithacaindy,

    If you want to apply section order for frontend, you can do it as follows:
    </blockquote>

    Worked perfectly. Thanks for the help. I hope this fix makes it into the template’s core for the next update.

    pdion Friend
    #385320

    Hello.

    This works for Joomla Content Sections/Categories. But it doesn’t work for K2 Categories.

    How can we get it to work with K2 Categories ?

    Thanks for your time ?

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

This topic contains 8 replies, has 4 voices, and was last updated by  pdion 13 years, 8 months ago.

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