Buy Now
Sign in

Create a file download button in CCv6 listing

momentis , April 12 2018, 13:56
momentis 430
April 12 2018, 13:56 #376980
I have a listing of files available for download. I am using a "link" view to create the full file link. Rather than display a link in the listing, I'd like to have a button for each file for download. How would I go about accomplishing this?

Rick
GreyHead 64
April 12 2018, 17:28 #376983
Hi Rick,
Will the download attribute in the link do the trick (see here )? You can also add CSS to format the link to look like a button.
Bob
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
momentis 430
April 12 2018, 18:04 #376989
Bob,
Thanks for that. However, it is really whole creation of the button itself that I cannot figure out. The LINK view creates the link, but I don't want just a text link. I want a button, and I cannot figure out how to do that. There is SO little documentation of CCv6.
Rick
healyhatman 8
April 13 2018, 01:25 #376993
 1
 Answer
Style the link as a button.
Add "ui button" to the class.
Chronoforms uses Semantic UI, see here for more details.
https://semantic-ui.com/elements/button.html
Web developer at SkySpider.com.au - I DO NOT work for ChronoEngine!
Donations: paypal.me/healyhatman
Professional Work: kamron@skyspider.com.au
Custom CF / CC Plugins and Extensions: skyspider.com.au/store
momentis 430
April 13 2018, 11:43 #377004
Thank you healyhatman! And especially for the link to SemanticUI. I was not aware of that, so that is a tremendous help. I have been using these products for a LONG time, but each time I move to a new version I start the learning process all over again.
Rick