diff --git a/Makefile b/Makefile index d3308a1f0e04faa16554679fe94758d2e426a77d..6e9f64cb6435d00beaae789aa2de7711e5314242 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BASE=downloads_for_sale PLUGINTYPE=vmcustom -VERSION=0.9 +VERSION=1.0 PLUGINFILES=$(BASE).php $(BASE).script.php $(BASE).xml index.html diff --git a/downloads_for_sale.php b/downloads_for_sale.php index c5c139a6a92c148ae0b2e0c25b3e19ab282c5e1d..07bfd499d720c2f352abf7836710b3d54abbc0bb 100644 --- a/downloads_for_sale.php +++ b/downloads_for_sale.php @@ -1,8 +1,6 @@ <?php defined('_JEXEC') or die( 'Direct Access to ' . basename( __FILE__ ) . ' is not allowed.' ) ; /** - * @version $Id: downloads_for_sale.php,v 1.4 2005/05/27 19:33:57 ei - * * A custom field plugin for downloadable files * @author Reinhold Kainhofer * @package VirtueMart diff --git a/downloads_for_sale.xml b/downloads_for_sale.xml index 72509624af4643a1bfa4ba5d441e20501586fb54..3b325a6518c3f4fc1af3ea5b5af7cf0c948052cb 100644 --- a/downloads_for_sale.xml +++ b/downloads_for_sale.xml @@ -1,18 +1,19 @@ <?xml version="1.0" encoding="UTF-8" ?> -<install version="1.5" type="plugin" group="vmcustom" > +<install version="1.5" type="plugin" group="vmcustom" method="upgrade"> <name>VMCUSTOM_DLSALE</name> - <creationDate>January 26, 2013</creationDate> + <creationDate>2013-02-08</creationDate> <author>Reinhold Kainhofer</author> <authorUrl>http://www.kainhofer.com/</authorUrl> <copyright>Copyright (C) 2013 Reinhold Kainhofer. All rights reserved.</copyright> <license>http://www.gnu.org/licenses/gpl.html GNU/GPL v3+</license> - <version>0.0.1</version> + <version>1.0.0</version> <description>VMCUSTOM_DLSALE_DESC</description> <files> <filename plugin="downloads_for_sale">downloads_for_sale.php</filename> - <filename>downloads_for_sale.script.php</filename> - <folder>downloads_for_sale</folder> - <filename>index.html</filename> + <filename>downloads_for_sale.script.php</filename> + <folder>downloads_for_sale</folder> + <folder>assets</folder> + <filename>index.html</filename> </files> <languages> <language tag="en-GB">en-GB.plg_vmcustom_downloads_for_sale.ini</language> diff --git a/en-GB.plg_vmcustom_downloads_for_sale.ini b/en-GB.plg_vmcustom_downloads_for_sale.ini index c8e1d41d37882e6a22b14f2308104679fe380aab..07c7ed7feb5d4a6574d50fde72964c105c9d4125 100644 --- a/en-GB.plg_vmcustom_downloads_for_sale.ini +++ b/en-GB.plg_vmcustom_downloads_for_sale.ini @@ -4,8 +4,7 @@ ; Note : All ini files need to be saved as UTF-8 - No BOM VMCUSTOM_DLSALE="VM Downloads for Sale" -VMCUSTOM_DLSALE_DESC="Assign a downloadable media file to the product." -VMCUSTOM_DLSALE_USAGE="TODO" +VMCUSTOM_DLSALE_DESC="VirtueMart plugin to assign downloadable media files to products and provide free and paid downloads." VMCUSTOM_DLSALE_INVOICE_LINK="Link type in Invoices" VMCUSTOM_DLSALE_INVOICE_LINK_DESC="Download link type displaye in the invoices and order views." diff --git a/en-GB.plg_vmcustom_downloads_for_sale.sys.ini b/en-GB.plg_vmcustom_downloads_for_sale.sys.ini index 3ca39149bcae2e0d2792768b775d27d1dd3323fe..b1af368262ee0bf4b61541140825a9d7e212df61 100644 --- a/en-GB.plg_vmcustom_downloads_for_sale.sys.ini +++ b/en-GB.plg_vmcustom_downloads_for_sale.sys.ini @@ -4,3 +4,4 @@ ; Note : All ini files need to be saved as UTF-8 - No BOM VMCUSTOM_DLSALE="VM Downloads for Sale" +VMCUSTOM_DLSALE_DESC="VirtueMart plugin to assign downloadable media files to products and provide free and paid downloads." diff --git a/images/downloads_for_sale_-_display_confirmationmail.png b/images/downloads_for_sale_-_display_confirmationmail.png new file mode 100644 index 0000000000000000000000000000000000000000..d3b2e6af78a6af205c8d83826bc1f159b88a3ecc Binary files /dev/null and b/images/downloads_for_sale_-_display_confirmationmail.png differ diff --git a/images/downloads_for_sale_-_display_invoice.png b/images/downloads_for_sale_-_display_invoice.png new file mode 100644 index 0000000000000000000000000000000000000000..ffc6c566ab38386dbe8837ad52ac7731b60c438b Binary files /dev/null and b/images/downloads_for_sale_-_display_invoice.png differ diff --git a/images/downloads_for_sale_-_display_order.png b/images/downloads_for_sale_-_display_order.png new file mode 100644 index 0000000000000000000000000000000000000000..b322da375de507ed87b4469d21b6b23690eebb77 Binary files /dev/null and b/images/downloads_for_sale_-_display_order.png differ diff --git a/images/downloads_for_sale_-_display_productdetails.png b/images/downloads_for_sale_-_display_productdetails.png new file mode 100644 index 0000000000000000000000000000000000000000..94f1e896145cd45358c407c05c7acb589841e346 Binary files /dev/null and b/images/downloads_for_sale_-_display_productdetails.png differ diff --git a/images/downloads_for_sale_-_frontend_01_PaidDownload_hidden.png b/images/downloads_for_sale_-_frontend_01_PaidDownload_hidden.png new file mode 100644 index 0000000000000000000000000000000000000000..142221c2391280ebfade2208f8f1d53b7f4e90c5 Binary files /dev/null and b/images/downloads_for_sale_-_frontend_01_PaidDownload_hidden.png differ diff --git a/images/downloads_for_sale_-_frontend_02_Cart_NoLink.png b/images/downloads_for_sale_-_frontend_02_Cart_NoLink.png new file mode 100644 index 0000000000000000000000000000000000000000..be48d927e00afaae17c41d9268fe2055477924d9 Binary files /dev/null and b/images/downloads_for_sale_-_frontend_02_Cart_NoLink.png differ diff --git a/images/downloads_for_sale_-_frontend_04_OrderConfirmation_Link.png b/images/downloads_for_sale_-_frontend_04_OrderConfirmation_Link.png new file mode 100644 index 0000000000000000000000000000000000000000..0d581284cdb81e0a42807c57907ac8a07f572c14 Binary files /dev/null and b/images/downloads_for_sale_-_frontend_04_OrderConfirmation_Link.png differ diff --git a/images/downloads_for_sale_-_frontend_05_OrderView_Link.png b/images/downloads_for_sale_-_frontend_05_OrderView_Link.png new file mode 100644 index 0000000000000000000000000000000000000000..45fd23308f05ce70579e8c41ea8c5af670f8fb6c Binary files /dev/null and b/images/downloads_for_sale_-_frontend_05_OrderView_Link.png differ diff --git a/images/downloads_for_sale_-_frontend_06_PaidDownload_visible.png b/images/downloads_for_sale_-_frontend_06_PaidDownload_visible.png new file mode 100644 index 0000000000000000000000000000000000000000..14a89af44b6485ca55cc58afb1b86c974bf16c66 Binary files /dev/null and b/images/downloads_for_sale_-_frontend_06_PaidDownload_visible.png differ diff --git a/images/downloads_for_sale_-_installation_success.png b/images/downloads_for_sale_-_installation_success.png new file mode 100644 index 0000000000000000000000000000000000000000..0a9abf83cd96c0bfd2c8652f095f81837bcb39c1 Binary files /dev/null and b/images/downloads_for_sale_-_installation_success.png differ diff --git a/images/downloads_for_sale_-_links.png b/images/downloads_for_sale_-_links.png new file mode 100644 index 0000000000000000000000000000000000000000..b797df3e5da379fc1a76ef59113d7375335725d2 Binary files /dev/null and b/images/downloads_for_sale_-_links.png differ diff --git a/images/downloads_for_sale_-_setup_02_customfield_params.png b/images/downloads_for_sale_-_setup_02_customfield_params.png new file mode 100644 index 0000000000000000000000000000000000000000..b84d7f235db072cea0baf10dd4000c3afc99aa63 Binary files /dev/null and b/images/downloads_for_sale_-_setup_02_customfield_params.png differ diff --git a/images/downloads_for_sale_-_setup_03_customfield_download.png b/images/downloads_for_sale_-_setup_03_customfield_download.png new file mode 100644 index 0000000000000000000000000000000000000000..c5afedf2c56983f8716a5c75f1952f0d5afbb605 Binary files /dev/null and b/images/downloads_for_sale_-_setup_03_customfield_download.png differ diff --git a/images/downloads_for_sale_-_setup_04_mediafiles.png b/images/downloads_for_sale_-_setup_04_mediafiles.png new file mode 100644 index 0000000000000000000000000000000000000000..671c98d001739b37fc961ddb1b092d66d0b75c06 Binary files /dev/null and b/images/downloads_for_sale_-_setup_04_mediafiles.png differ diff --git a/images/downloads_for_sale_-_setup_05_mediafile_new.png b/images/downloads_for_sale_-_setup_05_mediafile_new.png new file mode 100644 index 0000000000000000000000000000000000000000..cb3acb41dfb9977bf0519fd95fced5b60fc791bb Binary files /dev/null and b/images/downloads_for_sale_-_setup_05_mediafile_new.png differ diff --git a/images/downloads_for_sale_-_setup_06_mediafile_new_settings.png b/images/downloads_for_sale_-_setup_06_mediafile_new_settings.png new file mode 100644 index 0000000000000000000000000000000000000000..c8555d09053ab5c521a046ea4caa736523044979 Binary files /dev/null and b/images/downloads_for_sale_-_setup_06_mediafile_new_settings.png differ diff --git a/images/downloads_for_sale_-_setup_07_mediafile_new_uploaded.png b/images/downloads_for_sale_-_setup_07_mediafile_new_uploaded.png new file mode 100644 index 0000000000000000000000000000000000000000..8714199502a8c0fbe7c1c5ed3cd9203f789ea064 Binary files /dev/null and b/images/downloads_for_sale_-_setup_07_mediafile_new_uploaded.png differ diff --git a/images/downloads_for_sale_-_setup_08_mediafile_uploaded.png b/images/downloads_for_sale_-_setup_08_mediafile_uploaded.png new file mode 100644 index 0000000000000000000000000000000000000000..bad055832229a3a666d4a80f9086c1837a084b3f Binary files /dev/null and b/images/downloads_for_sale_-_setup_08_mediafile_uploaded.png differ diff --git a/images/downloads_for_sale_-_setup_09_product_add_field.png b/images/downloads_for_sale_-_setup_09_product_add_field.png new file mode 100644 index 0000000000000000000000000000000000000000..a4c53c16a54d51245bf9d0d190402d0b2c0f964a Binary files /dev/null and b/images/downloads_for_sale_-_setup_09_product_add_field.png differ diff --git a/images/downloads_for_sale_-_setup_09a_product_customfield_no_mediafiles.png b/images/downloads_for_sale_-_setup_09a_product_customfield_no_mediafiles.png new file mode 100644 index 0000000000000000000000000000000000000000..91f6927e963201d8a500860e4717f1cf0ab7e9b4 Binary files /dev/null and b/images/downloads_for_sale_-_setup_09a_product_customfield_no_mediafiles.png differ diff --git a/images/downloads_for_sale_-_setup_10_product_field_saved.png b/images/downloads_for_sale_-_setup_10_product_field_saved.png new file mode 100644 index 0000000000000000000000000000000000000000..f2bf40f1caa607acc9b6e11aee2903da488e7b05 Binary files /dev/null and b/images/downloads_for_sale_-_setup_10_product_field_saved.png differ diff --git a/images/downloads_for_sale_-_setup_11_compact_link.png b/images/downloads_for_sale_-_setup_11_compact_link.png new file mode 100644 index 0000000000000000000000000000000000000000..7c8702cef7728e8f9d9b1a08cc1f83ea8b3026a4 Binary files /dev/null and b/images/downloads_for_sale_-_setup_11_compact_link.png differ diff --git a/images/downloads_for_sale_-_setup_12_full_link.png b/images/downloads_for_sale_-_setup_12_full_link.png new file mode 100644 index 0000000000000000000000000000000000000000..c29f4cf9a9ea3ba079059f9f5733ff744917b93c Binary files /dev/null and b/images/downloads_for_sale_-_setup_12_full_link.png differ diff --git a/images/downloads_for_sale_-_setup_14_disable_cartattribute_pricedisplay.png b/images/downloads_for_sale_-_setup_14_disable_cartattribute_pricedisplay.png new file mode 100644 index 0000000000000000000000000000000000000000..e7f32699eeb3f26c3b16032fd1fe8cf043a4dcc4 Binary files /dev/null and b/images/downloads_for_sale_-_setup_14_disable_cartattribute_pricedisplay.png differ diff --git a/images/downloads_for_sale_-_template_overrides.png b/images/downloads_for_sale_-_template_overrides.png new file mode 100644 index 0000000000000000000000000000000000000000..74a2bea15da9741ae9f173ec4186965b935753f7 Binary files /dev/null and b/images/downloads_for_sale_-_template_overrides.png differ diff --git a/releases/plg_vmcustom_downloads_for_sale_v1.0.zip b/releases/plg_vmcustom_downloads_for_sale_v1.0.zip new file mode 100644 index 0000000000000000000000000000000000000000..7f987c14334be8410ad72229f77fb038a1303f0d Binary files /dev/null and b/releases/plg_vmcustom_downloads_for_sale_v1.0.zip differ