CM Download (CMDM) - Theme - Changing the CMDM Display Template
Theme - Changing the CMDM Display Template
The CM Download Manager plugin allows you to change your theme while you continue to upgrade to newer versions of the plugin.
To do this, you need to have some basic HTML/PHP knowledge in manipulating template files.
First, create a sub-directory named “CMDM” in your current template directory.
Inside this sub-folder you can place the directory structure, similar to the one that is inside the plugin folder “cm-download-manager/views/frontend/”.
Important: copy only those files which you want to modify and override.
Then go to the plugin settings General tab and enable the option "Support template overriding by theme dir: Yes".
Once CM Download Manager finds your CMDM sub-directory inside your template directory, it will be given priority over other files stored in the plugin directory under “cm-download-manager/views/frontend/”.
If you would like to change the look and feel of the plugin or if you want to incorporate it into your custom theme, start by editing one of the following files: index.phtml (for an Index of all downloads) or single.phtml (for download page).
Both files can be found inside the “CMDM/cmdownload” folder.
Notice: view files are often updated in the plugin releases so you need to compare the changes with your modified files in the theme directory after every plugin update.