Search
Other Articles Anywhere questions
Forum

Exclude current articles from result

Marc Pradel's Avatar Marc Pradel
Hi, I use the following syntax to show all articles of the current author: (works)

{articles author:id="current" category="Ausbildungen" empty="Aktuell liegen keine weiteren Ausbildungen vor."}
{if first}
<table class="uk-table uk-table-striped uk-table-small">
{/if}
<tr><td>[link][title][/link]</td></tr>
{if last}
</table>
{/if}
{/articles}

Now I would like to show all articles instead the current one. So I try this

{articles articles="!current" author:id="current" category="Ausbildungen" empty="Aktuell liegen keine weiteren Ausbildungen vor." } (nothing happened)

and this
{articles="!current" author:id="current" category="Ausbildungen" empty="Aktuell liegen keine weiteren Ausbildungen vor." } (BAD SYNTAX)

Could you give me a hint how to use the exclude option properly. Thanks!

Regards,
Marc
Peter van Westen's Avatar Peter van Westen ADMIN
Try:
{articles category="Ausbildungen" author="current" id="!current" empty="Aktuell liegen keine weiteren Ausbildungen vor."}
Please post a rating at the Joomla! Extensions Directory
Marc Pradel's Avatar Marc Pradel
With your code I get:

1054: Unknown column 'author.author' in 'where clause'
Peter van Westen's Avatar Peter van Westen ADMIN
And this doesn't work?
{articles category="Ausbildungen" author:id="current" id="!current" empty="Aktuell liegen keine weiteren Ausbildungen vor."}
Please post a rating at the Joomla! Extensions Directory
Marc Pradel's Avatar Marc Pradel
No. I used it here (left bottom):
Confidential information:
(hidden)
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases

This should work now:
{articles category="Ausbildungen" author="current" article="!current" ...
Please post a rating at the Joomla! Extensions Directory
Marc Pradel's Avatar Marc Pradel
Yes, with the development release it works! Thank you. 🙂
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
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription