Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • steve100054 Friend
    #145194

    I need help for two things:
    1. How to change the order of the create date and created by inthe article pages. I want to have two lines, at the top the name of the author of the article and next to author’s name the location of the article… onthe second line to have the date and time: for example

    PETER SMITH, LONDON
    DATE, TIME
    The story…

    2. I read somewhere that I could change this with the com_content. So i tried to do some changes and it I was not succesful. As a result I created an issue… Front page is ok, section/category pages too are ok, but… aricle pages are all empty. If I click on the title of a story it the article page is empty. I replaced the com_content but the problem is still there. Any ideas how to fix it? i cannot think anything else…

    thongtinhanquoc Friend
    #320497

    Here’s the file that could help you: templatesja_teline_iiihtmlcom_contentarticledefault.php

    Open it with a code editor, roll down to the line number 52, see the code like this:

    <div class=”article-tools clearfix”>
    <div class=”article-meta”>
    <?php if ($this->params->get(‘show_create_date’)) : ?>
    <span class=”createdate”>
    <?php echo JHTML::_(‘date’, $this->article->created, JText::_(‘DATE_FORMAT_LC2’)) ?>
    </span>
    <?php endif; ?>

    <?php if (($this->params->get(‘show_author’)) && ($this->article->author != “”)) : ?>
    <span class=”createby”>
    <?php $this->escape(JText::printf(($this->escape($this->article->created_by_alias) ? $this->escape($this->article->created_by_alias) : $this->escape($this->article->author)) )); ?>
    </span>
    <?php endif; ?>

    Change the order of Create Date and Create By by reserving the related code. It’s not done yet.

    After that, open file templatesja_teline_iiicsstemplate.css, change attributes of related classes to separate them into 2 lines as your wish and it’s done (it’s about line number 264 downward).

    steve100054 Friend
    #320520

    Thanks for your kind reply. I will try it. But first I have to fix the issue with the blank article pages. This problem is still there. When i i try to open an article from front page pr category/section pages it comes a blank page. I tried various tips from joomla forums but still it does not work.

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

This topic contains 3 replies, has 2 voices, and was last updated by  steve100054 15 years ago.

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