0
Hi,
We are using Music Collection for a different purpose (one podcast, from one artist with a profile page). On our home page we want a list of podcasts with images that can play the podcast on that page and when we click on the image it goes to the profile page. It does this perfectly using the Albums module as the homepage
. I only need to use the Albums form to capture details and upload the podcasts, but some of the fields are not required. For example we only need one image file for the Album and one image for the Artist/Song. We don't need many of the other fields either. Is there a way I can remove these from the form so as not to confuse our users?
Kind regards
Mel
We are using Music Collection for a different purpose (one podcast, from one artist with a profile page). On our home page we want a list of podcasts with images that can play the podcast on that page and when we click on the image it goes to the profile page. It does this perfectly using the Albums module as the homepage

Kind regards
Mel
Accepted Answer
0
hello
1. /components/com_muscol/views/album/tmpl/default.php (any of the sub-files you want to place it to)
2. ok well then you need to modify some CSS to allow this. in file album.css line 833, for example, you can remove the property "white-space" from the class .material-card .title
(I'm asuming you know some CSS here..)
1. /components/com_muscol/views/album/tmpl/default.php (any of the sub-files you want to place it to)
2. ok well then you need to modify some CSS to allow this. in file album.css line 833, for example, you can remove the property "white-space" from the class .material-card .title
(I'm asuming you know some CSS here..)
Responses (5)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0Hi Germinal,
For 1. Which file to I add that to so it shows in the profile card ( $this->album->hits)
2. I have attached what I mean - it is basically the Album name box - I am using it as a descriptive introduction so need to make it show more text, and then on the profile page (if that is what you call it where the Facebook comments etc. are) for it to show the full text as currently it cuts it off with ... like it has a set number of characters to display. -
Accepted Answer
0Hi Germinal,
thank you!
For anyone else who needs how to do this, here is what I did (in my case I needed to add hits to the Album details):
1. Go to folder /components/com_muscol/views/album/tmpl/
2. Create a safe copy of the file you are about to edit - in my case it is /default_details.php
3. I wanted to add Hits count just above my Tags to the details section of the album so underneath thfollowing section of code (and above the opening php for Tags code) I added:
<?php if($this->params->get('showalbum_editiondetails', 1) == 1 || ($this->params->get('showalbum_editiondetails', 1) == 2 && $this->album->edition_details)){ ?>
<strong class="label_detailed_album"><?php echo JText::_( 'EDITION_DETAILS' ); ?></strong> <span class="value_detailed_album"><?php echo $this->album->edition_details; ?></span>
<?php } ?>
I added my new code:
<?php if($this->params->get('showalbum_hits', 1) == 1 || ($this->params->get('showalbum_hits', 1) == 2 && $this->album->hits)){ ?>
<strong class="label_detailed_album"><?php echo JText::_( 'Hits' ); ?></strong> <span class="value_detailed_album"><?php echo $this->album->hits; ?></span>
<?php } ?>
Hope that is of use to others.
Regards
Mel
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »