Prevent "blog title" from appearing in the "page title"

Accepted Answer

19 responses Add a reply

  • Monday, May 07 2012, 11:36 PM
    Replied by Mark - #permalink
    0
    Hello Victor,

    Sorry but I don't quite get you on this. Do you mean you don't want to have them as the "prefix" ?

  • Tuesday, May 08 2012, 12:23 AM
    Replied by Victor Drover - #permalink
    0
    No, i want to remove the blog title entirely from the ENTRY view, just as they have done in that thread i linked above.

    Subscribed Products:
  • Tuesday, May 08 2012, 12:58 AM
    Replied by Mark - #permalink
    0
    Hello Victor,

    Ah, unfortunately there's no settings for that now :( However, if you are using a template override, for the entry view (Which uses blog.read.php) , you can actually add something like this in your code,

    JFactory::getDocument()->setTitle( 'your personallized title here' );
    


    Not too sure if this would work for you?

  • Tuesday, May 08 2012, 03:55 AM
    Replied by Victor Drover - #permalink
    0
    What view is blog.read.php in? If it's not in a view, what is the path in template/html/com_easyblog/ to override?

    Subscribed Products:
  • Tuesday, May 08 2012, 09:55 AM
    Replied by Mark - #permalink
    0
    Hello Victor,

    I am sorry for the delay of this reply. By default EasyBlog would search in the following location,

    /templates/JOOMLA_TEMPLATE/html/com_easyblog/

    If the file is not listed in the above folders, it would revert back to the default theme instead. So what you could do, is to copy the blog.read.php from /components/com_easyblog/themes/default/ and place it in your Joomla template's folder above.

  • Wednesday, May 09 2012, 03:11 AM
    Replied by Victor Drover - #permalink
    0
    it doesn't look like any of the header information is in that file:

    /**
     * @package		EasyBlog
     * @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
     * @license		GNU/GPL, see LICENSE.php
     *
     * EasyBlog is free software. This version may have been modified pursuant
     * to the GNU General Public License, and as distributed it includes or
     * is derivative of works licensed under the GNU General Public License or
     * other free or open source software licenses.
     * See COPYRIGHT.php for copyright notices and details.
     */
    defined('_JEXEC') or die('Restricted access');
    
    $teamIdLink = '';
    if( isset( $team ) )
    	$teamIdLink = '&team=' . $team;
    
    $socialPosition = $system->config->get('main_socialbutton_position');
    
    ?>
    <script type="text/javascript">
    sQuery(document).ready( function(){
    	eblog.blog.tab.init();
    });
    </script>
    <div id="ezblog-body">
    <div id="entry_<?php echo $blog->id; ?>" class="blog-read clearfix">
    	<?php if ( !empty( $notice ) ) : ?>
    	<div class="eblog-message info"><?php echo $notice; ?></div>
    	<?php endif; ?>
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* Admin or author option on this blog
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php echo $this->fetch( 'blog.admin.tool.php' ); ?>
    
    	<div class="blog-head mtm">
    		<?php if( $blog->isFeatured() ) { ?>
    		<div class="tag-featured in-block"><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></div>
    		<?php } ?>
    		<h1 id="title_<?php echo $blog->id; ?>" class="blog-title<?php echo ($isFeatured) ? ' featured-item' : '';?> rip">
    			<?php echo $blog->title; ?>
    		</h1>
    	</div>
    
    	<div class="blog-brief ptl pbl mbl">
    		<div class="in">
    			<?php if( $system->config->get( 'layout_avatar' ) && $system->config->get( 'layout_avatar_in_read_blog' ) ){ ?>
    			<div class="blog-avatar float-l prel mrm">
    				<?php
    					if( isset( $team ) )
    					{
    						$teamBlog   = EasyBlogHelper::getTable( 'TeamBlog', 'Table');
    						$teamBlog->load( $team );
    				?>
    				<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=teamblog&layout=listings&id=' . $teamBlog->id ); ?>" class="avatar isTeamBlog float-l prel">
    					<img src="/<?php echo $teamBlog->getAvatar(); ?>" alt="<?php echo $teamBlog->title; ?>" class="avatar" width="36" height="36" />
    				</a>
    				<a href="/<?php echo $blogger->getProfileLink(); ?>" class="avatar isBlogger float-l pabs">
    					<img src="/<?php echo $blogger->getAvatar(); ?>" alt="<?php echo $blogger->getName(); ?>" class="avatar" width="20" height="20" />
    				</a>
    				<?php
    					} else {
    				?>
    				<a href="/<?php echo $blogger->getProfileLink(); ?>" class="avatar float-l">
    					<img src="/<?php echo $blogger->getAvatar(); ?>" alt="<?php echo $blogger->getName(); ?>" class="avatar isBlogger" width="36" height="36" />
    				</a>
    				<?php } ?>
    			</div>
    			<?php } ?>
    			<div class="blog-meta">
    				<div class="in">
    					<?php echo JText::_( 'COM_EASYBLOG_POSTED_BY' );?>
    					<a href="/<?php echo $blogger->getProfileLink(); ?>"><?php echo $blogger->getName(); ?></a>
    					<?php echo EasyBlogTooltipHelper::getBloggerHTML( $blog->created_by, array('my'=>'left top','at'=>'right bottom','of'=>array('traverseUsing'=>'prev')) ); ?>
    					<?php echo JText::_( 'COM_EASYBLOG_ON' ); ?>
    					<?php echo $this->formatDate( $system->config->get('layout_dateformat') , $blog->created ); ?>
    					<?php echo JText::sprintf( 'COM_EASYBLOG_IN' , EasyBlogRouter::_('index.php?option=com_easyblog&view=categories&layout=listings&id='.$blog->category_id), $blog->getCategoryName() ); ?>
    				</div>
    			</div>
    			<div class="blog-option mts">
    				<ul class="reset-ul float-li small fsm">
    					<?php if( $system->config->get( 'layout_hits' ) ): ?>
    						<li class="blog-hit"><?php echo JText::sprintf( 'COM_EASYBLOG_HITS_TOTAL' , $blog->hits ); ?></li>
    					<?php endif; ?>
    					<?php if( $system->config->get('main_comment') && $blog->totalComments !== false ){ ?>
    					<li class="blog-comments">
    
    						<?php if( $system->config->get('comment_disqus') ) { ?>
    						<?php echo $blog->totalComments; ?>
    						<?php } else { ?>
    						<a href="/<?php echo EasyBlogRouter::_( 'index.php?option=com_easyblog&view=entry&id=' . $blog->id . $teamIdLink ); ?>#comments"><?php echo $this->getNouns( 'COM_EASYBLOG_COMMENT_COUNT' , $blog->totalComments , true ); ?></a>
    						<?php } ?>
    					</li>
    					<?php } ?>
    					<?php if($system->config->get('main_subscription') && $blog->subscription) { ?>
    					<li class="email">
    						<a href="javascript:eblog.subscription.show('<?php echo EBLOG_SUBSCRIPTION_ENTRY;?>' , '<?php echo $blog->id;?>');"><?php echo JText::_('COM_EASYBLOG_SUBSCRIBE_BLOG'); ?></a>
    					</li>
    					<?php } ?>
    					<?php echo EasyBlogHelper::getHelper( 'publishtools' )->getHTML( $blog->id ); ?>
    				</ul>
    			</div>
    		</div>
    	</div>
    
    
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* End blog head. Content start here
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php echo $blog->event->afterDisplayTitle; ?>
    	<div class="blog-text clearfix prel mtm mbm">
    		<?php if($socialPosition == 'top') EasyBlogHelper::showSocialButton($blog); ?>
    		<?php if($socialPosition == 'left' || $socialPosition == 'right') EasyBlogHelper::showSocialButton($blog); ?>
    		<?php echo $blog->event->beforeDisplayContent; ?>
    		<?php if(!empty($blog->toc)){ echo $blog->toc; } ?>
    		<?php echo $blog->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 } ?>
    		<?php echo $blog->event->afterDisplayContent; ?>
    
    		<?php /* content copyright */ ?>
    		<?php if( $system->config->get( 'layout_copyrights' ) && !empty($blog->copyrights) ) { ?>
    		<div class="blog-copyrights mtm">
    			<div class="in clearfix">
    				<span class="blog-copyrights">
    					<?php echo JTEXT::_('COM_EASYBLOG_COPYRIGHTS_PREFIX') . $blog->copyrights ?>
    				</span>
    			</div>
    		</div>
    		<?php } ?>
    
    		<?php echo $this->fetch( 'blog.source'. EasyBlogHelper::getHelper( 'Sources' )->getTemplateFile( $blog->source ) . '.php' ); ?>
    
    	</div>
    
    	<?php if( $system->config->get( 'main_ratings' ) ) { ?>
    	<div class="blog-rate mtm">
    		<div class="in clearfix">
    			<span class="blog-rating">
    				<?php echo EasyBlogHelper::getHelper( 'ratings' )->getHTML( $blog->id , EBLOG_RATINGS_TYPE_ENTRY , JText::_( 'COM_EASYBLOG_RATINGS_RATE_BLOG_ENTRY') , 'blog-ratings' ); ?>
    			</span>
    		</div>
    	</div>
    	<?php } ?>
    
    	<div class="blog-tag fsm mtm"><?php echo JText::sprintf( 'COM_EASYBLOG_TAG_LIST' , $tags ); ?></div>
    
    	<?php if($socialPosition == 'bottom') EasyBlogHelper::showSocialButton($blog); ?>
    
    	<?php if( $system->config->get('main_facebook_like') && $system->config->get('main_facebook_like_layout') == 'standard' ) : ?>
    	<div id="eb-fblikes" class="align<?php echo ($this->getDirection() == 'rtl') ? 'right' : 'left'; ?> mtl">
    		<?php echo $facebookLike; ?>
    	</div>
    	<div class="clear"></div>
    	<?php endif; ?>
    
    
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* Entry navigation
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php if ( !empty( $prevLink ) OR !empty( $nextLink ) ) : ?>
    	<ul class="blog-navi reset-ul float-li small clearfix pbm ptm mtl">
    		<?php if ( !empty( $prevLink ) ) : ?>
    		<li class="entry-prev">
    			<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $prevLink['id'] . $teamIdLink); ?>" title="<?php echo JText::sprintf('COM_EASYBLOG_ENTRY_BLOG_PREVIOUS_TITLE', $prevLink['title']); ?>"><?php echo JText::sprintf('COM_EASYBLOG_BLOG_ENTRY_PREV', $prevLink['title']); ?></a>
    		</li>
    		<?php endif; ?>
    
    		<?php if ( !empty( $nextLink ) ) : ?>
    		<li class="entry-next">
    			<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $nextLink['id'] . $teamIdLink); ?>" title="<?php echo JText::sprintf('COM_EASYBLOG_ENTRY_BLOG_NEXT_TITLE', $nextLink['title']); ?>"><?php echo JText::sprintf('COM_EASYBLOG_BLOG_ENTRY_NEXT', $nextLink['title']); ?></a>
    		</li>
    		<?php endif; ?>
    	</ul>
    	<?php endif; ?>
    </div><!--end: .blog-read-->
    <?php echo $adsenseHTML; ?>
    <ul class="tab_button reset-ul float-li clearfix">
    	<?php if( $system->config->get('main_showauthorinfo') ) { ?>
    	<li id="button-author" class="tab_item author"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_ABOUT_AUTHOR_TITLE'); ?></span></a></li>
    	<?php } ?>
    	<?php if( !empty( $blogRelatedPost ) ) { ?>
    	<li id="button-related" class="tab_item related"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_BLOG_RELATED_POST_TAB'); ?></span></a></li>
    	<?php } ?>
    	<?php if( $system->config->get('main_trackbacks') ) { ?>
    	<li id="button-trackbacks" class="tab_item trackbacks"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_BLOG_TRACKBACKS_TAB'); ?></span></a></li>
    	<?php } ?>
    </ul>
    
    <?php if( $system->config->get('main_showauthorinfo') ): ?>
    	<?php echo $this->fetch( 'author.info.php' ); ?>
    <?php endif; ?>
    
    <?php if( $system->config->get('main_trackbacks') ) { ?>
    	<?php echo $this->fetch( 'blog.trackback.php' ); ?>
    <?php } ?>
    
    <?php if(! empty($blogRelatedPost)) { ?>
    	<?php echo $this->fetch( 'blog.related.php' ); ?>
    <?php } ?>
    
    <?php if( $system->config->get('main_comment') ) { ?>
    	<?php echo $commentHTML;?>
    <?php } ?>
    </div><!--end: #ezblog-body-->
    

    Subscribed Products:
  • Wednesday, May 09 2012, 03:13 AM
    Replied by Victor Drover - #permalink
    0
    it doesn't look like any of the header information is in that file:

    <?php
    /**
     * @package		EasyBlog
     * @copyright	Copyright (C) 2010 Stack Ideas Private Limited. All rights reserved.
     * @license		GNU/GPL, see LICENSE.php
     *
     * EasyBlog is free software. This version may have been modified pursuant
     * to the GNU General Public License, and as distributed it includes or
     * is derivative of works licensed under the GNU General Public License or
     * other free or open source software licenses.
     * See COPYRIGHT.php for copyright notices and details.
     */
    defined('_JEXEC') or die('Restricted access');
    
    $teamIdLink = '';
    if( isset( $team ) )
    	$teamIdLink = '&team=' . $team;
    
    $socialPosition = $system->config->get('main_socialbutton_position');
    
    ?>
    <script type="text/javascript">
    sQuery(document).ready( function(){
    	eblog.blog.tab.init();
    });
    </script>
    <div id="ezblog-body">
    <div id="entry_<?php echo $blog->id; ?>" class="blog-read clearfix">
    	<?php if ( !empty( $notice ) ) : ?>
    	<div class="eblog-message info"><?php echo $notice; ?></div>
    	<?php endif; ?>
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* Admin or author option on this blog
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php echo $this->fetch( 'blog.admin.tool.php' ); ?>
    
    	<div class="blog-head mtm">
    		<?php if( $blog->isFeatured() ) { ?>
    		<div class="tag-featured in-block"><?php echo Jtext::_('COM_EASYBLOG_FEATURED_FEATURED'); ?></div>
    		<?php } ?>
    		<h1 id="title_<?php echo $blog->id; ?>" class="blog-title<?php echo ($isFeatured) ? ' featured-item' : '';?> rip">
    			<?php echo $blog->title; ?>
    		</h1>
    	</div>
    
    	<div class="blog-brief ptl pbl mbl">
    		<div class="in">
    			<?php if( $system->config->get( 'layout_avatar' ) && $system->config->get( 'layout_avatar_in_read_blog' ) ){ ?>
    			<div class="blog-avatar float-l prel mrm">
    				<?php
    					if( isset( $team ) )
    					{
    						$teamBlog   = EasyBlogHelper::getTable( 'TeamBlog', 'Table');
    						$teamBlog->load( $team );
    				?>
    				<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=teamblog&layout=listings&id=' . $teamBlog->id ); ?>" class="avatar isTeamBlog float-l prel">
    					<img src="/<?php echo $teamBlog->getAvatar(); ?>" alt="<?php echo $teamBlog->title; ?>" class="avatar" width="36" height="36" />
    				</a>
    				<a href="/<?php echo $blogger->getProfileLink(); ?>" class="avatar isBlogger float-l pabs">
    					<img src="/<?php echo $blogger->getAvatar(); ?>" alt="<?php echo $blogger->getName(); ?>" class="avatar" width="20" height="20" />
    				</a>
    				<?php
    					} else {
    				?>
    				<a href="/<?php echo $blogger->getProfileLink(); ?>" class="avatar float-l">
    					<img src="/<?php echo $blogger->getAvatar(); ?>" alt="<?php echo $blogger->getName(); ?>" class="avatar isBlogger" width="36" height="36" />
    				</a>
    				<?php } ?>
    			</div>
    			<?php } ?>
    			<div class="blog-meta">
    				<div class="in">
    					<?php echo JText::_( 'COM_EASYBLOG_POSTED_BY' );?>
    					<a href="/<?php echo $blogger->getProfileLink(); ?>"><?php echo $blogger->getName(); ?></a>
    					<?php echo EasyBlogTooltipHelper::getBloggerHTML( $blog->created_by, array('my'=>'left top','at'=>'right bottom','of'=>array('traverseUsing'=>'prev')) ); ?>
    					<?php echo JText::_( 'COM_EASYBLOG_ON' ); ?>
    					<?php echo $this->formatDate( $system->config->get('layout_dateformat') , $blog->created ); ?>
    					<?php echo JText::sprintf( 'COM_EASYBLOG_IN' , EasyBlogRouter::_('index.php?option=com_easyblog&view=categories&layout=listings&id='.$blog->category_id), $blog->getCategoryName() ); ?>
    				</div>
    			</div>
    			<div class="blog-option mts">
    				<ul class="reset-ul float-li small fsm">
    					<?php if( $system->config->get( 'layout_hits' ) ): ?>
    						<li class="blog-hit"><?php echo JText::sprintf( 'COM_EASYBLOG_HITS_TOTAL' , $blog->hits ); ?></li>
    					<?php endif; ?>
    					<?php if( $system->config->get('main_comment') && $blog->totalComments !== false ){ ?>
    					<li class="blog-comments">
    
    						<?php if( $system->config->get('comment_disqus') ) { ?>
    						<?php echo $blog->totalComments; ?>
    						<?php } else { ?>
    						<a href="/<?php echo EasyBlogRouter::_( 'index.php?option=com_easyblog&view=entry&id=' . $blog->id . $teamIdLink ); ?>#comments"><?php echo $this->getNouns( 'COM_EASYBLOG_COMMENT_COUNT' , $blog->totalComments , true ); ?></a>
    						<?php } ?>
    					</li>
    					<?php } ?>
    					<?php if($system->config->get('main_subscription') && $blog->subscription) { ?>
    					<li class="email">
    						<a href="javascript:eblog.subscription.show('<?php echo EBLOG_SUBSCRIPTION_ENTRY;?>' , '<?php echo $blog->id;?>');"><?php echo JText::_('COM_EASYBLOG_SUBSCRIBE_BLOG'); ?></a>
    					</li>
    					<?php } ?>
    					<?php echo EasyBlogHelper::getHelper( 'publishtools' )->getHTML( $blog->id ); ?>
    				</ul>
    			</div>
    		</div>
    	</div>
    
    
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* End blog head. Content start here
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php echo $blog->event->afterDisplayTitle; ?>
    	<div class="blog-text clearfix prel mtm mbm">
    		<?php if($socialPosition == 'top') EasyBlogHelper::showSocialButton($blog); ?>
    		<?php if($socialPosition == 'left' || $socialPosition == 'right') EasyBlogHelper::showSocialButton($blog); ?>
    		<?php echo $blog->event->beforeDisplayContent; ?>
    		<?php if(!empty($blog->toc)){ echo $blog->toc; } ?>
    		<?php echo $blog->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 } ?>
    		<?php echo $blog->event->afterDisplayContent; ?>
    
    		<?php /* content copyright */ ?>
    		<?php if( $system->config->get( 'layout_copyrights' ) && !empty($blog->copyrights) ) { ?>
    		<div class="blog-copyrights mtm">
    			<div class="in clearfix">
    				<span class="blog-copyrights">
    					<?php echo JTEXT::_('COM_EASYBLOG_COPYRIGHTS_PREFIX') . $blog->copyrights ?>
    				</span>
    			</div>
    		</div>
    		<?php } ?>
    
    		<?php echo $this->fetch( 'blog.source'. EasyBlogHelper::getHelper( 'Sources' )->getTemplateFile( $blog->source ) . '.php' ); ?>
    
    	</div>
    
    	<?php if( $system->config->get( 'main_ratings' ) ) { ?>
    	<div class="blog-rate mtm">
    		<div class="in clearfix">
    			<span class="blog-rating">
    				<?php echo EasyBlogHelper::getHelper( 'ratings' )->getHTML( $blog->id , EBLOG_RATINGS_TYPE_ENTRY , JText::_( 'COM_EASYBLOG_RATINGS_RATE_BLOG_ENTRY') , 'blog-ratings' ); ?>
    			</span>
    		</div>
    	</div>
    	<?php } ?>
    
    	<div class="blog-tag fsm mtm"><?php echo JText::sprintf( 'COM_EASYBLOG_TAG_LIST' , $tags ); ?></div>
    
    	<?php if($socialPosition == 'bottom') EasyBlogHelper::showSocialButton($blog); ?>
    
    	<?php if( $system->config->get('main_facebook_like') && $system->config->get('main_facebook_like_layout') == 'standard' ) : ?>
    	<div id="eb-fblikes" class="align<?php echo ($this->getDirection() == 'rtl') ? 'right' : 'left'; ?> mtl">
    		<?php echo $facebookLike; ?>
    	</div>
    	<div class="clear"></div>
    	<?php endif; ?>
    
    
    	<?php
    	/**
    	* ----------------------------------------------------------------------------------------------------------
    	* Entry navigation
    	* ----------------------------------------------------------------------------------------------------------
    	*/
    	?>
    	<?php if ( !empty( $prevLink ) OR !empty( $nextLink ) ) : ?>
    	<ul class="blog-navi reset-ul float-li small clearfix pbm ptm mtl">
    		<?php if ( !empty( $prevLink ) ) : ?>
    		<li class="entry-prev">
    			<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $prevLink['id'] . $teamIdLink); ?>" title="<?php echo JText::sprintf('COM_EASYBLOG_ENTRY_BLOG_PREVIOUS_TITLE', $prevLink['title']); ?>"><?php echo JText::sprintf('COM_EASYBLOG_BLOG_ENTRY_PREV', $prevLink['title']); ?></a>
    		</li>
    		<?php endif; ?>
    
    		<?php if ( !empty( $nextLink ) ) : ?>
    		<li class="entry-next">
    			<a href="/<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id=' . $nextLink['id'] . $teamIdLink); ?>" title="<?php echo JText::sprintf('COM_EASYBLOG_ENTRY_BLOG_NEXT_TITLE', $nextLink['title']); ?>"><?php echo JText::sprintf('COM_EASYBLOG_BLOG_ENTRY_NEXT', $nextLink['title']); ?></a>
    		</li>
    		<?php endif; ?>
    	</ul>
    	<?php endif; ?>
    </div><!--end: .blog-read-->
    <?php echo $adsenseHTML; ?>
    <ul class="tab_button reset-ul float-li clearfix">
    	<?php if( $system->config->get('main_showauthorinfo') ) { ?>
    	<li id="button-author" class="tab_item author"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_ABOUT_AUTHOR_TITLE'); ?></span></a></li>
    	<?php } ?>
    	<?php if( !empty( $blogRelatedPost ) ) { ?>
    	<li id="button-related" class="tab_item related"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_BLOG_RELATED_POST_TAB'); ?></span></a></li>
    	<?php } ?>
    	<?php if( $system->config->get('main_trackbacks') ) { ?>
    	<li id="button-trackbacks" class="tab_item trackbacks"><a href="javascript:void(0);" class="ico"><span><?php echo JText::_('COM_EASYBLOG_ENTRY_BLOG_TRACKBACKS_TAB'); ?></span></a></li>
    	<?php } ?>
    </ul>
    
    <?php if( $system->config->get('main_showauthorinfo') ): ?>
    	<?php echo $this->fetch( 'author.info.php' ); ?>
    <?php endif; ?>
    
    <?php if( $system->config->get('main_trackbacks') ) { ?>
    	<?php echo $this->fetch( 'blog.trackback.php' ); ?>
    <?php } ?>
    
    <?php if(! empty($blogRelatedPost)) { ?>
    	<?php echo $this->fetch( 'blog.related.php' ); ?>
    <?php } ?>
    
    <?php if( $system->config->get('main_comment') ) { ?>
    	<?php echo $commentHTML;?>
    <?php } ?>
    </div><!--end: #ezblog-body-->
    

    Subscribed Products:
  • Wednesday, May 09 2012, 03:15 AM
    Replied by Mark - #permalink
    0
    Hello Victor,

    Yep, it's not there but you can override it here by adding the following codes,

    <?php  JFactory::getDocument()->setTitle( 'your personallized title here' ); ?>
    

  • Wednesday, May 09 2012, 03:16 AM
    Replied by Victor Drover - #permalink
    0
    And if i want to remove it entirely?

    Subscribed Products:
  • Wednesday, May 09 2012, 03:20 AM
    Replied by Mark - #permalink
    0
    Hello Victor,

    You could try this to remove the titles,

    <?php JFactory::getDocument()->setTitle( '' );
    

  • Wednesday, May 09 2012, 03:24 AM
    Replied by Victor Drover - #permalink
    0
    That sets the page title to the exact URL.

    As a reminder, i have the following as the page title:

    entry title - blog title


    What i want is:

    entry title

    Subscribed Products:
  • Wednesday, May 09 2012, 03:33 AM
    Replied by Mark - #permalink
    0
    Hello Victor,

    If you just want the entry title as the page title, then you should use the block of codes below,

    <?php JFactory::getDocument()->setTitle( $blog->title ); ?>
    


    But I do think that probably it would be a good idea to have it as a settings though. I'll try to apply this on EasyBlog 3.5 :p

  • Wednesday, May 09 2012, 05:37 AM
    Replied by Victor Drover - #permalink
    0
    OK, that is working. One last override question:

    When i view the blog homepage (latest entries), the blogger avatars are shown to the left of the entry. Below the avatar the category is displayed. Since my blog only has one category, i prefer to not display it. What override controls this display (note: i have found the relevant code to remove this from entry view, but i can't find the code to ovveride on the blog homepage).

    Subscribed Products:
  • Wednesday, May 09 2012, 08:01 PM
    Replied by Victor Drover - #permalink
    0
    Awesome, thanks!

    Subscribed Products:
  • Wednesday, May 09 2012, 09:08 PM
    Replied by Mark - #permalink
    0
    Hello Victor,

    You are most welcome :D Glad that your issues are resolved now :p By the way, are you from Anything Digital or am I getting the wrong person here?

  • Wednesday, May 09 2012, 09:34 PM
    Replied by Victor Drover - #permalink
    0
    That's me :)

    Subscribed Products:
  • Wednesday, May 09 2012, 09:41 PM
    Replied by Victor Drover - #permalink
    0
    ditto ;)

    Subscribed Products:
Your Response

Please login to reply

You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.

Register Now →

Please Login Forgot your password?