Music Collection - The Music Management System for Joomla! 1.5.x

Bookmark and Share

Login Form






Forgot login?
No account yet? Register

Community demo tools

Search music albums

Random albums

Navigate through our music collection to add items into the playlist and start playing music!

Who's Online

We have 57 guests online

Contribute to our project making a donation! Tell us what would you like to destinate your contrubution to. Read more...

Home Forum
Please read this before posting!

There are thousands of posts on this forum, so please try to use our search facility before posting anything new: there's probably someone else who asked the same question as you, so give "search" a chance.

If you still can't find what you were looking for, feel free to post. Please remember this forum is for Music Collection verified customers only. Support will be only given to verified users. If you are not still a customer and have some "pre buy" questions, please use this category to post

Support topics are usually answered by admins in 24-48 hours.

Music Collection
Welcome, Guest
Please Login or Register.    Lost Password?
Random Albums & Random and Featured Albums Problem
(1 viewing) 1 Guest
Go to bottom
TOPIC: Random Albums & Random and Featured Albums Problem
#5216
greengeek
Expert Boarder
Posts: 119
graphgraph
User Offline Click here to see the profile of this user
Re:Random Albums & Random and Featured Albums Problem 4 Months, 3 Weeks ago Karma: 1
Got the song tab issue fixed by redoing the suggestion at this post: www.joomlamusicsolutions.com/en/forum/ve...w-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
 
Logged Logged
 
Last Edit: 2010/03/07 06:56 By greengeek.
  The administrator has disabled public write access.
#6752
Vostok-All
Expert Boarder
Posts: 134
graphgraph
User Offline Click here to see the profile of this user
Re:Random Albums & Random and Featured Albums Problem 1 Month, 2 Weeks ago Karma: 1
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:

Code:


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?
 
Logged Logged
  The administrator has disabled public write access.
Go to top

Random albums

 
© 2009 - 2010 Joomla Music Solutions