-
AuthorPosts
-
mjandia Friend
mjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 12, 2013 at 3:18 pm #192931It seems there are problem of publication date on my website and created date. Created don’t show while the option is on. And whn you see an article and you can see modification after the date and not before as in french language.
Are there an issue ?
Thank you for your help.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 13, 2013 at 9:52 am #515344mjandia Friendmjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 17, 2013 at 11:02 am #515719Now it should be fine
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 18, 2013 at 4:46 am #515819<em>@mjandia 402335 wrote:</em><blockquote>Now it should be fine</blockquote>
You can set publish date and create date to show from menu items
Go to Admin site -> Menu item (SOCIA)L -> edit ACTUALITÉ -> Advanced Options -> Articles Options -> set Show Create Date and Show Publish Date to Show
Don’t forget to clear cache from Admin area after changing
If you could not solve it, please send me admin login info of back-end site. I will help you to check it.
mjandia Friendmjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 18, 2013 at 10:37 am #515854Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 19, 2013 at 11:54 am #515956My solution will help you to fix this problem
Open templates/ja_teline_iii/html/com_content/article/default.php file
Change
<?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; ?>
To<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<?php echo JText::sprintf('JACOM_CONTENT_CREATED_DATE_ON', JHtml::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
</dd>
<?php endif; ?>Remember to clear cache from Admin area after changing
mjandia Friendmjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 19, 2013 at 12:48 pm #515959it’s almost ok but the word ” date de publication” disepeared and it’s necessary before the date because otherwise w have two date but nobody says what two date. Then it’s necessary to keep ” Date de publication ” et date de création ” before the following date
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 20, 2013 at 4:37 am #516031If you would like to do that, you need to change /templates/ja_teline_iii/html/com_content/article/default.php file with my solution
+ Create date:
<?php if ($params->get('show_create_date')) : ?>
<dd class="create">
<?php echo JText::sprintf('COM_CONTENT_CREATED_DATE_ON', '<span>'.JHtml::_('date',$this->item->created, JText::_('DATE_FORMAT_LC2')).'</span>'); ?>
</dd>
<?php endif; ?>+ Publish date
<?php if ($params->get('show_publish_date')) : ?>
<dd class="published">
<?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE_ON', '<span>'.JHtml::_('date',$this->item->publish_up, JText::_('DATE_FORMAT_LC2')).'</span>'); ?>
</dd>
<?php endif; ?>mjandia Friendmjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 20, 2013 at 11:06 am #516070Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
December 23, 2013 at 5:25 am #516221I have debugged the problem on your site, see the screenshot
It’s duplicated published date on your site.
You can get my attachment file
+ Download and extract my attachment file
+ Copy it into templates/ja_teline_iii/html/com_content/article/default.php file
+ Backup old file before applying changes
Hope it helps you to solve it
mjandia Friendmjandia
- Join date:
- December 2013
- Posts:
- 48
- Downloads:
- 0
- Uploads:
- 9
- Thanked:
- 3 times in 1 posts
December 23, 2013 at 7:25 am #516226Hello,
That ok. All is fine. Thank you very much for yoour help
Regards
PS : Problem solved
1 user says Thank You to mjandia for this useful post
AuthorPostsViewing 11 posts - 1 through 11 (of 11 total)This topic contains 11 replies, has 2 voices, and was last updated by mjandia 10 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum
publication date and created date
Viewing 11 posts - 1 through 11 (of 11 total)