04 | 12 | 2024
Main menu
Login/Logout
 
Contacts
Реклама
Our button

Блог Ecolora

Код:

<a href="http://www.ecolora.com" target="_blank" rel="nothing" title="Ecolora.com"><img alt="Ecolora.com" height="31" src="http://www.ecolora.com/images/ecoloracom.gif" width="88" /></a>
Who's online

We have 46 guests and no members online

Лента новостей

Newsletter
Welcome, Guest
Username: Password: Remember me
Module for extravote plugin
  • Page:
  • 1
  • 2

TOPIC: Worst voted articles

Worst voted articles 11 years 5 months ago #6766

  • SialoS
  • SialoS's Avatar
  • Offline
  • Новый участник
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
Hello and thank you in advance.

The module is to show the top voted articles .
How can i modify the module to show the worst voted articles?
(I use joomla native voting system)
The administrator has disabled public write access.

Worst voted articles 11 years 5 months ago #6770

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
I can add that feature for some money. ;-) So You'll use two modules for best articles and worst articles on the same site.

Or You need advise of how to hack the module and show only worst articles always?
The administrator has disabled public write access.

Worst voted articles 11 years 5 months ago #6771

  • SialoS
  • SialoS's Avatar
  • Offline
  • Новый участник
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
I prefer to learn something new, so if i need something in the future i can create it by my self.
If im not asking too much please advice me to hack or create a new module based on yours. (if you believe is easier to use extra vote rating instead of joomla's native one, thats ok with me). I still didn't release my site.
The administrator has disabled public write access.

Worst voted articles 11 years 5 months ago #6772

  • admin
  • admin's Avatar
  • Offline
  • Администратор
  • Posts: 465
  • Thank you received: 40
  • Karma: 19
Ok. As You wish. :)

You need to open mod_top_extravote/helper.php and change
DESC

to
ASC

everywhere.
The administrator has disabled public write access.
The following user(s) said Thank You: SialoS

Worst voted articles 11 years 5 months ago #6773

  • SialoS
  • SialoS's Avatar
  • Offline
  • Новый участник
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
that's it? not much to learn!

thank you for your time it's appreciated.

I will try and get back to you
Last Edit: 11 years 5 months ago by SialoS.
The administrator has disabled public write access.

Worst voted articles 11 years 5 months ago #6774

  • SialoS
  • SialoS's Avatar
  • Offline
  • Новый участник
  • Posts: 4
  • Thank you received: 1
  • Karma: 0
I have added a new option in order_by in mod_top_extravote.xml
and in helper i have added in source_data check a new option with order_by==3 the same as ==1 and changed the order to ASC!
Thank you. i learned a lot!
The administrator has disabled public write access.
The following user(s) said Thank You: admin
  • Page:
  • 1
  • 2
Time to create page: 1.237 seconds
for children older than 12 years