Hello,
I searched the forum but with no results.
Is there a content rotator, which will display some content (it can be a webpage from specified modx folder),
+ in the specified frequency for exaple each content is displayed 1 hour, or 2 days,
+ and specified order (ie webpage#1 is displayed first, then webpage#2, then webpage #3 and webpage#4) ?
+ or each webpage has its own priority, ie webpage#1 is displayed 2 times more often the webpage#4, which is displayed 2 times more often then #2
I imagine the rotator to work with the following algorithm:
if (random==true){
display content#random for X unique-pagevisits; // or easier: page-views
}
else{
while(1==1){
display content#y1 for x1 days;
display content#y2 for x2 days;
display content#y3 for x3 days;
}
}
And in html it would look like that
<div id="rotator">
// here is displayed the content of the page, it could be text, flash, img or whatever
// [hardcore version] this div can be placed in more then 1 place on the webpage, and can be placed in integrated SMF forum
</div>
What snippets/modules/TVs could be usefull to create such rotator?
Or maybe there is some Modx Snippet which enables this feature?