function createMetaTags() { $smartsection_metagen = new SmartsectionMetagen($this->title(), $this->meta_keywords(), $this->meta_description(), $this->_category->_categoryPath); $smartsection_metagen->createMetaTags(); }
$xoopsTpl->assign('previous_item_url', $previous_item_url); $xoopsTpl->assign('next_item_url', $next_item_url); $xoopsTpl->assign('other_items', $xoopsModuleConfig['other_items_type']); $itemFooter = smartsection_getConfig('itemfooter'); $itemFooter = $myts->displayTarea($itemFooter); $xoopsTpl->assign('itemfooter', $itemFooter); // tags support if (smartsection_tag_module_included()) { include_once XOOPS_ROOT_PATH . "/modules/tag/include/tagbar.php"; $xoopsTpl->assign('tagbar', tagBar($itemid, $catid = 0)); } /** * Generating meta information for this page */ $smartsection_metagen = new SmartsectionMetagen($itemObj->getVar('title'), $itemObj->getVar('meta_keywords', 'n'), $itemObj->getVar('meta_description', 'n'), $itemObj->getCategoryPath()); $smartsection_metagen->createMetaTags(); //SmartObject Rating feature if (file_exists(XOOPS_ROOT_PATH . '/modules/smartobject/include/rating.rate.php')) { include_once XOOPS_ROOT_PATH . '/modules/smartobject/include/rating.rate.php'; } // Include the comments if the selected ITEM supports comments if ($itemObj->cancomment() == 1 || !$xoopsModuleConfig['commentatarticlelevel'] && smartsection_getConfig('com_rule') != 0) { include_once XOOPS_ROOT_PATH . "/include/comment_view.php"; // Problem with url_rewrite and posting comments : $xoopsTpl->assign(array('editcomment_link' => SMARTSECTION_URL . 'comment_edit.php?com_itemid=' . $com_itemid . '&com_order=' . $com_order . '&com_mode=' . $com_mode . '' . $link_extra, 'deletecomment_link' => SMARTSECTION_URL . 'comment_delete.php?com_itemid=' . $com_itemid . '&com_order=' . $com_order . '&com_mode=' . $com_mode . '' . $link_extra, 'replycomment_link' => SMARTSECTION_URL . 'comment_reply.php?com_itemid=' . $com_itemid . '&com_order=' . $com_order . '&com_mode=' . $com_mode . '' . $link_extra)); $xoopsTpl->_tpl_vars['commentsnav'] = str_replace("self.location.href='", "self.location.href='" . SMARTSECTION_URL, $xoopsTpl->_tpl_vars['commentsnav']); } $xoopsTpl->assign('rating_enabled', $xoopsModuleConfig['rating_enabled']); $newGroupsArray = array(); $newGroupsArray[0] = 'None'; foreach ($groups as $key => $value) {
function createMetaTags() { $smartsection_metagen = new SmartsectionMetagen($this->name(), $this->meta_keywords(), $this->meta_description()); $smartsection_metagen->createMetaTags(); }