News Category Broken After Update - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

News Category Broken After Update

C

conshelf

Template 4 years ago

Hello,

I just updated the Ensure to the lastest version and now I cannot view the category blog layout of my news articles.

Link in hidden content.

Kind regards, John

0
7 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #42648

Hi there!

Sorry for the inconvenience.

Would you please give me your admin access to check?

Best Regards

0
C
conshelf
Accepted Answer
4 years ago #42654

Hi Rashida,

Sure, the credentials are in the hidden content.

Please be careful, this site is close ot being complete and we do not want to lose any progeress.

Kind regards. John

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #42657

Okay, I will. Kindly, keep a full backup of your site first to avoid any unwanted situation.

Best Regards

0
C
conshelf
Accepted Answer
4 years ago #42658

Hi Rashida,

Awesome, thank you!

I have a couple of Akeeba backups just in case.

Kind regards, John

0
C
conshelf
Accepted Answer
4 years ago #42664

Hi Rashida,

I found the issue, this code on line 93 of the blog_item.php located here: templates/ensure/html/com_content/category

$link = Uri::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));

Should be, at least I think (not a coder, just compared it to other blog_item.php files from other Joomshaper templates) this:

$link = Route::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language));

All I know is, it's working now.

Kind regards, John

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 4 years ago #42667

Hello,

Great! Glad to know that you have made it:)

I was going to rename that file though...

Anyways, thanks for letting me know that all is fine now.

Best Regards

0
C
conshelf
Accepted Answer
4 years ago #42843

Hi Rashida,

Seems this issue is in the latest version of the Ensure template.

I downloaded and noticed the same issue in this file templates/ensure/html/com_content/category/blog_item.php

Kind regards, John

0