我正在使用 jooolma 的简码通过插件加载模块但是我遇到问题我通过渲染方法加载模块这是我的插件代码
    defined('_JEXEC') or die('Restricted access');
    add_shortcode("mygallery", "sc_mygallery");
    function sc_mygallery($atts, $content = null) {
      extract(shortcode_atts(array(
        "galleryid" => 'galleryid=oHg5SJYRHA0',
        "width" => '480',
        "height" => '360',
        "allowfullscreen" => 'true',    
      ), $atts));
    $module_name='mod_eastbelfastpics';
    $moudle_title='East Belfast Gallery!';
    $module = JModuleHelper::getModule($module_name, $module_title); 
    $module->params = array('Gallery' => $galleryid);
    echo JModuleHelper::renderModule($module ,$options);
    }
但是当我输出 Gallery 的值时,我只是没有输出有什么问题,这是我的前端代码
    <?php
    defined('_JEXEC') or die('Restricted access');
    $items = $params->get('items', 1);
    $db =& JFactory::getDBO();
    $query = "SELECT * from jos_eastbelfastpagegallery_images";
    $db->setQuery( $query, 0 , $items );
    $rows = $db->loadObjectList();
    $galleryid= $params->get('Gallery');
     ?>
    this is content comming from a module form a content plugin ;-)
    <?php echo $galleryid;?>