By Tori Jones on Tuesday, 16 August 2016
Posted in General Issues
Replies 1
Likes 0
Views 338
Votes 0
1) How do I change the text "continue reading". If its in an .ini file, which one is it? There are many many .ini files in my directory for easyblog!

2) Can the share buttons be on TOP of each blog rather than at the end of each blog post?

3) Can the date, comments etc. be moved to the bottom of a blog post (attached)
Hi there,

Please find your answer below.

1. ...\language\en-GB\en-GB.com_easyblog.ini at line 503 on this string "COM_EASYBLOG_CONTINUE_READING"

2. and 3. I have made some modification. You can replace attached file at this path ...components\com_easyblog\themes\wireframe\blogs\entry\default.php

//replace this codes before <div class="eb-entry-head">
if you need to change again if my arrangement is not as you wished
<?php if ($this->entryParams->get('post_social_buttons', true)) { ?>
<?php echo $this->output('site/blogs/part.socialbuttons', array('post' => $post)); ?>
<?php } ?>
<div class="eb-entry-meta text-muted">
<?php if ($post->isFeatured()) { ?>
<div class="eb-entry-featured">
<i class="fa fa-star text-muted"></i>
<span><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></span>
</div>
<?php } ?>

<?php if ($this->entryParams->get('post_date', true)) { ?>
<div class="eb-entry-date">
<i class="fa fa-clock-o"></i>
<time class="eb-meta-date" itemprop="datePublished" content="<?php echo $post->getCreationDate($this->entryParams->get('post_date_source', 'created'))->format(JText::_('DATE_FORMAT_LC4'));?>">
<?php echo $post->getDisplayDate($this->entryParams->get('post_date_source', 'created'))->format(JText::_('DATE_FORMAT_LC1')); ?>
<meta itemprop="dateModified" content="<?php echo $post->getModifiedDate()->format(JText::_('DATE_FORMAT_LC4'));?>"/>
<meta itemprop="mainEntityOfPage" content="<?php echo $post->getPermalink(true, true);?>"/>
</time>
</div>
<?php } ?>

<?php if ($this->entryParams->get('post_author', true)) { ?>
<div class="eb-meta-author" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<i class="fa fa-pencil"></i>
<span itemprop="name">
<a href="<?php echo $post->author->getProfileLink();?>" itemprop="url" rel="author"><?php echo $post->author->getName();?></a>
</span>
</div>
<?php } ?>

<?php if ($this->entryParams->get('post_category', true)) { ?>
<div class="eb-meta-category comma-seperator">
<i class="fa fa-folder-open"></i>
<?php foreach ($post->categories as $cat) { ?>
<span><a href="<?php echo $cat->getPermalink();?>"><?php echo $cat->getTitle();?></a></span>
<?php } ?>
</div>
<?php } ?>

<?php if ($this->entryParams->get('post_hits', true)) { ?>
<div class="eb-meta-views">
<i class="fa fa-eye"></i>
<?php echo JText::sprintf('COM_EASYBLOG_POST_HITS', $post->hits);?>
</div>
<?php } ?>

<?php if ($this->config->get('main_comment') && $post->totalComments !== false && $this->entryParams->get('post_comment_counter', true) && $post->allowcomment) { ?>
<div class="eb-meta-comments">
<?php if ($this->config->get('comment_disqus')) { ?>
<i class="fa fa-comments"></i>
<?php echo $post->totalComments; ?>
<?php } else { ?>
<i class="fa fa-comments"></i>
<a href="#comments"><?php echo $this->getNouns('COM_EASYBLOG_COMMENT_COUNT', $post->totalComments, true); ?></a>
<?php } ?>
</div>
<?php } ?>
</div>


Note: You have to make backup on this file as this will be reset to original setting when you made any upgrade/update in the future. Please give it a try and see how it goes .
·
Tuesday, 16 August 2016 12:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post