sverhagen / mp3-browser

This Joomla plugin will create a table of every MP3 in a specified folder. It displays the ID3 information of each track with a link to download or play the file in the browser
https://www.totaalsoftware.com/products/mp3-browser
GNU General Public License v2.0
5 stars 5 forks source link

Allow the mp3 plugin to work in components #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. enable the component to use content plugins
added this code echo $dummy->text = JHTML::_('content.prepare', $dummy->text ); 
This works for allvideo plugin and easy folder listing plugin but not this 
great mp3 browser plugin

What is the expected output? What do you see instead?
I expect to see the the mp3 table but ijust see the code {music}yadayada..

What version of the product are you using? On what operating system?
o.2.7

Please provide any additional information below.
pleas help :)

Original issue reported on code.google.com by jason...@gmail.com on 2 Feb 2014 at 4:14

GoogleCodeExporter commented 9 years ago
may be my problem is that this is not a joomla 3.0 plugin??

Original comment by jason...@gmail.com on 2 Feb 2014 at 4:21

GoogleCodeExporter commented 9 years ago
I will not be able to look into this for a few weeks to come, but thank you for 
the suggestion.

Original comment by sanderverh on 2 Feb 2014 at 8:44

GoogleCodeExporter commented 9 years ago
@jasonrhl

What plugin are you talking about? How should this work?

Original comment by sanderverh on 26 Feb 2014 at 9:34

GoogleCodeExporter commented 9 years ago
mp3-browser plugin.

It should just work using the plugin code in content but get it to work in 
components.

{music}path{/music}

I have added this to the component and have other plugins working

echo $dummy->text = JHTML::_('content.prepare', $dummy->text ); 

Original comment by jason...@gmail.com on 26 Feb 2014 at 9:49

GoogleCodeExporter commented 9 years ago
I'm experiencing the same for modules, as per #26. I don't know how to fix that 
or where to look. I'm open for suggestions.

Original comment by sanderverh on 26 Feb 2014 at 9:51

GoogleCodeExporter commented 9 years ago
Mate do you understand what I mean?

Original comment by jason...@gmail.com on 1 Mar 2014 at 10:36

GoogleCodeExporter commented 9 years ago
I'm saying that I understand the problem, but I do not know how to fix it, and 
suggestions are welcome.

Original comment by sanderverh on 2 Mar 2014 at 3:25

GoogleCodeExporter commented 9 years ago
oh. Mmmmm. 

Original comment by jason...@gmail.com on 2 Mar 2014 at 4:41

GoogleCodeExporter commented 9 years ago
I have it working

I changed mp3browser.php 

public function onContentBeforeDisplay($context, &$article
to 
public function onContentPrepare($context, 

Can you test it and put it in your next update?

Original comment by jason...@gmail.com on 2 Mar 2014 at 5:42

GoogleCodeExporter commented 9 years ago
I will take a look, thanks.

Original comment by sanderverh on 2 Mar 2014 at 5:45

GoogleCodeExporter commented 9 years ago
Fixed, could not verify it for components, but I verified it for modules, and 
assume that you tested the basic principle out for components.

Original comment by sanderverh on 3 Mar 2014 at 7:05

GoogleCodeExporter commented 9 years ago
I have it running in a component. :)

Original comment by jason...@gmail.com on 3 Mar 2014 at 8:39

GoogleCodeExporter commented 9 years ago
Thanks, that is great. If you have a minute, and totally off topic, could you 
perhaps also try if you can install/upgrade the package through the "Install 
from Web" in the "Extension manager". It doesn't work for me, but I suspect it 
to be because of my local network setup.

Original comment by sanderverh on 3 Mar 2014 at 8:43

GoogleCodeExporter commented 9 years ago
I tried.

I get Unable to find install package

Original comment by jason...@gmail.com on 3 Mar 2014 at 9:30

GoogleCodeExporter commented 9 years ago
I am under the impression that I fixed it... feel free to retry.

Original comment by sanderverh on 10 Mar 2014 at 6:53

GoogleCodeExporter commented 9 years ago
You have fixed it. Well done

Original comment by jason...@gmail.com on 10 Mar 2014 at 7:31

GoogleCodeExporter commented 9 years ago
Thanks, feel free to write a glowing review on the extensions directory:

http://extensions.joomla.org/extensions/multimedia/multimedia-players/audio-play
ers-a-gallery/22754

:)

Original comment by sanderverh on 11 Mar 2014 at 5:25