Comments Tiago Garcia started the conversationApril 19, 2018 at 7:56pmHello,More improvement helpsToday a make a change in \ provider \ joomla \ joomla_article.classin 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); } 948Max repliedApril 23, 2018 at 10:37amanswered to another ticket of yours, closing this one.Tiago Garcia repliedApril 23, 2018 at 12:37pmMax, 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 Sign in to reply ...
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);
}
answered to another ticket of yours, closing this one.
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