Scenario:
In cPanel Softaculous icon is not listing in some cPanel themes.We are here trying to explain how to resolve this
NOTE : This is applicable for cPanel earlier versions (<11.44.x) which had Paper Lantern themes.
Some themes like Paper Lantern in cPanel will not show Softaculous for Softaculous < 4.4.5
Step 1 : Edit the index.html of respective theme and add the following code.
<!--Softaculous --><script src="softaculous/index.live.php?act=top"></script><!-- Softaculous -->
Theme directory Location
cPanel theme directory is located at : /usr/local/cpanel/base/frontend/<THEME NAME>
Step 2 : Copy the dynamicui_softaculous.conf file from default x3 theme’s dynamicui directory to new theme’s dynamicui directory.
cp /usr/local/cpanel/base/frontend/x3/dynamicui/dynamicui_softaculous.conf /usr/local/cpanel/base/frontend//dynamicui/dynamicui_softaculous.conf
This will create a link to Softaculous in the theme.
Step 3 : Add a symlink to softaculous in themes directory.
ln -s /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/enduser /usr/local/cpanel/base/frontend//softaculous
Step 4 : Unregister and Re-register Softaculous plugin.
/usr/local/cpanel/bin/unregister_cpanelplugin /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/softaculous.cpanelplugin /usr/local/cpanel/bin/register_cpanelplugin /usr/local/cpanel/whostmgr/docroot/cgi/softaculous/softaculous.cpanelplugin
If the plugin is not specified, above command will Un-register / Register all available plugins.
Now Softaculous should appear in the theme ð