Similar Articles with random tags

Posted in: Newspaper
Post count: 43

Hi guys,

Is it possible in “Similar Article Category” choose tags with random method?

I realized that the similar posts are organized by most recent dates.

Post count: 854

hi,
I think is posible :
http://screencast.com/t/hlHsUxOjf1

here is where the code similar articles is handled : http://screencast.com/t/hlHsUxOjf1

Thanks for you message.
Radu A.

Post count: 43

Thanks, Radu.

I included the code [‘orderby’ => rand] and works nice!

Post count: 43

Hi,

Is it possible in the new Newspaper Version choose tags randomly in “Similar Article Category”?

Actualy, similar posts are organized by most recent dates.

Post count: 22421

Hi,
In version 6 the code was moved to this file: http://screencast.com/t/cUuT4QMXM You can try to add your condition here.
Thanks.

Post count: 43

Bogdan,

I included the code {‘orderby’ => rand} but didn’t work.

Any other sugestions?

Post count: 22421

Hello,
you can try it like this: http://screencast.com/t/1IQvWva2JF
'sort'=>'random_posts' and it should have the result you want.
Thanks.

Post count: 43

Hi Bogdan,

Unfortunately, the code didn’t work 🙁

What could happen?

Post count: 22421

I just tested this again and added the code exactly like in the screenshot above. (don’t forget the comma after the previous line of code) and the related articles now grab random posts. If i refresh the page, the posts will be different:
http://screencast.com/t/m4TfDrXpI2G and refresh: http://screencast.com/t/DYq1Zv3i
Try it again and provide more details if it will still not work.
Thanks.

Post count: 43

The comma!

Works nice with the comma.

Thanks again, Bogdan!

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.