I have sliders with articles in them It is only...

Search
Other Bug Reports questions
Forum

I have sliders with articles in them It is only rendering the last slider.

Steve Babbitt's Avatar Steve Babbitt
Is it possible to use articles anywhere inside of sliders?

Here is the code I'm using:
<p>{slider title="2022 Alerts"}</p>
<p>{articles category="SCAP Alerts" created="2022" ordering="created DESC" empty="There are no alerts for this year."}</p>
<p><em><strong>[created format="M j, Y"]</strong></em></p>
[introtext]
<p><a class="readmore" href="[document output='value']" target="_blank">Download</a></p>
<p>{/articles}</p>
<p>{slider title="2021 Alerts"}</p>
<p>{articles category="SCAP Alerts" created="2021" ordering="created DESC" empty="There are no alerts for this year."}</p>
<p><em><strong>[created format="M j, Y"]</strong></em></p>
[introtext]
<p><a class="readmore" href="[document output='value']" target="_blank">Download</a></p>
<p>{/articles}</p>
<p>{/sliders}</p>
Peter van Westen's Avatar Peter van Westen ADMIN
Yes, should work.

What issue are you running into?
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in