UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Failure to use getExcludeTplQuery() in all appropriate places

Christopher Ambler · ·
2:40 PM Tuesday, 17 November 2020
Normal

public function getSelectPermalink($xhtml = true, $raw = false)
{
$url = 'index.php?option=com_payplans&task=plan.subscribe&plan_id=' . $this->getId() . '&tmpl=component';


This code snippet, from includes/plan/plan.php in the administrator side. This is what creates the URL for the subscribe button. I notice that this is one of a number of places that you don't call getExcludeTplQuery() to exclude full screen if the user doesn't want it.

And then in redirectToCheckout() you do it again (includes/registration/abstract.php)

In my particular case, the offending line is in /components/com_payplans/controllers/checkout.php (front end), line 288. I note that you hardcode tmpl=component here, too, and don't call into the code that takes this off if the config specifies no full page (the getExcludeTplQuery() function).


return $this->redirectToView('checkout', '', 'invoice_key=' . $invoiceKey . '&tmpl=component');


In the workflow where someone picks a plan and then sees the checkout page with the "create an account" output, it appears as if they've left the site. I'd very much like to have this render in the normal way and not use full screen.

Clearly you intend to let the user configure this (turn off full screen) but you don't respect that in all places.

Can we get calls into getExcludeTplQuery() in the proper places, please?
The replies under this section are restricted to logged in users or users with an active subscription with us