Artist grid on the main page Issue

Sunnyboy
Sunnyboy
Offline
0
Hi Germinal,

I am strugling with the main page, i want all the artists to show up in a grid form, but not with the albums.
When I turn on "Show artists on MC home" in the settings, the artists show up with the albums.

I just want all the artists to show on the main page, kind of like this http://bit.ly/2azg0ty
My site it looks like this: http://bit.ly/2azg0ty

Hope you know what I mean, thanks

Accepted Answer

Friday, July 29 2016, 04:33 PM - #Permalink
0
oh yeah, I forgot that. it's in /components/com_muscol/templates/template_artist.php

you will see it very easily. it's basically HTML.
The reply is currently minimized Show
Responses (7)
  • Accepted Answer

    Friday, July 29 2016, 07:18 PM - #Permalink
    0
    no problem!

    glad we could help you sort it out.

    Thanks for your support, see you soon!
    The reply is currently minimized Show
  • Accepted Answer

    Sunnyboy
    Sunnyboy
    Offline
    Friday, July 29 2016, 05:37 PM - #Permalink
    0
    Thanks for your support Germinal! very clear and it works like a charm.
    Great component and support, keep up the great work! see you later ;)
    The reply is currently minimized Show
  • Accepted Answer

    Sunnyboy
    Sunnyboy
    Offline
    Friday, July 29 2016, 04:30 PM - #Permalink
    0
    Great!! one more thing, how do I hide the "..songs • ..albums"
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2016, 03:54 PM - #Permalink
    0
    if you open file /components/com_muscol/models/artists.php and go to line 102 you see this

    $this->artists_data = MusColHelper::prepareArtistsData($this->artists_data, true);


    just replace with:


    $this->artists_data = MusColHelper::prepareArtistsData($this->artists_data, false);
    The reply is currently minimized Show
  • Accepted Answer

    Sunnyboy
    Sunnyboy
    Offline
    Friday, July 29 2016, 12:33 PM - #Permalink
    0
    modifying PHP is no problem, what file do I need to modify
    The reply is currently minimized Show
  • Accepted Answer

    Friday, July 29 2016, 10:48 AM - #Permalink
    0
    Hi,

    to NOT show the albums in this view, a (very small) code change is necessary.. are you ok modifying PHP?
    The reply is currently minimized Show
  • Accepted Answer

    Sunnyboy
    Sunnyboy
    Offline
    Thursday, July 28 2016, 09:00 PM - #Permalink
    0
    What I mean is the cards layout without the albums and the text "...songs and ...albums" just the artist name.
    The reply is currently minimized Show
Your Reply