Okay
  Public Ticket #1547698
Broken link articles
Closed

Comments

  • Tiago Garcia started the conversation

    Hello,

    More improvement helps

    Today a make a change in \ provider \ joomla \ joomla_article.class

    in function getLink()

    Use this:

    /**
    * get front end link to the article
    */
    public function getLink(){

    $this->validateInited();

    $com_path = JPATH_SITE . '/components/com_content/';
    JLoader::register('ContentHelperRoute', $com_path . 'helpers/route.php');
    $link = JRoute::_(ContentHelperRoute::getArticleRoute($this->record['id'], $this->record['catid'], $this->record['language']));
    // $link = GlobalsUC::$url_base."index.php?option=com_content&view=article&id=".$this->id;

    return($link);
    }




  •  902
    Max replied

    answered to another ticket of yours, closing this one.


  • Tiago Garcia replied

    Max, I did not understand your message.

    The code below is not a doubt.

    It's a solution that I've created and I'm sending to you.

    It solves the problem of the links in version 3.8.x

  •   Max replied privately