-
AuthorPosts
-
November 3, 2016 at 6:15 am #983063
on the home page, the main module that lists the articles is displaying articles that are not published yet. Those same articles however are flagged in the admin area as unpublished (because date is not here yet) and if the articles are called by a menu item or the category is displayed the articles are listed as they should be meaning they are unpublished with a border around them. So the issue seems to be with the module itself publishing items that should not be published yet by ignoring the publishing date. Are there settings I am missing that I need to set? Never had a module publish articles that are marked as unpublished in the admin area.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 4, 2016 at 4:45 am #983309Hi,
You can let me know the steps to replicate get this bug. So that i can check this issue . Or send me your site Admin login details and Page URL with issue description .
I will check it .Regards
November 6, 2016 at 2:08 am #983732the issue is in the featured articles module that is on the home page – unpublished articles don’t display anywhere else (which is good) except in the module for articles. The module shows all articles entered into admin, even if the date is in the future.
November 6, 2016 at 2:10 am #983733This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 7, 2016 at 2:15 am #983923Hi,
This is not a bug because it is a new feature of Joomla core: http://prntscr.com/d40mx2 when you set your site is down for maintenance and it requires username/password to login your site and it will show the unpublished article but it doesn’t show with the visitor. You can set Site Offline to NO and you will not able to see the unpublished article showing on your site.
Regards
November 7, 2016 at 3:54 am #983970i might not be communicating this right .. i understand your response but that is NOT what i’m talking about. The whole site works right re: unpublished articles. Everywhere except in the top article category section on the home page. Other unpublished articles show with a border, etc like they should. In the home page content-mass-top section however that has the article category module that module is showing the articles, even if they are unpublished and they do not have a border, or labeled as unpublished, etc. So the module has the bug because it is showing articles that should be unpublished like articles that are published and it is only in that module.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 8, 2016 at 4:11 am #984337Im sorry but I don’t have ftp information. Is there anything else you can recommend?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 9, 2016 at 2:21 am #984669Im sorry but I don’t have ftp information. Is there anything else you can recommend?
I see your site is published but I could not know which the module have a problem on your site? Please let me know about that and you need to set the account of your provided with permission Super Users. I will check further
November 9, 2016 at 6:34 pm #984963This reply has been marked as private.Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 10, 2016 at 10:02 am #985150Hi,
I checked both articles on your site with the status "pending" http://prntscr.com/d5g2af and it didn’t show on homepage of your site. I set the same publish date as your site at my end and it’s working as well.
About the publish on mod_articles_category module, you can use this way to show it on your site
-
Download and extract my attached file
- Copy default.php file to templates/ja_moviemax/html/mod_articles_category folder
Now, you can see the publish is showing on mod_articles_category: http://prntscr.com/d5gbj0
Regards
November 10, 2016 at 4:04 pm #985242it does seem to be working now -thank you!
now the issue is the time that is displayed – for example – I added an article yesterday and it posted right away like it should – but the time showed "7 hours ago" even though the time in the admin was that minute. Any ideas?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2016 at 1:17 am #985335Hi,
I guess your site is using caching: http://prntscr.com/d5rga9 and you can try to clear it when you post new article
Regards
November 11, 2016 at 3:43 am #985398i dont understand – the moment i post an article, on the home page, only in the top category module, it shows 7 hours ago. if i click on the article it shows the time right.
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
November 11, 2016 at 9:37 am #985517Hi,
I fixed the problem on your site with the solution below
Open templates/ja_moviemax/html/mod_articles_category/articlelist.php file
find and change
<time datetime="<?php echo $item->displayDate; ?>"><?php echo $item->displayDate;?><?php echo JATemplateHelper::relTime($item->displayDate); ?></time>
to
<time datetime="<?php echo JHtml::_('date', $item->publish_up, 'c'); ?>"><?php echo JATemplateHelper::relTime($item->publish_up); ?></time>
Let me know if it helps
Regards
-
AuthorPosts
This topic contains 14 replies, has 2 voices, and was last updated by Ninja Lead 7 years, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum