You might need to more closely define 'run'. Most things within a repeater can be accessed via repeater_id.field_id but I'd need to know exactly what you're trying to do.
Oh i see, i wrapped the whole lot in a repeater, so could just add another easy, but maybe thats not the best way then. You can only count on the content not the repeater. as my content is all in the repeater its not seen then.
You might need to more closely define 'run'. Most things within a repeater can be accessed via
repeater_id.field_id
but I'd need to know exactly what you're trying to do.So i have a reviews.php page with a content region of
And i wish to RAND call 3 from the field_id of datePublished to the index.php
my repeater id is
What result are you getting?
no output
If you turn on debug for the page, what output do you get?
Ok let me amend, the output is in fact fine but not restricted to a count of 3. Debug below. cheers for the help.
The count will be of the main items, not the repeater - is that what you're seeing?
Oh i see, i wrapped the whole lot in a repeater, so could just add another easy, but maybe thats not the best way then. You can only count on the content not the repeater. as my content is all in the repeater its not seen then.
cheers for the help on this drew.
All sorted now I've taken it out the repeater.