Search
Other Articles Anywhere questions
Forum

Use articles anywhere to display whole article in layout override

Anne Garger's Avatar Anne Garger
Instead of just showing the link to the article in the joomla related articles module I would like to override the layout to show the whole article, how do I get the article id in this module so I can use this syntax {article id="123"}...{/article} to show the whole article instead of just a link to the article. Here's the loop where the articles anywhere would be inserted

<ul class="mod-relateditems relateditems mod-list">
<?php foreach ($list as $item) : ?>
<li>
Peter van Westen's Avatar Peter van Westen ADMIN
I guess that $item there refers to the article, and that $item->id will return the article id?!
Please post a rating at the Joomla! Extensions Directory
Anne Garger's Avatar Anne Garger
Perfect, that did it, thanks for the quick help!
You can only post on the extension support forum if you have an active subscription and you log in

Buy a Pro subscription