本文整理汇总了PHP中EB::renderModule方法的典型用法代码示例。如果您正苦于以下问题:PHP EB::renderModule方法的具体用法?PHP EB::renderModule怎么用?PHP EB::renderModule使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EB
的用法示例。
在下文中一共展示了EB::renderModule方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
<?php
echo JText::_('COM_EASYBLOG_NO_BLOG_ENTRY');
?>
</div>
<?php
}
?>
<!-- @module: easyblog-after-entries -->
<?php
echo EB::renderModule('easyblog-after-entries');
?>
</div>
<?php
if ($pagination) {
?>
<!-- @module: easyblog-before-pagination -->
<?php
echo EB::renderModule('easyblog-before-pagination');
?>
<!-- Pagination items -->
<?php
echo $pagination;
?>
<!-- @module: easyblog-after-pagination -->
<?php
echo EB::renderModule('easyblog-after-pagination');
}
示例2: array
<?php
if (!empty($blog->toc)) {
echo $blog->toc;
}
?>
<?php
echo EB::renderModule('easyblog-before-content');
?>
<?php
echo $blog->text;
?>
<?php
echo EB::renderModule('easyblog-after-content');
?>
</div>
<?php
if ($blog->fields && $category->getParam('show_fields', true)) {
?>
<?php
echo $this->output('site/blogs/entry/fields', array('fields' => $blog->fields));
?>
<?php
}
?>
<!-- Location Service -->
示例3: array
<?php
if (!$preview) {
?>
<div class="col-cell cell-tight">
<?php
echo $this->output('site/blogs/admin.tools', array('post' => $post, 'return' => $post->getPermalink(false)));
?>
</div>
<?php
}
?>
</div>
<!-- @module: easyblog-before-entry -->
<?php
echo EB::renderModule('easyblog-before-entry');
?>
<div class="eb-entry-head">
<?php
if ($this->params->get('show_title', true)) {
?>
<h1 itemprop="name headline" id="title-<?php
echo $post->id;
?>
" class="eb-entry-title reset-heading <?php
echo $post->isFeatured() ? ' featured-item' : '';
?>
"><?php
echo $post->title;
?>
示例4:
</form>
<?php
if ($this->config->get('layout_search')) {
?>
<form class="eb-navbar-search" method="post" action="<?php
echo JRoute::_('index.php');
?>
">
<input type="text" name="query" class="form-control" placeholder="<?php
echo JText::_('COM_EASYBLOG_TOOLBAR_PLACEHOLDER_SEARCH');
?>
" />
<?php
echo $this->html('form.action', 'search.query');
?>
</form>
<?php
}
?>
</div>
</div>
<?php
}
?>
</div>
<?php
echo EB::renderModule('easyblog-after-toolbar');
示例5: foreach
echo JText::_('COM_EASYBLOG_TEAMBLOG_LEAVE_TEAM');
?>
</span>
</a>
</span>
<?php
}
}
?>
</div>
</div>
</div>
<?php
echo EB::renderModule('easyblog-after-team-header');
?>
<div class="eb-posts eb-masonry eb-responsive" data-team-posts>
<?php
if ($posts) {
?>
<?php
foreach ($posts as $post) {
?>
<?php
if (!EB::isSiteAdmin() && $this->config->get('main_password_protect') && !empty($post->blogpassword) && !$post->verifyPassword()) {
?>
<!-- Password protected theme files -->
<?php
echo $this->fetch('blog.item.protected.php', array('post' => $post));
示例6: array
?>
clearfix">
<div class="eb-entry-article clearfix" itemprop="articleBody" data-blog-content>
<?php
echo $post->event->beforeDisplayContent;
?>
<?php
if (!empty($post->toc)) {
echo $post->toc;
}
?>
<?php
echo EB::renderModule('easyblog-before-content');
?>
<?php
if (in_array($post->posttype, array('photo', 'standard', 'twitter', 'email', 'link', 'video'))) {
?>
<?php
echo $this->output('site/blogs/entry/post.cover', array('post' => $post));
?>
<!--LINK TYPE FOR ENTRY VIEW-->
<?php
if ($post->getType() == 'link') {
?>
<div class="eb-post-headline">