Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 21h 28m 16s
Claim 50% off
Staff replied Templates

PITECH update to Joomla 5

Asked by Stefano 1 year ago Last activity 1 year ago

Hi team,

I've just bought & installed PITECH QUICK START package. Before I start to work on the website, I would like to update Joomla CMS to version 5.

Is there any special tricks or procedure from your side that you suggest ?

Regards,

Stefano

7 replies

Paul Frankowski Senior Staff
1 year ago · edited

Hi Stefano.

For sure, update everything (all installed extensions, Helix plugin) and read what Joomla suggest.

Stefano Asked this

Hi Paul,

I followed Jooma pre-upgrade check (all green checks) and updated the two extension:

  • Helix to the version 2.1.3
  • SP Page Builder 5 Pro to the version: 5.7.2

At the end I also upgraded Joomla to last version 5.3.2

The process has been easy and with no problems.

Now I'm facing out with this problem:

BEFORE THE UPDATE:

  • the webiste (fresh new PITECH Quick start package with no modifications) was on OFFLINE mode (activated from Jooma GLOBAL CONFIG and some custom modifications made on HELIX - BASIC - COMING SOON section
  • with the website OFFLINE as usual I had the possibility to login from the coming soon page to the frontend

AFTER THE UPDATE

  • if I login in the coming soon page, I logged with success but the view doesn't change: I'm always in the OFFLINE PAGE
  • from the global config I tried to switch off the OFFLINE SITE, and nothing change, the problem is still alive
  • from HELIX --> BASIC --> COMING SOON section I switched OFF the flag and now I can see the frontend

In this way, after the upgrade, I can use anymore the OFFLINE mode, because as I wrote, if I'm logging in from the COMING SOON page I'm still not moving from the COMING SOON page.

So you have any suggestion ?

Paul Frankowski Senior Staff
1 year ago · edited

I don't understand why you enabled both, all you really wanted during upgrade was the Offline mode in Global Configuration. Sometimes problem is from browser/joomla cache.

You can share access, I will disable if somehow you cannot .

Stefano Asked this

I'm working on hit, cleared the cache, and now it's working !

Now I'm also just enabling OFF from the global config, without touching the HELIX section.

So everything seems to work now fine with the exclusion of.... countdown :->

In all the fields (DAYS, HOURS , MINUTES, SECONDS) I see NaN

I've already double checked the format and it's correct YYYY-MM-DD HH:MM.
I've also purged again the cache but it doesn't work.

Paul Frankowski Senior Staff

Do you really need that countdown? Maybe disable it.

Stefano Asked this

Hi Paul,

it's not an elegant solution, but it works :-)

I changed the code in templates/pitech/html/layouts from

<div id="coming-soon-countdown" class="clearfix"></div>
<script type="text/javascript">
jQuery(function($) {
$('#coming-soon-countdown').countdown('<?php echo trim($comingsoon_date[2]); ?>/<?php echo trim($comingsoon_date[1]); ?>/<?php echo trim($comingsoondate[0]); ?>', function(event) {
$(this).html(event.strftime('<div class="coming-soon-days"><span class="coming-soon-number">%-D</span><span class="coming-soon-string">%!D:<?php echo JText::
("HELIX_ULTIMATEDAY"); ?>,<?php echo JText::("HELIX_ULTIMATEDAYS"); ?>;</span></div><div class="coming-soon-hours"><span class="coming-soon-number">%H</span><span class="coming-soon-string">%!H:<?php echo JText::("HELIX_ULTIMATEHOUR"); ?>,<?php echo JText::("HELIX_ULTIMATEHOURS"); ?>;</span></div><div class="coming-soon-minutes"><span class="coming-soon-number">%M</span><span class="coming-soon-string">%!M:<?php echo JText::("HELIX_ULTIMATEMINUTE"); ?>,<?php echo JText::("HELIX_ULTIMATEMINUTES"); ?>;</span></div><div class="coming-soon-seconds"><span class="coming-soon-number">%S</span><span class="coming-soon-string">%!S:<?php echo JText::("HELIX_ULTIMATESECOND"); ?>,<?php echo JText::("HELIX_ULTIMATE_SECONDS"); ?>;</span></div>'));
});
});
</script>

to this one

<div id="coming-soon-countdown" class="clearfix" data-countdown="10/01/2025 10:59"></div>
<script>
jQuery(function($) { var $el = $('#coming-soon-countdown');
var target = $el.data('countdown'); // es. "01/01/2026 00:00" oppure "01/01/2026"
if (target) {
$el.show().countdown(String(target), function(event) {
var html = event.strftime(
'<div class="coming-soon-days">'

  • '<span class="coming-soon-number">%-D</span>'
  • '<span class="coming-soon-string">%!D:Giorno,Giorni;</span>'
  • '</div>' + '<div class="coming-soon-hours">'
  • '<span class="coming-soon-number">%H</span>'
  • '<span class="coming-soon-string">%!H:Ora,Ore;</span>'
  • '</div>' + '<div class="coming-soon-minutes">'
  • '<span class="coming-soon-number">%M</span>'
  • '<span class="coming-soon-string">%!M:Minuto,Minuti;</span>'
  • '</div>' + '<div class="coming-soon-seconds">'
  • '<span class="coming-soon-number">%S</span>'
  • '<span class="coming-soon-string">%!S:Secondo,Secondi;</span>'
  • '</div>'
    ); $(this).html(html);
    });
    } else {
    $el.hide();
    }
    });
    </script>

As I said it not elegant because you need to manually enter the date in the PHP file but it words :-)

Paul Frankowski Senior Staff
1 year ago · edited

but you talk about Coming Soon mode, not Offline mode.

I always wonder, that Days, Hours, Minutes -- is for whom, site ower? But he/she knows when you have to finish your job.

Log in to reply.