Articles Anywhere

Problems with Articles Anywhere and k2 joomla 3.8 k2 2.8

11 months 3 weeks ago #75043

Chris Davis's Avatar Chris Davis

I am using artilces anywhere to pull in the artilce title into a global header on this site ( exercisingbalance.com/prenatal-reading-recommendations ). I just updated to the lasted articles anywhere and it has broken. The syntax I am using is
{article k2:current}[title]{/article}. It is pulling all of the k2 titles in now. I turned off that module for now as this is a live site. Can you assist please?

11 months 3 weeks ago #75044

Peter van Westen's Avatar Peter van Westen Admin

Please use the new syntax:

{article article="current" type="k2"}[title]{/article}
See: www.regularlabs.com/extensions/articlesanywhere/tutorial

11 months 3 weeks ago #75045

Peter van Westen's Avatar Peter van Westen Admin

PS: K2 support is limited in Articles Anywhere. So this might not work as expected.

11 months 3 weeks ago #75046

Peter van Westen's Avatar Peter van Westen Admin

Also:
Please try the latest development version from:
www.regularlabs.com/development-releases

11 months 3 weeks ago #75049

Chris Davis's Avatar Chris Davis

Peter, I have tried all of your suggestion... Here is a screen grab of what is happening. https://www.dropbox.com/s/4esrtf5wm4w9clt/Prenatal%20Reading%20Recommendations%20%20%20Exercising%20Balance.png?dl=0

11 months 3 weeks ago #75050

Peter van Westen's Avatar Peter van Westen Admin

Can you give me (super) admin and (s)ftp access so I can take a look?
And tell me on what url I can see/reproduce the issue.
You can use the 'Hidden text' button to hide the confidential information.

11 months 3 weeks ago #75051

Chris Davis's Avatar Chris Davis

Confidential information:
(hidden)

11 months 3 weeks ago #75053

Peter van Westen's Avatar Peter van Westen Admin

Ok, found the problem.
It is fixed on your setup and in latest development release on:
www.regularlabs.com/development-releases

11 months 3 weeks ago #75069

Peter van Westen's Avatar Peter van Westen Admin

Can you please test the updated development version of Articles Anywhere?
I have improved some more stuff.
www.regularlabs.com/development-releases

11 months 3 weeks ago #75088

Chris Davis's Avatar Chris Davis

Peter, I have test the latest dev and it white screens. Here are the errors

Confidential information:
(hidden)

11 months 3 weeks ago #75089

Peter van Westen's Avatar Peter van Westen Admin

That looks like an issue with your template, not Articles Anywhere...

11 months 3 weeks ago #75090

Chris Davis's Avatar Chris Davis

I have correct the missing folders but now have this error.
Argument 1 passed to RegularLabs\Plugin\System\ArticlesAnywhere\Components\K2\CurrentItem::__construct() must be an instance of RegularLabs\Plugin\System\ArticlesAnywhere\Components\K2\Config, instance of RegularLabs\Plugin\System\ArticlesAnywhere\Config given
Do you have any insight?

11 months 3 weeks ago #75092

Peter van Westen's Avatar Peter van Westen Admin

11 months 3 weeks ago #75110

Peter van Westen's Avatar Peter van Westen Admin

Let me know if this is fixed. It's the last thing keeping me from releasing the new version :)

11 months 3 weeks ago #75111

Chris Davis's Avatar Chris Davis

Peter it is posting the same title on every k2 page. Here is an example.
exercisingbalance.com/recipes

11 months 3 weeks ago #75114

Peter van Westen's Avatar Peter van Westen Admin

This looks like it is down to caching.
It seems you have set up your site in a way that the area where you place the title is getting cached.
Where exactly have you placed this {article} tag? In a module?
If so, switch off the caching in that module.

11 months 3 weeks ago #75116

Peter van Westen's Avatar Peter van Westen Admin

I disabled cache on some of your header modules, including the "K2 Headers" module.
Seems to work fine now.

11 months 3 weeks ago #75117

Chris Davis's Avatar Chris Davis

Peter,

Thank you for the assist. We have decided to move away from the joomla caching plugin give the errors that it produces.

11 months 3 weeks ago #75121

Peter van Westen's Avatar Peter van Westen Admin

Yes, the Joomla Page Cache plugin should only be used on static pages. Not much use on most websites.

Read for more on caching here: www.joomlabeginner.com/blog/tutorials/81...able-cache-in-joomla

6 months 4 weeks ago #78273

Chris Davis's Avatar Chris Davis

Peter,

I am having another issue with a site using article anywhere and the current tag.

Confidential information:
(hidden)
. Any thoughts?