test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • d026111 Friend
    #147933

    Hello,
    I have a section XX set-up with six categories A, B, C, D, E, F. (see pic 1)
    Janews2 does display them like this (see pic 2).

    What I want to achieve is this (see pic 3), means category A, D and E should not be shown from janews2, also in the user settings block only B, C, F should be visible for selection (also in right order). I do not want to change the category order in the backend.

    Question 1:
    How can categories be hidden from being displayed in the Janews2 article block?

    Question 2:
    How can categories be hidden from being displayed in the Janews2 “user settings” block?

    Question 3:
    See pic2: The categories are not shown in the right order. How can this be realized?

    Many thanks for your support !

    Kind regards
    d026111


    1. pic1
    2. pic2
    3. pic3
    Saguaros Moderator
    #331616

    Dear guy!

    Sorry, At the moment, i only help you to resolve the issue: The categories are not shown in the right order. How can this be realized?

    1) please open the file: modules/ja_news2/helper.php
    and try to find codes at line : 420:
    [PHP] $query = “SELECT `id`, `title`, `description`, CASE WHEN CHAR_LENGTH(`alias`) THEN CONCAT_WS(“:”, `id`, `alias`) ELSE `id` END as `slug` FROM `#__categories` s WHERE published = 1 and section=” . ( int ) $sid . $where[/PHP]
    Replace:
    [PHP] $query = “SELECT `id`, `title`, `description`, CASE WHEN CHAR_LENGTH(`alias`) THEN CONCAT_WS(“:”, `id`, `alias`) ELSE `id` END as `slug` FROM `#__categories` s WHERE published = 1 and section=” . ( int ) $sid . $where .’ ORDER BY s.ordering ASC’;[/PHP]

    bengoodson Friend
    #331688

    I have a similar question about news2.

    I have a hierarchy like this:

    Section: Latest News
    Category: World, Local, Sport, Business, Travel.

    I want to create a new category called “Shares” and put it under “Business”. Ja News2 pipes in the articles associated with the “Shares” category into a category called “Shares” on the front page. I’d like to have the category called “Shares” not display on the front page. Is there any way of enabling that?

    Saguaros Moderator
    #332138

    may be the thread ‘ll be a solution for: http://www.joomlart.com/forums/topic/ja-news-2-multiple-rows/

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

This topic contains 4 replies, has 3 voices, and was last updated by  Saguaros 14 years, 9 months ago.

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