本文整理匯總了PHP中EasyBlogHelper::renderModule方法的典型用法代碼示例。如果您正苦於以下問題:PHP EasyBlogHelper::renderModule方法的具體用法?PHP EasyBlogHelper::renderModule怎麽用?PHP EasyBlogHelper::renderModule使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類EasyBlogHelper
的用法示例。
在下文中一共展示了EasyBlogHelper::renderModule方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1:
</p>
<?php
}
?>
<?php
}
?>
<!-- Post content -->
<?php
echo $blog->content;
?>
<!-- @module: easyblog-after-content -->
<?php
echo EasyBlogHelper::renderModule('easyblog-after-content');
?>
<?php
if ($system->config->get('main_locations_blog_entry')) {
?>
<?php
echo EasyBlogHelper::getHelper('Maps')->getHTML(true, $blog->address, $blog->latitude, $blog->longitude, $system->config->get('main_locations_blog_map_width'), $system->config->get('main_locations_blog_map_height'), JText::sprintf('COM_EASYBLOG_LOCATIONS_BLOG_POSTED_FROM', $blog->address), 'post_map_canvas_' . $blog->id);
?>
<?php
}
?>
<!-- @Trigger: onAfterDisplayContent -->
<?php
echo $blog->event->afterDisplayContent;
示例2:
<?php
if (isset($statType)) {
?>
<div>
<h2>
<?php
echo $statType == 'tag' ? JText::sprintf('COM_EASYBLOG_TEAMBLOG_STAT_TAG', $team->title, $statObject->title) : JText::sprintf('COM_EASYBLOG_TEAMBLOG_STAT_CATEGORY', $team->title, $statObject->title);
?>
</h2>
</div>
<?php
}
?>
<?php
echo EasyBlogHelper::renderModule('easyblog-after-team-header');
?>
<?php
if ($team->access == EBLOG_TEAMBLOG_ACCESS_MEMBER && empty($team->isMember) && !EasyBlogHelper::isSiteAdmin()) {
?>
<div class="eblog-message warning mtm">
<?php
echo JText::_('COM_EASYBLOG_TEAMBLOG_MEMBERS_ONLY');
?>
<?php
echo $system->my->id != 0 ? JText::sprintf('COM_EASYBLOG_TEAMBLOG_CLICK_TO_JOIN', 'eblog.teamblog.join(' . $team->id . ')') : '';
?>
</div>
<?php
} else {
示例3:
<!-- @module: easyblog-after-entries -->
<?php
echo EasyBlogHelper::renderModule('easyblog-after-entries');
?>
</div>
<?php
if ($pagination) {
?>
<!-- @module: easyblog-before-pagination -->
<?php
echo EasyBlogHelper::renderModule('easyblog-before-pagination');
?>
<!-- Pagination items -->
<div class="eblog-pagination"><?php
echo $pagination;
?>
</div>
<!-- @module: easyblog-after-pagination -->
<?php
echo EasyBlogHelper::renderModule('easyblog-after-pagination');
?>
<?php
}
?>
</div>
示例4:
?>
</b>
<?php
echo JText::_('COM_EASYBLOG_TOOLBAR_NEW_POST_TIPS');
?>
</div>
</li>
<?php
}
?>
<?php
}
?>
</ul>
</div>
</div>
<?php
}
?>
<?php
echo EasyBlogHelper::renderModule('easyblog-after-toolbar');
?>
<?php
if ($system->config->get('main_rss') || $system->config->get('main_sitesubscription') || $system->config->get('layout_headers') || $system->config->get('layout_toolbar')) {
?>
</div>
</div>
<?php
}