ontarget
Active Member
Hi
I am using the content plugin to display elements in a custom html module.
The element atecicpdcourses___edcentre is meant to link to the details view - however when i try to randomise the records using the content plugin in a custom html module as shown below the elements link doesn't work (although they do display correctly and randomly). If i remove rowid=1 the element link does work but no longer random!
<div class="uk-grid">
<div class="uk-width-1-2">{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___edcentre}</div>
<div class="uk-width-1-2">{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___title}<br/>{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___startdate}
</div>
</div>
++++++++++++++++++++
this does work i.e the link to details view functions
{fabrik view=element random=1 list=2 element=atecicpdcourses___edcentre}
but randomizer doesnt work and it shows the record in rowid=1
Can anyone one shed any light on this please? or let me know a better way of randomising list records to display in a module
Thanks for any help
I am using the content plugin to display elements in a custom html module.
The element atecicpdcourses___edcentre is meant to link to the details view - however when i try to randomise the records using the content plugin in a custom html module as shown below the elements link doesn't work (although they do display correctly and randomly). If i remove rowid=1 the element link does work but no longer random!
<div class="uk-grid">
<div class="uk-width-1-2">{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___edcentre}</div>
<div class="uk-width-1-2">{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___title}<br/>{fabrik view=element random=1 rowid=1 list=2 element=atecicpdcourses___startdate}
</div>
</div>
++++++++++++++++++++
this does work i.e the link to details view functions
{fabrik view=element random=1 list=2 element=atecicpdcourses___edcentre}
but randomizer doesnt work and it shows the record in rowid=1
Can anyone one shed any light on this please? or let me know a better way of randomising list records to display in a module
Thanks for any help
Last edited: