Hello, does anyone know how to get the dispatch for vendor.php? or at least change the vendor dashboard?
Please clarify your question in more details. If you want to change vendor.php
- rename the file
- change the config.local.php file
$config['vendor_index'] = 'vendor.php';
- clear cahce
Thanks for the fast response. For clarification, is there a specific dispatch ID for the vendor dashboard?
For example, you can use
if (Registry::get('runtime.controller') == 'index' && Registry::get('runtime.mode') == 'index' && ACCOUNT_TYPE == 'vendor') { .... }