-
AuthorPosts
-
steve100054 Friend
steve100054
- Join date:
- June 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 14, 2009 at 1:42 pm #145194I 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 examplePETER 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 Friendthongtinhanquoc
- Join date:
- November 2008
- Posts:
- 33
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 12
- Thanked:
- 5 times in 3 posts
October 14, 2009 at 3:57 pm #320497Here’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 Friendsteve100054
- Join date:
- June 2009
- Posts:
- 23
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 1 times in 1 posts
October 14, 2009 at 9:13 pm #320520Thanks 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.
-
AuthorPosts
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