Responses (8)
-
Accepted Answer
0Help with:
[url]http://www.joomlamusicsolutions.com/en/forum/general/question-keithplayer-music-and-song-sever.html[/url]
Also.... the {show album_id} content plug-in is great, i was wondering if you can help me change the layout style to look like the layout of the random album module. It looks great inside articles and other modules, especially a scroller im using.
Thanks!!!
:cheer: :cheer: :cheer: -
Accepted Answer
0hello fernando (I guess your name is fernando)
about the "songs download" from an external server: to allow this, you'll have to make some PHP code modifications, and I can guide you, but it quite necessary that you are familiar to PHP... I can tell you what to do, but, to be honest, I dont know is there will be, maybe, some "permissions" problem... I would like to speak to you a little bit "technical" but since I don't know if you're a programmer... I won't do it by now.
so, first of all, tell me: are you a programmer?
second: about the layout of the show album plugin: it is easy to do, but again, in this case it would be good if you have some small (small, small, small) PHP knowledge.
(read only if you know some php)
The plugin HTML code is renderend on file
plugins/content/showalbum.php on line 184
(the php function return a string that is in fact the HTML code that will be displayed). so if you want to change the layout in any way, you have to change this string to return whatever you want. as you'll see, all the album data is stored in the variable object "$album"
so, for instance, the variable containing the alrtist name is $album->artist_name
you'll see, taking a look at the code, that this is really easy to modify, you have just to be careful to not delete the album variable you want to display.
if you want to make it look similar to the random album module... the layout for that module is in
modules/mod_muscol_random_album/tmpl/default.php
so you can try to copy the html code and swap the variable for the variables that the plugin is using..
I hope this is helpful for you
the other thing you can do is wait a couple of weeks, 'cause probably I will publish an update of the plugin so you can switch between at least two layouts.. (the current one, "detailed", and for instance this one you are asking me for, which I call "grid")
cheers -
Accepted Answer
0I appreciate your willingness to help.
My names is actually JP. lol :P
Fernando just paid for the component :laugh:
I think that the content plug-in is great, I saw that the layout is pretty much an html layout. I do have quite a bit of experience with php code, and have no problem following directions. I had a feeling you were going to add more modules and I figured I'd ask first before trying to edit your code. I also think that an official release of this modules,plug-ins will benefit everyone in the this community and make the component even more flexible.
As far as the song server goes, it makes sense to me that if the song is uploaded to a song server, that the component should be able to pick up that same address in order to create a download link, or else you would have to upload the files twice. Seems like an easy fix to get it working, but I think that a built-in parameter would be the way to go, more professional anyways.
I don't know if you use msn messenger but here is mine,
juanpablo@blinblineo.net
I am willing to help test anything you put out extensively and report any bugs. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
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 »