Search
Other Articles Anywhere questions
Forum

Is it necessary to specify a category, ids ...?

Peter Bödeker's Avatar Peter Bödeker
For some time now (I don't know how long, it could be just a few days) no article appears when I enter the following:
{articles ordering="hits DESC" limit="3"}
Has there been a change? Do you now always have to mention categories, IDs ... have to be mentioned?

Many greetings
Peter
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Peter Bödeker's Avatar Peter Bödeker
Does not work for me. No article integrated: www.yoga-welten.de/
Whether for
{articles created="date('-50 days') to now()" ordering="created DESC" limit="2"}
nor for
{articles ordering="hits DESC" limit="3"}
Whether in a module nor in an article ...
Peter Bödeker's Avatar Peter Bödeker
Sorry, wrong - I deleted the cache sometimes and now it works!
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
Peter Bödeker's Avatar Peter Bödeker
There seems to be another problem. I integrated in www.yoga-welten.de/yoga-forum/schmerzen-...rster-yogastunde.htm
the code:
Top-Beiträge
{articles ordering="hits DESC" limit="3"}

Siehe auch
{source}<div class="box_well">{/source}

{articles id="1923"}

[link][title][/link]

[link][image-intro][/link]

[introtext offset-headings="3"]

[readmore text="Hier weiterlesen"]

{/articles}

{source}</div>{/source}
Then strange things happen, all of a sudden {articles id="1923"} is output with it.
If I delete {articles ordering="hits DESC" limit="3"} everything is normal again.
Peter van Westen's Avatar Peter van Westen ADMIN
That is because your code is invalid/incomplete.
You have 2 {articles} opening tags. And just 1 closing tag.

Not sure what you are trying to do, but if you want to nest tags, see:
docs4.regularlabs.com/articlesanywhere/g...ther/nested-articles
Please post a rating at the Joomla! Extensions Directory
Peter van Westen's Avatar Peter van Westen ADMIN
Also, if you just want to output 1 article, use the single {article} tag, not the {articles} tag.
Please post a rating at the Joomla! Extensions Directory
Peter Bödeker's Avatar Peter Bödeker
Embarrassing!
I was in a hurry and wanted to quickly test the article integration ... With a little more calm, I would have seen it.
Thank you very much and please excuse the carelessness.
Peter
Also, if you just want to output 1 article, use the single {article} tag, not the {articles} tag.
PS: Is that necessary or just recommendable?
Peter van Westen's Avatar Peter van Westen ADMIN
It is not necessary, but recommended. As Articles Anywhere can then skip some checks and will probably need less queries to get to the end result.
Please post a rating at the Joomla! Extensions Directory
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription