Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about "Cars" Joomla template.

Topic-icon Cannot remove | from author_line

More
6 years 5 days ago #4698 by Mick Miller
Hi,

Another query. When I set the global or the individual article parameters to hide created date, author, modified date and icons I'm still left with a '|' in the author_line. Rather than the author_line closing up and nothing being displayed.

Is there any way of getting rid of the | completely? The site can be found at:
www.activepestcontrolsolutions.com/main_site

The | is evident on most of the articles (no comment on styling yet; it's still 'work in progress'!):blush:

Thanks again for your time.

Please Log in to join the conversation.

More
6 years 5 days ago #4704 by ivan.milic
Hi,
Open file: templates\hot_cars\html\com_content\article\default.php

there starting form line 82 you will see:
<tr>
<td valign="top">

<div class="author_line"><span class="small"><?php if (($this->params->get('show_author')) && ($this->article->author != "")) : ?><?php JText::printf( 'Written by', ($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) ); ?><?php endif; ?></span><?php if ($this->params->get('show_create_date')) : ?> | <span class="createdate"><?php echo JHTML::_('date', $this->article->created, JText::_('DATE_FORMAT_LC4')); endif; ?>
|
<?php if ($this->params->get('show_email_icon')) : echo JHTML::_('icon.email', $this->article, $this->params, $this->access); endif; ?>
<?php if ( $this->params->get( 'show_print_icon' )) : echo JHTML::_('icon.print_popup', $this->article, $this->params, $this->access); endif; ?>
<?php if ($this->params->get('show_pdf_icon')) : echo JHTML::_('icon.pdf', $this->article, $this->params, $this->access); endif; ?></span></div>
</td>
</tr>

You can change | to something else like   or simply delete it.
REMEMBER TO MAKE BACKUP OF FILE BEFORE THAT!

Please Log in to join the conversation.

More
6 years 4 days ago #4709 by Mick Miller
Thanks for your help again! (I'll be sure to backup first).

Please Log in to join the conversation.

More
5 years 11 months ago #5085 by Mick Miller
Hi,

I'm sorry but that doesn't seem to work at all, the | is still there no matter what I change the character to in that file?

templates\hot_cars\html\com_content\article\default.php

Thanks.

Please Log in to join the conversation.

More
5 years 11 months ago #5086 by Mick Miller
Solved: (I think)

I had to find all files which feature author_line and remove the |, there's three of them!

Thanks,

David.

Please Log in to join the conversation.

Time to create page: 0.119 seconds

Links, Partners and Social Media