"Coming Soon" Login Doesn't Work After Updating To Helix Ultimate 2.2.0/2.2.1 - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

"Coming Soon" Login Doesn't Work After Updating To Helix Ultimate 2.2.0/2.2.1

J

Jeroen

Helix Framework 1 month ago

This worked fine until Helix Ultimate 2.1.3. And if I temporarily switch to the "Cassiopeia" template, I can log in.

In the Helix Ultimate 2.2.1 template, "Enable Coming Soon" and "Enable Login" are enabled. The user is in a group that is listed under "Group Parent" > "Registered." And in "Global Configuration" > "Permissions," "Site Login" and "Offline Access" are set to "Allowed."

When I try to log in, the login screen remains as if the login isn't working, but logging in to the "Cassiopeia" template works. If I disable "Enable Login" in the Helix template, I can still visit the website, but that's not the intended use for a website under construction.

I've tried everything, but I can't get it to work on Helix Ultimate 2.2.0/2.2.1.

Can you reproduce this?

Best regards, Jeroen

0
21 Answers
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207608

Hi there,

Thank you for reaching out. To check the issue from our end, please create a staging site and share its login credentials with us. Make sure you provide only the staging site details, not the live site access. This is important because if any issue occurs while we’re working, it will affect only the staging site, not the live one. We want to maintain full transparency between the user and our support team.

How to create a staging site

https://drive.google.com/file/d/1ms8hPQfM3xfF4XUO0W4pUZAhzGUqxBwD/view

  • Create a subdomain from your cPanel.
  • Export your existing site's database from PHPMyAdmin.
  • Create a new database.
  • Import the existing database to the new database.
  • Update the configuration.php file.
  • Go to the administrator section of the staging site.

Best regards,

Toufiqur Rahman (Team Lead, Support)

0
J
Jeroen
Accepted Answer
1 month ago #207609

Hi Toufiqur,

I've attached the test (staging) site information. I look forward to hearing from you.

Jeroen

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207611

I have checked previous version 2.1.3 and also, same problem occurred on previous version. Allow me time. I will discuss to our devloper team & once i got feedback from them, I will let you know. Thanks

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207688

Did you check previous version of Helix?

0
J
Jeroen
Accepted Answer
1 month ago #207693

I have the same site on a different location which is still on Joomla 5.3.4, Helix Ultimate 2.1.3 and SP Page Builder Pro 6.0.0. In this same site the login works as expected.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207695

Can you share the login credentials for the comparison?

0
J
Jeroen
Accepted Answer
1 month ago #207696

I can't share the login of this other site. I'm curious if you can reproduce this problem yourselves. Could you enable the "Coming soon" feature on your own site and then log in?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207698

Can you share screencast video?

0
J
Jeroen
Accepted Answer
1 month ago #207723

The screencast video can be found in the hidden content field. Remember that logging in to the frontend as a super user, and therefore with full permissions, does work. However, logging in with full permissions is not recommended. Also, remember that switching to the Cassiopeia template shows that logging in is possible. Also, remember that the exact same settings work (see the screencast video) in the same site in a different location on Joomla 5.3.4, Helix Ultimate 2.1.3, and SP Page Builder 6.0.0. It seems more likely that the coming soon page of Helix Ultimate 2.2.1 doesn't recognize someone logged in with 'Site Login' and 'Offline Access' permissions.

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207729

Please check now. We will fix it next update.

0
J
Jeroen
Accepted Answer
1 month ago #207731

I see that logging in to the frontend is working again now. When will the next Helix Ultimate update be released?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207734

We will try to release it by next week. Thank you.

0
J
Jeroen
Accepted Answer
1 month ago #207735

Thank you!

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207736

You are most welcome :)

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207825

There was problem that is why we have updated the code.

All users were previously able to log in, which wasn’t ideal. When a site owner enables Coming Soon or Offline Mode, the purpose is to prevent regular users from accessing the website while it’s offline or under construction. However, this functionality didn’t work as intended.

We’ve updated the code to fix this issue. If you prefer to keep the previous behavior, you can use the following code in the coming soon section of your index.php file.

Previous code

https://prnt.sc/9HNV7Ce3-Ur1

if (!$requestFromIframe) 
{
    $user = Factory::getUser();

    if (!\is_null($this->params->get('comingsoon', null)) && $user->get('id') === 0)
    {
        header("Location: " . Route::_(Uri::root(true) . "/index.php?templateStyle={$template->id}&tmpl=comingsoon", false));
        exit();
    }
}

New code

if (!$requestFromIframe) 
{
    $user = Factory::getUser();

    if (!\is_null($this->params->get('comingsoon', null)) && !$user->authorise('core.admin'))
    {
        header("Location: " . Route::_(Uri::root(true) . "/index.php?templateStyle={$template->id}&tmpl=comingsoon", false));
        exit();
    }
}
0
J
Jeroen
Accepted Answer
1 month ago #207839

I prefer not to edit Helix Ultimate's index.php file because then you have to do it/pay attention to it every time you update it.

I use the coming soon page when building a website. Clients can log in as soon as I provide their login details to view the progress. They're not supposed to be able to edit the website at that point. They can only visit it as if they were a visitor. How can I still achieve this in the latest version of Helix Ultimate without modifying the index.php file?

0
Toufiq
Toufiq
Accepted Answer
Senior Staff 1 month ago #207852

We have tried to follow the Joomla doc core and there is no rules that you have mentioned.

You have to use this code or you have to use our latest build.

-Thanks

0
J
Jeroen
Accepted Answer
1 month ago #207898

You say that it was previously possible for all users to log in. I understand that this is undesirable in some situations.

But with the way I've been using the coming soon page so far, the client is given access to visit the website during its construction. If you want the coming soon page in Helix Ultimate this way, then for me the coming soon page has become useless, and I think it's also useless for others. I think it would be better if Helix Ultimate added a second option to the "Enable login" section like: "Also login for registered users".

For now, I've disabled the "Enable Coming Soon" feature. And in Joomla, under [System] > [Global Configuration], I've set "Site Offline" to "Yes." I've also set a custom "Custom Message" and an "Offline Image" as background. If I use these standard Joomla options, I can give the client a login to view the website during its initial launch. It's not as pretty as Helix Ultimate's coming soon page because it's missing the logo and countdown clock, but at least it works.

What I don't quite understand is that if this Joomla Core solution works, why would Helix Ultimate deviate from it?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 1 month ago #207861

I may have smart alternative for you, that I used on my sites sometimes (also in J3, J4 era)

  1. Just set all menu (exept home page) for Register Users only (ACL).
  2. Make your current home page as 2nd page - also for register users only.
  3. Create Coming Soon Page using SPPB with LOgin module inside, or just use Login menu item as default (home) page, visible for all.
  4. Disable creaing Accounts in User Manager settings.

Then:

  1. Guests won't see anything, only login form.
  2. Only Register and logged users can see progress on site, but won't be able to edit anything.
  3. You can hide some unfinished pages (menu items) by settings ACL access lever higher (Administrator).
  4. Google will not index hidden pages, only login page.

So simple, and possible in 3min. No file edit.

0
J
Jeroen
Accepted Answer
1 month ago #207897

I appreciate your consideration for a solution, but I am now opting for a different "temporary" solution (See this post).

0