Free advertising for your Joomla business

Solved J3.6.0 Featured Articles

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 4 months ago #178 by Laurie
J3.6.0 Featured Articles was created by Laurie
G'day!

I have a site which I've upgraded to J3.6.0. The homepage is a Featured Articles layout.

All was well till I upgraded from J3.5.1 to J3.6.0.

Now, new articles appear in the category blog under the menu item but don't appear on the homepage as Featured Articles.

On the live site I restored the pre-upgrade backup and all is well again.

I've checked it all out and can't find any mistakes. Done multiple tests with a couple of test sites.

I've stripped out an old test site, used Protostar template and created a few dummy articles. All is fine before and after the upgrade to J3.6.0, so I know it's not a bug in J3.6.0. It must be a conflict with some extension on the live site.

The only way I can see to troubleshoot is to disable all (or most) third party extensions and see what happens.

Any ideas?

Thanks,
Laurie.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago - 3 years 4 months ago #179 by sozzled
Replied by sozzled on topic J3.6.0 Featured Articles
I just tested the theory on a test J! 3.6.0 site.

1) Changed the homepage to the "Featured Articles" menu item

2) I have a few article categories. One article was already "optioned" to be featured (let's say it was in category A).

3) Created a new article—made sure it was featured—placed this in category B, published it (I did not change the "start publishing date").

4) Looked at the home page again and saw both articles.

Therefore, I cannot confirm your particular problem. The featured articles menu item seems to be functioning the same in J! 3.6.0 as it has been in earlier versions of Joomla.

EDIT: One correction I should add. The featured article view has changed in J! 3.6.0; see issues.joomla.org/tracker/joomla-cms/11139 . Not sure it's a change for the better, though. It's set the cat among the pigeons in some quarters of the Joomla community.

Read my blog and
File Attachment:
Last edit: 3 years 4 months ago by sozzled.

Please Log in or Create an account to join the conversation.

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 4 months ago #180 by Laurie
Replied by Laurie on topic J3.6.0 Featured Articles
Thanks Michael!

Yes, that's pretty much the same as I did on a test site and the same results as I got. The test site is a bare bones site that I stripped the guts out of for the test.

However, on the live site, with a dozen or more third party extensions, the Featured Articles publish to the homepage when running on J3.5.1 and not when running on J3.6.0.

That's why I think it must be a javascript conflict with one of the extensions or some such.

I guess I'll just have to disable all the third party extensions and see what happens then. Will simply disabling the extensions tell the true story?

Regards,
Laurie.

Please Log in or Create an account to join the conversation.

More
3 years 4 months ago #181 by sozzled
Replied by sozzled on topic J3.6.0 Featured Articles
Although J! 3.6.0 updated the jQuery JS library—and it was high time that they got around to this welcome inclusion because the old library was pretty ghastly—I'm unconvinced that the issue relates to this. I could be wrong, of course, but it just doesn't make sense to me.

You add an article, you assign it to a category; you mark the article as featured. So far we haven't gone anywhere near JS. This is all basic database update action.

The next thing is to determine how the Featured Articles view filters those articles for inclusion. I haven't delved into a) the "content options" or b) the menu options but that's where I would start. Further, the fact that certain articles are not being included could involve ACLs (i.e. permission settings). If the person's account attempting to view the Featured Articles doesn't posses the required permissions then this may be a reason why your articles are not being viewed. You might want to review the category permissions as well as the article permissions.

I also doubt that having more or less third-party extensions comes into play here but there's also the possibility of caching. J! 3.6.0 has an improved cache deletion mechanism which I haven't looked into.

There's a few other matters you might want to consider.

Read my blog and
File Attachment:

Please Log in or Create an account to join the conversation.

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 4 months ago #182 by Laurie
Replied by Laurie on topic J3.6.0 Featured Articles
Thanks Michael!

I've checked out all that.

Not too clued in about cache. Joomla cache in the global configuration is turned off. There were two gantry (gantry template) caches in Clear Cache in System so I deleted them.

The caching can't have changed due to the upgrade from J3.5.1 to J3.6.0.

I've looked at the permissions, which as above can't have changed due to the upgrade. Further, the site is offline so I'm logged into the frontend as well as backend as Super User, so ACL shouldn't be a problem here.

I've stubbornly uninstalled nearly all third party extensions. Didn't help, of course.

I've disabled nearly all modules, mostly custom html.

The problem can't be J3.6.0. I've tested a bare bones site and all is well. I've tested on different hosting so it can't be the hosting. Maybe some conflict, though you doubt that with good reason.

The site was originally built by experts from Melbourne. It was built on J2.5 when J3.x had been out for a while. The site appeared to be an old site, stripped out and reused. There were outdated, paid extensions dating back to 2009. We eventually got a backup and rebuilt the site on new hosting.

The rebuild was a challenge because it had been so hacked about that I couldn't update it and had to cobble it together from bits of the old database and bits of a clean installation. Finally got it working right.

I now wonder if there was some part of the database that I didn't renew that has now played up in J3.6.0. So I'm asking if this could be a database issue.

Thanks,
Laurie.

Please Log in or Create an account to join the conversation.

  • Laurie
  • Laurie's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 4 months ago #184 by Laurie
Replied by Laurie on topic J3.6.0 Featured Articles
Hi Michael!

I got to the bottom of this and it wasn't so far from your suggestions. It was in the menu options.

It seems that J3.6.0 resolves Featured Articles Order differently than J3.5.1. It reverses the order and so the latest article comes in at the bottom of the list on the frontend, rather than the top (or else something got reversed in the upgrade), hence it's not seen when there are only 5 articles displayed in the Featured Articles component on the homepage.

I discovered this by deleting all articles (on a test site) and creating a few dummy articles. The newest went to the bottom.

I simply changed the Featured Articles Order to Published and all came right.

Thanks for the help,

Laurie.

Please Log in or Create an account to join the conversation.

Time to create page: 0.262 seconds