Shape 5

Joomla Club Extensions => MP3 Player - Club => : adadeacon May 01, 2014, 01:22:36 PM



: MP3 Player not displaying in custom html module
: adadeacon May 01, 2014, 01:22:36 PM
Hi,

Just downloaded Shape5 Mp3 Player and trying to display it in a module. The plugin code doesn't work in a custom html module, but works if I put it in an article.

Joomla 3.2.3
Latest S5 Mp3 Player (though it says in the XML it's date is 2009)
Apache 2.2.24
PHP 5.3.24
MySQL 5.1.73-cll
Site built on Vertex framework.

I need it to work in a module position as I need to display a few mp3 samples on the right hand side of the front page of a site.

Site: http://owlmedia.co.za/Test2/
Used the same code in the module on the right and in the article at the bottom - shows up in article but not in the module.

I've tried the hack shown here: http://www.shape5.com/component/option,com_smf/Itemid,75/topic,14431.0/  to see if maybe it makes a difference, even though it says NO HACK IS NEEDED FOR 2.5, 3.0 OR HIGHER, but it doesn't.


**UPDATE**
I've decided to use another (pure html and css) extension for better mobile compatibility.  But this question has been asked by others as well so I'm sure it won't hurt to get an answer.


: Re: MP3 Player not displaying in custom html module
: mikek May 02, 2014, 07:08:43 AM
Hello,

As long as you are running Vertex 3.5 it should work fine. Joomla had updated the modules.php calls and the latest version of Vertex addresses this.


: Re: MP3 Player not displaying in custom html module
: Labelina December 10, 2014, 08:28:23 PM
Does this mean that the Mp3 player will not work in a custom html module without the vertex framework?


: Re: MP3 Player not displaying in custom html module
: mikek December 15, 2014, 08:02:51 AM
Hello,

It depends if the template is using a custom module.php or not. Sometime around Joomla 3.1, Joomal re-wrote part of the module structure, which is very commonly over-written by templates. If the template was built before that point it most likely has the old module structure in its code. If there is no html/modules.php in your template than the mp3 player should work with no issues since it doesn't contain an override.