Pages for different Genre

deskelf
deskelf
Offline
0
I have a bunch of lectures that are not organized into an album, rather they are just categorized by Genre. Is there a simple way to make pages that display all of the lectures in a given Genre?

Thank you in advance for your help!
Responses (7)
  • Accepted Answer

    Thursday, April 25 2013, 11:08 AM - #Permalink
    0
    well, this page would be the "results search page" with a genre choosen, if you know what I mean...
    The reply is currently minimized Show
  • Accepted Answer

    deskelf
    deskelf
    Offline
    Thursday, April 25 2013, 06:52 PM - #Permalink
    0
    Thanks for the reply, Germi.

    I did notice you could do that. The problem that I found with that was that the search fields appears on top of the page. It does not look so nice to have that when all I want to do is display the lectures in that genre. Is there a way to make this page possible without using the search results page, or even the search results page without the search fields present?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 25 2013, 06:54 PM - #Permalink
    0
    well, the way would be to hide these search fields directly on the layout (php ) file, which is /components/com_muscol/views/search/tmpl/default_songs.php.

    are you ok with removing a bit of code..? at the beginning of the file..
    The reply is currently minimized Show
  • Accepted Answer

    deskelf
    deskelf
    Offline
    Thursday, April 25 2013, 07:19 PM - #Permalink
    0
    I can remove code, that is fine. I am a web designer. Does this take the code off of the entire site? I still want people to be able to search elsewhere, like on the home page.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 25 2013, 07:20 PM - #Permalink
    0
    then add some "IF" sentence.. if the genre ID is provided, don't show them.. otherwise, show them :)
    The reply is currently minimized Show
  • Accepted Answer

    deskelf
    deskelf
    Offline
    Thursday, April 25 2013, 07:47 PM - #Permalink
    0
    I cam remove code. I am not sure if I have enough skill to write that correctly. Could you write a quick snippet and I can put it into place?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 26 2013, 03:46 PM - #Permalink
    0
    you need something like:

    if(!JRequest::getInt('genre_id')){
    //not a genre page. render the bars here
    }
    The reply is currently minimized Show
Your Reply