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

    We have some teaser articles that are for Registered users only, but we have them on menus and showing in JA New Pro for non-registered users. (Show Unauthorised Links is set to yes to make this work.)

    In the regular menus, when a user clicks on the article title or the read more link, they get a link like this:
    index.php?option=com_users&view=login&Itemid=181&return=L2pvb21sYTMxL2luZGV4LnBocD9vcHRpb249Y29tX2NvbnRlbnQmYW1wO3ZpZXc9YXJ0aWNsZSZhbXA7aWQ9Njc4NjphcmUtdGhlLWdsb3J5LWRheXMtYmVoaW5kLWFwcGxlJmFtcDtjYXRpZD00MCZhbXA7SXRlbWlkPTE4MQ==

    However, from the JA News Pro section, they get this instead:
    ?option=com_user&view=login

    I’m not so concerned about the missing return link, but note that the option is com_user (singular), not com_users (plural.)

    As a result I get that lovely big red 404 component not found page.

    If someone can point me to the correct script I can fix it myself until fixed in the module itself as well. Thanks in advance.

    Saguaros Moderator
    #511082

    Hello tzvishmuel,

    I tried to check in my local site with this JA Nex template JAT3 v2 framework in both version J!2.5 and J!3.x but both links (from main menu & JA News Pro module) show index.php?option=com_users&view=login

    Did you have any other SEF extensions in your site? please try to disable them first

    tzvishmuel Friend
    #513303

    I apologize for the delay in updating the thread…I found the code myself and have been busy since. In my version of the Nex download for 3.1, both the Quickstart download and the separate module downloads, many of the JA News modules still have com_user instead of com_users for the link…for my particular problem I had to change it in line 348 of mod_janewspro/helpers/adapter/content.php. It’s possible the code was fixed after I downloaded my versions.

    Saguaros Moderator
    #513330

    Glad you solved it, if this problem occurs in future, kindly let me know and remember to keep this module updated.

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

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 11 years ago.

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