Articles With End Publish Date Showing As 'expired' - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Articles With End Publish Date Showing As 'expired'

Alison

Alison

Template 3 years ago

Hi

I just noticed that when I set a 'Finish Publishing' date on an article that is in the future the main article page shows the 'Expired' notice to everyone, even though the article has not expired.

Please see this page for an example - the Finish Publishing date is set to 2022-03-23 17:13:28 https://www.walc.org.uk/news/vacancies/bickenhill-marston-green-deputy-clerk

Please help as this is obvisoulsy confusing for our users. Thanks Alison

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 3 years ago #59749

Hi Alison,

as temporray solution use this

.article-header .badge.bg-warning.text-dark {display: none; visibility: hidden;}

-1
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #58883

Hi there,

Thanks for contacting us. Sorry for the inconvenience. Please create the issue on my site and let me know.

-Thanks

0
Alison
Alison
Accepted Answer
3 years ago #58906

Done that and it is worse on your site - showing an error

I have added a blog article entitled "Testing 'Finish Publishing' option"

see http://helix-framework.org/blog.html and http://helix-framework.org/blog/testing-finish-publishing-option.html

0
Alison
Alison
Accepted Answer
3 years ago #59731

Anything ???

I am still waiting for a solution please

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #59747

Already i have added our working board. I hope team will fix it soon. Thanks

0
CG
Christian GRENIER
Accepted Answer
3 years ago #61589

Hi

Soluce:

In your template, modify /templates/your_templates/html/com_content/article/default.php

OR (if this file doesn't exists)

In Shaper Helix Ultimate, modify /plugins/system/helixultimate/overrides/com_content/article_default.php

Lg50 error:

  • : !isnull($this->item->publishdown) && $this->item->publishdown > $currentDate;*

    Replace:

  • : !isnull($this->item->publishdown) && $this->item->publishdown < Factory::getDate();*

Bye

0
D
Daniele
Accepted Answer
1 year ago #138253

It works!!!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 3 years ago #61687

We will release it soon. Thanks

-1
A
AJones
Accepted Answer
3 years ago #80121

Hi......I've got this problem......can anybody advise?

0