Hi All,
Almost every time when customers are coming to me with their problem like "your module doesn't work, refund my money!" the problem appears in their site cache system: 80% of customers don't even know what is it, where is it and how to use it. By cleaning cache everything starts working in 99% of cases. But by this time you already have bad reviews on your modules just because your customer doesn't know anything about the cache and how to install modules at all...
Now....
Dear Boonex! Some time ago there was a lot of requests on how to make Dolphin better. And also countless requests to keep cache system OFF from the beginning in Dolphin package. Is it so difficult to do? This cache system causes 99% of the problems of modules installation and headaches if customer doesn't know how to use it, so why to not keep it OFF from the beginning? Or why to not clean it automatically after a module installation?
The module install is able to clear the cache. I do it in required areas of all of my modules. Perhaps you do not have it configured properly. I have no issues with my modules clearing the cache after install.
Check your modules config.php. Look for this section.
This is an example from one of my modules.
/**
* Installation/Uninstallation Section.
*/
'install' => array(
'check_requirements' => 1,
'check_dependencies' => 0,
'show_introduction' => 1,
'change_permissions' => 1,
'execute_sql' => 1,
'update_languages' => 1,
'recompile_main_menu' => 0,
'recompile_member_menu' => 0,
'recompile_site_stats' => 0,
'recompile_page_builder' => 1,
'recompile_profile_fields' => 1,
'recompile_comments' => 0,
'recompile_member_actions' => 0,
'recompile_tags' => 0,
'recompile_votes' => 0,
'recompile_categories' => 0,
'recompile_search' => 0,
'recompile_browse' => 0,
'recompile_injections' => 1,
'recompile_permalinks' => 1,
'recompile_alerts' => 1,
'show_conclusion' => 1,
'recompile_global_paramaters' => 1,
'clear_db_cache' => 1,
),
'uninstall' => array (
'check_dependencies' => 0,
'show_introduction' => 0,
'change_permissions' => 0,
'execute_sql' => 1,
'update_languages' => 1,
'recompile_main_menu' => 0,
'recompile_member_menu' => 0,
'recompile_site_stats' => 0,
'recompile_page_builder' => 1,
'recompile_profile_fields' => 1,
'recompile_comments' => 0,
'recompile_member_actions' => 0,
'recompile_tags' => 0,
'recompile_votes' => 0,
'recompile_categories' => 0,
'recompile_search' => 0,
'recompile_browse' => 0,
'recompile_injections' => 1,
'recompile_permalinks' => 1,
'recompile_alerts' => 1,
'show_conclusion' => 1,
'recompile_global_paramaters' => 1,
'clear_db_cache' => 1,
),
Set 1 to enable 0 to disable. If your module needs it, set to one. For example.
recompile_page_builder if set to one will recompile the cache files for page blocks.
clear_db_cache set to one will clear the db cache.
recompile_main_menu set to 1 will clear the main menu cache.
Ect. My guess is you do not have this properly configured in your module.