-
AuthorPosts
-
ithacaindy Friend
ithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
November 29, 2011 at 2:36 am #171214What steps do I take to remove the “Details” text from articles’ info line?
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 29, 2011 at 2:59 am #427041Hi
May i know which block “details” you are mentioning ?
Thank you,
Viet Vuithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
November 29, 2011 at 3:22 am #427042The article block like this:
Details Published on 28 Nov. 2011 Written by Ed Sutherland
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 29, 2011 at 3:40 am #427047Hi
Please check this file
templatesja_teline_ivhtmlcom_contentarticledefault.php
Line 80:
<dt class="article-info-term"><?php echo JText::_('COM_CONTENT_ARTICLE_INFO'); ?></dt>
Just remove this line and “details” will be removed.Thank you,
1 user says Thank You to jooservices for this useful post
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
November 29, 2011 at 4:11 am #427051Worked beautifully. Thanks.
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
November 30, 2011 at 3:40 am #427246<em>@jooservices 285764 wrote:</em><blockquote>Hi
Please check this file
templatesja_teline_ivhtmlcom_contentarticledefault.php
Line 80:
<dt class="article-info-term"><?php echo JText::_('COM_CONTENT_ARTICLE_INFO'); ?></dt>
Just remove this line and “details” will be removed.
</blockquote>I spoke too soon. I removed the line and now all I see is this:
Published Date Written by Super User
What I’m looking for is this:
Super User Nov. 29, 2011 10:40 PM
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
November 30, 2011 at 6:16 am #427256Hi
Sorry mis-understood your questions.
In case you only want to remove
“Super User” -> Author
and
“Nov. 29, 2011 10:40 PM” -> Published dateYou can do it via Joomla backend for better easier.
But if you want , same in above file
Line from 104 – 145
<?php if ($params->get('show_create_date')) : ?>
<dd class="create ja-blog-date">
<div class="inner clearfix">
<?php
$createDay = date('d', strtotime( $this->item->created));
$createMonth = date('M', strtotime( $this->item->created));
$createYear = date('Y', strtotime( $this->item->created));
?>
<span class="date"><?php echo $createDay; ?></span>
<span class="month-year">
<strong><?php echo $createMonth; ?></strong>
<strong><?php echo $createYear; ?></strong>
</span>
<?php echo $this->item->event->beforeDisplayContent; ?>
</div>
</dd>
<?php endif; ?>
<?php if ($params->get('show_modify_date')) : ?>
<dd class="modified">
<?php echo JText::sprintf('COM_CONTENT_LAST_UPDATED', JHtml::_('date',$this->item->modified, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHtml::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>
<?php if ($params->get('show_author') && !empty($this->item->author )) : ?>
<dd class="createdby">
<?php $author = $this->item->created_by_alias ? $this->item->created_by_alias : $this->item->author; ?>
<?php if (!empty($this->item->contactid) && $params->get('link_author') == true): ?>
<?php
$needle = 'index.php?option=com_contact&view=contact&id=' . $this->item->contactid;
$item = JSite::getMenu()->getItems('link', $needle, true);
$cntlink = !empty($item) ? $needle . '&Itemid=' . $item->id : $needle;
?>
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', JHtml::_('link', JRoute::_($cntlink), $author)); ?>
<?php else: ?>
<?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
<?php endif; ?>
</dd>
<?php endif; ?>Just remove it 🙂
Thank you,
ithacaindy Friendithacaindy
- Join date:
- January 2010
- Posts:
- 335
- Downloads:
- 0
- Uploads:
- 10
- Thanks:
- 20
- Thanked:
- 12 times in 1 posts
November 30, 2011 at 1:42 pm #427329My apologies for not being clear. I want to keep the author name and the date and time. I just want to get rid of the line that displays the text “Details” at the start of the article-info line.
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 1, 2011 at 3:35 am #427403Hi
So as far i can understand.
Your current layout like thisDetails Published Date Written by Super User
and you want to become
Published Date Written by Super User
Please check out my video as tutorial: http://www.joomlart.com/forums/topic/jatips-how-to-remove-ja-teline-iv-article-tools/
I have presented how to remove each block until everything clear 😀Thank you,
jooservices Friendjooservices
- Join date:
- October 2014
- Posts:
- 8556
- Downloads:
- 0
- Uploads:
- 130
- Thanked:
- 1245 times in 1121 posts
December 1, 2011 at 4:41 am #427411If you still can’t follow up w/ my video please update me with your site URL & ftp access than i can try with your live site.
Thank you, -
AuthorPosts
This topic contains 10 replies, has 2 voices, and was last updated by jooservices 13 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum