Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • ithacaindy Friend
    #171214

    What steps do I take to remove the “Details” text from articles’ info line?

    jooservices Friend
    #427041

    Hi
    May i know which block “details” you are mentioning ?
    Thank you,
    Viet Vu

    ithacaindy Friend
    #427042

    The article block like this:

    Details Published on 28 Nov. 2011 Written by Ed Sutherland

    jooservices Friend
    #427047

    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.

    Thank you,

    ithacaindy Friend
    #427051

    Worked beautifully. Thanks.

    ithacaindy Friend
    #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 Friend
    #427256

    Hi
    Sorry mis-understood your questions.
    In case you only want to remove
    “Super User” -> Author
    and
    “Nov. 29, 2011 10:40 PM” -> Published date

    You 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 Friend
    #427329

    My 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 Friend
    #427403

    Hi
    So as far i can understand.
    Your current layout like this

    Details 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 Friend
    #427411

    If 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,

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  jooservices 12 years, 11 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum