Cinemass
Cinemass
Offline
0
Hi,

I have just upgraded to MC 2.0 and I'm very happy with the look it has. Thanks Germi. I have the problem with Random Albums module and Random & Featured Albums module before and even now.

This is how they look.

http://img684.imageshack.us/img684/90/26227856.jpg

[url]http://img515.imageshack.us/img515/6457/78176407.jpg[/url]

Random Albums moudule cant even show the thumbnails and the both modules doesnt have the scrolling effect as we have here in the demo.

Recently added albums module works fine and I kept it in the home page of my site. When I click a recently added album, it takes me to the album view but it wont have the modules I placed on MC. You can check out below.

[url]http://img402.imageshack.us/img402/2470/53872378.jpg[/url]

When I enter an artist, I can see Albums tab and Songs tab. When I click the songs tab, my layout is changing completely. The modules I placed on right column are showing up at the bottom of songs and the module I placed on bottom is showing on right column and it is broken like this

[url]http://img687.imageshack.us/img687/766/10108224.jpg[/url]

Please someboy help me in solving these issues.

Thanks in advance.
Responses (31)
  • Accepted Answer

    amazing
    amazing
    Offline
    Wednesday, February 17 2010, 02:09 PM - #Permalink
    0
    Having the same issue, when you click on the songs tab the template gets broken.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 17 2010, 04:18 PM - #Permalink
    0
    have you setted your ITEMID parameter correclty???

    I need an URL to check your problems... only pictures is not enough for me! ;)

    REMEMBER TO SET UP YOUR ITEMID music collection PARAMETEEEEER!!!
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Thursday, February 18 2010, 02:20 AM - #Permalink
    0
    Thanks alot germi, rencently added albums problem solved by givng the item ID.

    How can I get rid of the problems arising with Songs tab and random albums module and random & featured albums module.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, February 18 2010, 03:27 PM - #Permalink
    0
    hello cinemass

    I still dont understand what problem are you having with the featured albums MODULE.

    the problem is that the thumbnails are not displaying? is that it?
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Friday, February 19 2010, 12:50 AM - #Permalink
    0
    Random Album Module doesnt show the thumnails and it doesn't have the scrolling effect like the one you have in the right column.

    I have searched the entire forum and made my Randaom & Featured Albums Module look like the following image by replacing the .css file that I found on this forum.

    [url]http://img98.imageshack.us/img98/9712/93020250.jpg[/url]

    But still see the thumbs they are not perfect and are showing only one thumbnail compared to the one you have placed on bottom positon.

    It's the problem with the template I'm using. Please help me how to edit the .css file to solve this issue. I want them to be like the one you have here in the demo, if possible provide me your .css files and images too.

    Thanks in advance.
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Saturday, February 27 2010, 02:49 AM - #Permalink
    0
    germi dude, reply me.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 27 2010, 09:56 AM - #Permalink
    0
    sorry, I missed this last post of yours.

    with our CSS file that you copied is not enough: for the "bottom" module there are special classes.

    you should do this:

    identify a div that contains that module (something like #footer, or #rightcolumn, or whatever)

    and then, add classes that override the css classes for the module, ONLY to affect that module. do you know what I mean?

    I didnt understand if you are planing to put this module on our right column or at the bottom...

    look at this, ONLY AS AN EXAMPLE:



    #rightcolumn .jcarousel-container{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-clip{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-container li.jcarousel-item{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-clip ul{
    margin:0px;
    }
    #rightcolumn .jcarousel-skin-tango .jcarousel-container-horizontal {
    padding:20px 30px;
    }


    as you can see, I'm modifiyn the classes only for that right column module. you see my point?

    you'll have to basically adjust your widths, heights and paddings.
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Saturday, February 27 2010, 11:57 AM - #Permalink
    0
    germi wrote:
    sorry, I missed this last post of yours.

    with our CSS file that you copied is not enough: for the "bottom" module there are special classes.

    you should do this:

    identify a div that contains that module (something like #footer, or #rightcolumn, or whatever)

    and then, add classes that override the css classes for the module, ONLY to affect that module. do you know what I mean?

    I didnt understand if you are planing to put this module on our right column or at the bottom...

    look at this, ONLY AS AN EXAMPLE:



    #rightcolumn .jcarousel-container{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-clip{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-container li.jcarousel-item{
    width:135px;
    height:195px;
    }
    #rightcolumn .jcarousel-clip ul{
    margin:0px;
    }
    #rightcolumn .jcarousel-skin-tango .jcarousel-container-horizontal {
    padding:20px 30px;
    }


    as you can see, I'm modifiyn the classes only for that right column module. you see my point?

    you'll have to basically adjust your widths, heights and paddings.


    Hi dude, I'm using this one http://www.joomlamusicsolutions.com/downloads/doc_download/33-random-and-featured-albums-module-charts.html?lang=en for the bottom module and this one http://www.joomlamusicsolutions.com/downloads/doc_download/6-random-album-module-for-music-collectio for right column module.

    Right Column module doesn't even show the thumbs. I dont know whether I took correct or not. I dont know how to edit the .css files. I'll attach the .css files here, if possible plz edit them.

    Thanks in advance. [file name=Random_Albums.zip size=1168]http://www.joomlamusicsolutions.com/images/fbfiles/files/random_albums.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Sunday, February 28 2010, 05:52 AM - #Permalink
    0
    Working on installing modules here and running across the exact same problems even on different templates.

    1. The first problem that was mentioned is with the "Songs" tab on the artist page. If I go to the artist page, everything looks nice, nothing is broken and it shows the Albums below the Artist bio. Soon as I click on the Songs tab below the artist bio, the template gets really messed up. Both my left bar and right bar modules get tossed below the center content. Possibly something with the css or maybe a missing or broken closing div or table tag?

    2. Having the same problem with the "Random and Featured albums module" When I install it the window appears, and it rotates, but it shows 1 1/2 albums, and breaks out of the template. Also the images do not show up, just having the text, file not found. I have this in my left bar. It also seems to mess with the structure of my center content. I will try to get some screen shots created and posted on here. I will also create a demo login so one can see the problems.

    The song tab issue for me is the biggest as it is a core feature and I can't disable it like the modules that aren't working.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Sunday, February 28 2010, 06:02 AM - #Permalink
    0
    Here is a link to my site:

    http://threechimps.com/index.php?option=com_muscol&view=artist&id=1

    Please notice the broken module on the left under Random Albums. If you scroll down to the bottom and click on the Songs Tab you can see how it breaks the layout.

    Also one thing you won't be able to see with the module installed is how the site looks without it. The center main block always stretches to the length of the longest left or right column. If you click on the Letter menu, and click on a letter that I have no artist in so that there is very little content, say the letter "A", then you will see that the center block now shrinks to just the size of the content and doesn't go full length anymore.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, March 01 2010, 04:50 PM - #Permalink
    0
    hmm.. I though you already solved this..

    this is a missing DIV closing tab at the end of the file
    /components/com_muscol/views/songs/tmpl/default.php

    I though you solved this on another thread on the forum... :lol:
    anyway, there's a thread that talks about this...
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Monday, March 01 2010, 07:50 PM - #Permalink
    0
    germi wrote:
    hmm.. I though you already solved this..

    this is a missing DIV closing tab at the end of the file
    /components/com_muscol/views/songs/tmpl/default.php

    I though you solved this on another thread on the forum... :lol:
    anyway, there's a thread that talks about this...


    Dude thanks for the help in solving Songs tab problem. Still waiting for your help in solving Random Alubm problem from long time.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Tuesday, March 02 2010, 12:52 AM - #Permalink
    0
    Odd, no luck here. I put a /div at the very last line of the file /components/com_muscol/views/songs/tmpl/default.php and it didn't change anything. Even cleared out my cache and temp files. Any ideas?
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, March 02 2010, 03:41 PM - #Permalink
    0
    hmm... well actually its not the VERY last line... it should be a couple lines before..

    sound weird.. that should solve the problem... :S

    @cinemass: about the random album, can you post a link to the site again please? thanks! :)
    The reply is currently minimized Show
  • Accepted Answer

    Cinemass
    Cinemass
    Offline
    Tuesday, March 02 2010, 05:41 PM - #Permalink
    0
    http://www.cinemass.com/cine-music.html this is the url but it's offline now. If you tell me your GMT timings, I'll switch ON at that time.

    I can see your are online now. Let me know, I'll switch ON the site.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, March 03 2010, 05:44 PM - #Permalink
    0
    ok, FOR EVERYBODY

    since some of you seem to have a lot of problems with the CSS properties for this module, I've set up a new version of the module that automaticaly sets the CSS styles for you

    find it here

    http://www.joomlamusicsolutions.com/downloads/doc_details/33-random-and-featured-albums-module-charts.html?lang=en

    on this new version, if you choose "automatic CSS", the module will determine for you all the sizes

    with this version, the module set-up should be very quick. give it a try

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 04 2010, 03:41 AM - #Permalink
    0
    germi wrote:
    hmm... well actually its not the VERY last line... it should be a couple lines before..

    sound weird.. that should solve the problem... :S


    Could you tell me which line number the closing div tag should go on?

    I tried your latest patch of the Random and Featured albums module (Charts) and it does seem to clean up the layout quite a bit. Doesn't line everything up and use all the matching template styling but it does fix the issue with the albums overlapping which is really nice.

    I am still having a problem though with it giving me a "File not found" error on the album art. What is interesting is if I set the "Load JQuery library" and the "Use carousel" to NO it loads the image just fine. When they are both turned on it doesn't. It gives a really strange image location when those are both turned on. For some reason it is trying to find the image at:

    http://threechimps.com/components/com_muscol/helpers/image.php?file=C:webserverwwwimagesalbumsV7334228_500.jpg&width=115 which is wrong.

    When not using the jquery and carousel the image shows up with this address:

    http://threechimps.com/components/com_muscol/helpers/image.php?file=C:\\webserver\\www\\images\\albums\\1267334228_500.jpg&width=115

    It appears that the jqeury and carousel option is stripping out the back slashes. Being its including the full system structure and not just the web address to the file, this error would show up on any windows based server as they use the back slash for the system file path.

    I wish both options wouldn't show the complete file structure of the web server as that can be considered a security issue. Would be better if it used the web address instead of the file structure. That would also get rid of the back slash issue. Something like:

    http://threechimps.com/components/com_muscol/helpers/image.php?file=albums/1267334228_500.jpg&width=115

    would be much more preferred. Or something along those lines.

    For a live demo of this issue please see:

    http://threechimps.com/index.php?option=com_muscol&view=album&id=1

    EDIT: The forums truncate the the view of the links hiding the part of the link that contains the problem. Please hover over the links to see the full addresses to better understand this issue.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 04 2010, 03:11 PM - #Permalink
    0
    hey -> the module that I uploaded was old, MY MISTAKE

    download it again and you'll have the latest version of the module for real
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 04 2010, 05:17 PM - #Permalink
    0
    Same problem. Please read my previous post. This module links to images like this website.com/components/com_muscol/helpers/image.php?file=physical file address&width=115 On windows it shows an ugly full file address like c:\\webserver\\images\\albums\\image.jpg Making the full URL for the image location look something similar to this: website.com/components/com_muscol/helpers/image.php?file=c:\\webserver\\images\\albums\\image.jpg&width=115 (see how the url mixes both forward and back slashes)

    Being it is using the system file path instead of a relative web path or webserver path, it is using back slashes as that is what windows file system uses. This module doesn't accept backslashes for the location so it is stripping them out making the url for the image invalid.

    A much better solution is to use a web path, or better yet a relative web path. So something like this website.com/components/com_muscol/helpers/image.php?file=website.com/images/albums/image.jpg&width=115 or better yet website.com/components/com_muscol/helpers/image.php?file=images/albums/image.jpg&width=115 As it currently stands, this module will not work on a windows webserver as it is trying to list the exact file system location instead of web server location. Something that is typically frowned upon.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 04 2010, 05:26 PM - #Permalink
    0
    but... what about the "other" thumbnails (on artist view, for instance)

    do you see them?

    you should see both, or see none, but it makes no sense to me that you could see ones and not the others.

    can you post a link?
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 04 2010, 05:27 PM - #Permalink
    0
    Only broken in this module. Link: http://threechimps.com/index.php?option=com_muscol&view=artist&id=1


    It is because the module is stripping out the backslashes where as the other links are not.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, March 04 2010, 05:39 PM - #Permalink
    0
    ok, now I understand what is happening. It's kinda freak.

    (I'd never seen before)

    the thing is that this module is being rendered (dont know why, this make no much sense to me...) before one constant (DS) is definied in joomla.

    although this makes no sense to me... (...) here's a thing that could work for you:

    open components/com_muscol/helpers/helpers.php

    on line 208 (just after function createThumbnail is declared)
    add this:

    $ds = '\\\';

    and then, three lines below, on line 211, replace all the DS you find for $ds

    that should do the trick.

    but, in any case, this still makes no sense to me... its really weird.

    OF COURSE, if you change your system to linux at any point, this line
    $ds = '\\\';

    should be replaced for
    $ds = '/' ;

    tell me if it works

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 04 2010, 05:52 PM - #Permalink
    0
    Thanks for the reply. Unfortunately no change. Still not working.

    Here is what I have for lines 207-211 with the changes you requested: Hopefully the forums will display the code:



    function createThumbnail($file, $alt, $width, $image_attr = array(), $params = array()){
    $ds = '\\\';
    $params = &JComponentHelper::getParams( 'com_muscol' );
    if($params->get('thumbs_mode')){
    return JHTML::image('components/com_muscol/helpers/image.php?file=' .JPATH_SITE.$ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );

    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Thursday, March 04 2010, 06:33 PM - #Permalink
    0
    Also this bug only seems to happen on the module when the jquery and carousel is turned on. When they are off it displays the album art correctly.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, March 05 2010, 04:03 PM - #Permalink
    0
    :S :S

    still makes no sense at all... this is so weird... JQUery has nothign to do with that!

    this is really strange... I dont know why your "DS" constant (wich is a JOOMLA constant!!!!!) is "lost" on the way!!!!:S
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, March 06 2010, 03:03 AM - #Permalink
    0
    Could the jquery code be treating the back slashes in the url as an escape character and just stripping them out? It is strange that the same images work with the same links all through out muscol and joomla and even in the module with the jquery carousel option turned off.

    Any ideas on a fix for this? Or possibly have it use a web link instead of a system link so it doesn't use back slashes?


    If I could have it point to:

    image.php?file=images/albums/V7682772_500.jpg&width=122

    instead of pointing to:

    image.php?file=C:webserverwwwimagesalbumsV7682772_500.jpg&width=122

    might be a work around.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, March 06 2010, 04:15 AM - #Permalink
    0
    The code is stripping out the \\

    I replaced $ds = '\\\'

    with $ds = '\\\\\\\'

    and it put the back slashes in the address, but then the first part of the address was still messed up as it was still stripping out the \\ from the JPATH_SITE variable in the url. So then I had to remove the JPATH_SITE variable and hard code location in it's place.

    The bug still exists but at least this work around is now allowing the images to show up.

    This is what my ugly hard coded code looks like:


    return JHTML::image('components/com_muscol/helpers/image.php?file=' .'C:' .$ds .'webserver' .$ds . 'www' . $ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );


    Not a good solution, but at least now it is working.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, March 06 2010, 09:07 AM - #Permalink
    0
    uou

    well, you got that right, it was jquery then...

    the double backslash looked like the good direction... but finally its four!

    well I'm glad it works now..

    good job
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Saturday, March 06 2010, 09:33 AM - #Permalink
    0
    Now I just need to figure out how to get the song tab on artist view not to break my layout. All posts seem to point to missing closing DIVS. Could you tell me where these closing DIVS might be. I just blinding put one at the very end of the file, but that made no change.
    The reply is currently minimized Show
  • Accepted Answer

    greengeek
    greengeek
    Offline
    Sunday, March 07 2010, 05:51 AM - #Permalink
    0
    Got the song tab issue fixed by redoing the suggestion at this post: http://www.joomlamusicsolutions.com/en/forum/version-2/song-view-question.html#4829

    Just a heads up for anyone else with this problem, I added the divs previously and couldn't figure out why it did not work. I overlooked one very important thing. Make sure you are making the changes in the:

    \\songs\\tmpl\\default.php

    and not the:

    \\song\\tmpl\\default.php

    file. /smacks self on head :blush:
    The reply is currently minimized Show
  • Accepted Answer

    Alexander
    Alexander
    Offline
    Saturday, June 12 2010, 04:01 AM - #Permalink
    0
    greengeek wrote:
    The code is stripping out the \\

    I replaced $ds = '\\\'

    with $ds = '\\\\\\\'

    and it put the back slashes in the address, but then the first part of the address was still messed up as it was still stripping out the \\ from the JPATH_SITE variable in the url. So then I had to remove the JPATH_SITE variable and hard code location in it's place.

    The bug still exists but at least this work around is now allowing the images to show up.

    This is what my ugly hard coded code looks like:


    return JHTML::image('components/com_muscol/helpers/image.php?file=' .'C:' .$ds .'webserver' .$ds . 'www' . $ds.'images'.$ds.'albums'.$ds. $file .'&width=' . $width, $alt , $image_attr );


    Not a good solution, but at least now it is working.



    In what file it all to overwrite? :huh:
    The reply is currently minimized Show
Your Reply