Thread: Custom Layout
View Single Post
  #2  
Old 10-23-2017, 10:18 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default Re: Custom Layout

You can replace the standard module settings page with a custom one:
1. Add necessary controller and widget classes
2. Return the URL to the custom settings page in your module's Main.php file as follows:
PHP Code:
public static function getSettingsForm()
    {
        return \
XLite\Core\Converter::buildURL('YOUR_PAGE_TARGET''', [], \XLite::getAdminScript());
    } 

Another solution is creating your custom FormField classes that display your custom HTML code.
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote