Where are Gneres located in backend?

Dustin
Dustin
Offline
0
I need to access the code for the genres in order to put them in alphabetical order but i cant find where they are. or would I need to access the database?
Responses (4)
  • Accepted Answer

    Thursday, December 30 2010, 05:31 PM - #Permalink
    0
    administrator/models/genres.php

    but is not that easy. as there are genres and subgenres... it wont be easy

    my advise is: don't touch this. is the more complicated part

    if you change it... it's at your own risk! ;)
    The reply is currently minimized Show
  • Accepted Answer

    Dustin
    Dustin
    Offline
    Thursday, December 30 2010, 05:51 PM - #Permalink
    0
    I dont have sub genres i just need to add this query.. but where:
    SELECT * FROM `jos_muscol_genres` ORDER BY `jos_muscol_genres`.`genre_name` ASC

    ???
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, December 30 2010, 05:53 PM - #Permalink
    0
    the file I told you probably calls /components/com_muscol/helpers/helpers.php

    there is the actual function to retrieve the genres.

    again , this function is used in many places. my advise, again: DO NOT TOUCH THIS.

    if you touch this and afterwards things don't work, I'm not responsible!
    The reply is currently minimized Show
  • Accepted Answer

    Dustin
    Dustin
    Offline
    Thursday, December 30 2010, 06:32 PM - #Permalink
    0
    okay thank you, and is there a way to disable the "song views"??
    The reply is currently minimized Show
Your Reply