Remove EasyBlog override in entry view

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Aug 27, 2014 10:14 am
Reply with quote
Report this post
Hello,

I'd like tho move the Social Icon in EasyBlog entry to top but since you template override it, I cannot change.
Could you please tell me which file in html folder handle entry view so that I can delete?
It could be better if you can guide me how to move the social icon to top.

Thanks,
Giang Anh
User avatar
Expert Boarder

teitbite
Thu Aug 28, 2014 8:14 am
Reply with quote
Report this post
Hi

Which file is used depends from settings, but most common is blog.item.php file.
User avatar
Moderator

GK User
Thu Aug 28, 2014 8:19 am
Reply with quote
Report this post
Thank you. In the frontpage blog, I'd like to move the title to the top of the entry and the comment/category/hits stay in 1 line. Could you please guide me?
http://goo.gl/eO6IPV

Thanks,
Giang Anh
User avatar
Expert Boarder

teitbite
Sun Aug 31, 2014 11:12 am
Reply with quote
Report this post
Hi

I still do not know which file handles it exactly. Please tell me the url to where this modification should be made so I'll know where to look.
User avatar
Moderator

GK User
Wed Sep 03, 2014 9:20 am
Reply with quote
Report this post
User avatar
Expert Boarder

teitbite
Thu Sep 04, 2014 11:42 am
Reply with quote
Report this post
Hi

You have missunderstood me. I need to see this layout used on Your site where I can experiment while looking for right file and code via ftp. Where this layout is used on Your site ?
User avatar
Moderator

GK User
Fri Sep 05, 2014 2:17 am
Reply with quote
Report this post
Hi,

I re-enable it here: http://lamgame.vn/

Thanks,
Giang Anh
User avatar
Expert Boarder

GK User
Fri Sep 05, 2014 4:48 am
Reply with quote
Report this post
Hi,

Btw, how can I set the fixed thumbnail image size for EasyBlog entry: http://goo.gl/MLZuBB
It doesn't follow EasyBlog setting.

Thanks,
Giang Anh
User avatar
Expert Boarder

teitbite
Fri Sep 05, 2014 4:48 pm
Reply with quote
Report this post
Hi

For image size please add this to css:

Code: Select all
#ezblog-posts .blog-image img {
    max-width: 280px !important;
}


For elements order please edit /html/com_easyblog/blog.item.php in line 34 You will find code:

Code: Select all
            <?php if( $row->getImage() && $this->getParam( 'blogimage_frontpage') ){ ?>
               <a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" class="blog-image float-l mrm mbm">
                  <img src="<?php echo $row->getImage()->getSource( 'frontpage' );?>" alt="<?php echo $this->escape( $row->title );?>" />
               </a>
            <?php } ?>
            
            <h2 id="title-<?php echo $row->id; ?>" class="blog-title<?php echo ($row->isFeatured) ? ' featured' : '';?> rip mbs" itemprop="name">
               <a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" itemprop="url"><?php echo $row->title; ?></a>

               <?php if( $row->isFeatured ) { ?>
                  <!-- Show a featured tag if the entry is featured -->
                  <sup class="tag-featured"><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></sup>
               <?php } ?>
            </h2>


replace it with:

Code: Select all
            
            <h2 id="title-<?php echo $row->id; ?>" class="blog-title<?php echo ($row->isFeatured) ? ' featured' : '';?> rip mbs" itemprop="name">
               <a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" itemprop="url"><?php echo $row->title; ?></a>

               <?php if( $row->isFeatured ) { ?>
                  <!-- Show a featured tag if the entry is featured -->
                  <sup class="tag-featured"><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></sup>
               <?php } ?>
            </h2>
            <?php if( $row->getImage() && $this->getParam( 'blogimage_frontpage') ){ ?>
               <a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" class="blog-image float-l mrm mbm">
                  <img src="<?php echo $row->getImage()->getSource( 'frontpage' );?>" alt="<?php echo $this->escape( $row->title );?>" />
               </a>
            <?php } ?>
User avatar
Moderator

GK User
Fri Sep 05, 2014 6:43 pm
Reply with quote
Report this post
Thank you. All seem ok now except: As mentioned before, please help me to display this block in one line: http://goo.gl/T2Rtlt
User avatar
Expert Boarder

teitbite
Sun Sep 07, 2014 9:13 pm
Reply with quote
Report this post
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#ezblog-body .blog-meta-bottom div > span.blog-comments {
    display: inline-block;
    margin: 0 5px;
}

#ezblog-body .blog-meta-bottom div > span.blog-hit {
    display: inline-block;
}
User avatar
Moderator


cron