Dashboard Single Page empty
Permalink
I'm trying to add a dashboard single page which is a subpage of another package single page (i'm extending the vivid store add-on with a custom payment gateway and i'd like an extra setup page below the settings page).
When I go to the page, it is empty ... well not empty, it just doesn't have a title and no content.
I've checked and rechecked everything but I can't find anything wrong.
Even if I rename the controller (rendering it useless), then nothing changes... still no title and content.
Paths:
packages/store_mollie/controllers/single_page/dashboard/store/settings/paymollie.php
packages/store_mollie/single_pages/dashboard/store/settings/paymollie.php
Namespace controller:
What could be wrong?
When I go to the page, it is empty ... well not empty, it just doesn't have a title and no content.
I've checked and rechecked everything but I can't find anything wrong.
Even if I rename the controller (rendering it useless), then nothing changes... still no title and content.
Paths:
packages/store_mollie/controllers/single_page/dashboard/store/settings/paymollie.php
packages/store_mollie/single_pages/dashboard/store/settings/paymollie.php
Namespace controller:
namespace Concrete\Package\StoreMollie\Controller\SinglePage\Dashboard\Store\Settings;
What could be wrong?
For future reference in case anyone would get the issue...
The problem did not reside in the controller or single page, but in the package controller.
$pkg was not defined... that was the error