Viewing 1 post (of 1 total)
  • Author
    Posts
  • annabelr Friend
    #147307

    Hi there,

    I know this ain’t related to JA devs… But if anyone here as a solution it would be Fabulous…
    When trying to access the submit an article or submit a weblink forms, guests are displayed an error message “you must be registered…”. I want to replace this message by the login form (so guests don’t have to look around and figure out what to do next).
    I found a hack in the Joomla Tips & Tricks section (create a hidden menu + aliases) but it doesn’t work out for me since it still is the error message that’s displayed.
    There it is : http://cohabitat.fr/JA/component/content/article.html?layout=form

    So… How can i achieve the redirect?

    I guess i should modify the following bit of com_content/views/article

    if ($user->get(‘gid’) < 18) {
    JResponse::setHeader(‘HTTP/1.0 403’,true);
    JError::raiseWarning( 403, JText::_(‘ALERTNOTAUTH’) );
    return;
    }

    But what should i replace it with?

    Thx for any suggestions…

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  annabelr 14 years, 9 months ago.

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