Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • salvomic Friend
    #151896

    hi all,
    I set “Show unauthorized links” to show “read more” and restrict some articles of some categories only to registered users. It works in the categories menu, but not in JA News and JA News Frontpage.
    How can I do?

    I want that a guest user see a link, a chunk of article, the link “read more”, and a registered user see all.

    thanks in advance!

    salvo

    salvomic Friend
    #347477

    the same problem is with JA Bullettin.
    Please, is there a way to visualize the unauthorized links?

    Saguaros Moderator
    #347674

    Dear Salvo!

    Pls open the file modulesmod_janews2helper.php and find the following code:
    [PHP]
    ! $contentConfig->get ( ‘shownoauth’ );
    [/PHP]

    and replace:
    [PHP]
    $contentConfig->get ( ‘shownoauth’ );
    [/PHP]

    salvomic Friend
    #348230

    (I wrote: “thanks, Tienhc, I found it in line 138, cut off the “!”, but an article set to “Registered” doesn’t show…
    Miss I something?”…)

    It works!
    I modified also line 202 and other two lines at the same manner.

    It works with the same mod also in ja_bullettin

    Have you idea how to do this for ja_newticker?

    Saguaros Moderator
    #348484

    yes, you try to find this code in the ja stiker module or any modules from joomlart 🙂 working with content component

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

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

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