Articles always Expired when date->publisdown not null - Forum | JoomShaper
Awaiting an answer Helix Framework

Articles always Expired when date->publisdown not null

Asked by Christian GRENIER 4 years ago Last activity 4 years ago

Hi

Context:Joomla4+PHP 8.1+Helix Ultimate last version

Error with date->publishdown in templates (for me, Travus or ShaperHelixUltimate);
When there is a date->publishdown, article is always expired.

File (template):
/templates/travus/html/comcontent/article/default.php
OR
File (shaper_helixultimate):
/plugins/system/helixultimate/ovverrides/com_content/article/default.php

Lg50:

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

Correction:

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

Please, give my 50$ :) (lol)

2 replies

Paul Frankowski Senior Staff

Hi Christian,

Thanks a lot. I will buy a coffee (or pizza) from my own money after the war will over.

By now I will share fix with our team.

Christian GRENIER Asked this

If the war finish, you can keep coffee! it will be a present!

Salute from France.

Log in to reply.