ManuAdam Posted August 5, 2009 Share Posted August 5, 2009 I need help to add Category option in mod_jmultimedia . availablefor download here - http://joomlacode.org/gf/project/denvideo/frs/?action=index so that one cud get videos of a particular category only at the module place on front end. I have tried adding a few things. Like: I added -- in the file .. ..\\modules\mod_jmultimedia\mod_jmultimedia.xml , i added on line 21 under <params>: <param name="catid" type="category" default="0" label="Category" section="com_jmultimedia" description="Selects items from a specific Category." /> and then.. in the file: ..\\modules\mod_jmultimedia\help.php .. under ..... class modJMultimediaHelper { /** * Get list of medias * * @return array Medias list * @param JParameter $params Module parameters\ */ function getList(&$params) { global $option; I have added on the line 28 .. $type = trim($params->get('type')); $catid = (int) $params->get('catid', 0); After all this, though it is showing the Category Options but on selection of a particular category, it is not following the command and showing Videos of all the categories. I even tried removing other options for the list of newer/topratedetc. but it created more problem. I want to retain that other option too as it will serve the purpose of showing toprated or latest videos etc. But when selected from a particular category,it shud show videos of that category only. Please HELP! Thanks. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.