Example extensions for extension developemnt

This extension is really well done. Congrats! It would be good if had also an example of creating an empty page at customer area, I need to do it and I'm lost. Just with the left sidebar menu and top bar.
 
This extension is really well done. Congrats! It would be good if had also an example of creating an empty page at customer area, I need to do it and I'm lost. Just with the left sidebar menu and top bar.
Maybe these could help
https://forum.mailwizz.com/threads/how-to-add-a-custom-payment-page-options.70/
it has, among other features, these:
# Add custom pages with your own HTML content & add them to menu
# Add a separate working payment page with your own layout/design
and this one (as background for the above)
https://forum.mailwizz.com/threads/how-to-add-a-new-page-add-it-in-the-menu-customers-end.43/
 
@Erik Figueiredo - While we don't have such example now, you can look at the existing extensions from the app, some of them have both, pages for backend and customer area. A very good example is any extension that does email validation with various 3rd-party services.
 
Thank you for good example. I was just wondering when building extensions, I got issue on this part of the line on the example


PHP:
        /**
         * Now we can continue only if the extension is enabled from its settings:
         */
        if ($this->getOption('enabled', 'no') != 'yes') {
            return;
        }

I always get the `enabled` value as `no` while in the extensions dashboard, I saw the extension `enabled` value is `yes`. Would you mind elaborating more on this?

Thank you.
 
Back
Top