directy VIP
Total posts: 51
17 Aug 2014 17:30

Hi, is there a way to show a download button instead of a download link with the upload field? thanks Marco


pepperstreet VIP
Total posts: 3,837
17 Aug 2014 23:15

Hello directy, do you mean the style of the download link/filename?

A.) either by CSS. Try to target the specific element. You may also add an additional custom CSS class in field parameter. The default output is a definition list and a simple unordered list inside. Each download is a new LI element.

B.) copy default field output template... rename it to something like "default_button.php". Add code or custom classes to the link tag. Maybe use "bootstrap" button styles?! Select your button template in respective field parameters (full or list view).

Field output template is located here: YourJoomla/components/com_cobalt/fields/uploads/tmpl/output/

Powered by Cobalt