Welcome, Guest
Username: Password: Remember me

TOPIC: Articles random on the module

Articles random on the module 4 years 7 months ago #661

  • patsabatier
  • patsabatier's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 5
  • Karma: 0
Good evening,
With the version of "mini news" you could view the articles of a category to Hazard. Is it possible now to change "megaminnews" to view the articles at random? Because this option is not possible in the aministration module.
Which file change and how?
Thank you for your support.
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka

Re: Articles random on the module 4 years 7 months ago #662

  • linh_omg
  • linh_omg's Avatar
  • OFFLINE
  • Moderator
  • Posts: 910
  • Thank you received: 568
  • Karma: 25
Hi,
OT mininews and mega mininews are "the same", in mean you can use ot mininews instead of mega mininews (the older, including in some template).

If you need change that, there is 2 tasks to do:
1. Add order option "random" to parameter (edit .xml file and add to "order by" parameter)
2. Edit helper.php, check the parameter "order by", if "random" then change the way of query statement or anyway of sorting you can do as your creativity to fit your need.

Thanks for using our products!
If you need to send us FTP access / host access, administrator access or any private information:
services(at)omegatheme(dot)com or drop a ticket www.omegatheme.com/member/
The administrator has disabled public write access.
The following user(s) said Thank You: makcimka
Time to create page: 0.157 seconds