I have override the select block “admin_module_config_var_type_select” (module_config.tpl) in my custom module but it’s affected for other modules too.
Could anyone please provide the feedback/suggestion to handle only for our custom module.
you can access the selected Module in the $oModule variable, so you can check its ID and serve your own content if selected module id equals your module’s id.
[{if $oModule->getInfo('id') === "my_module"}]
your custom html
[{else}]
[{* all other modules get default block content *}]
[{$smarty.block.parent}]
[{/if}]