amitmodak89 / magento-w2p

Automatically exported from code.google.com/p/magento-w2p
0 stars 0 forks source link

File download setting #491

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
We need to add another parameters to our custom settings to allow users 
download files regardless of ZP template setting.

If the custom setting is on the user can download the output files just as they 
can with ZP template "allow download" setting - all output files other than CDR.

Original issue reported on code.google.com by zetapri...@gmail.com on 24 Mar 2011 at 5:04

GoogleCodeExporter commented 8 years ago
Diffs: http://code.google.com/p/magento-w2p/source/detail?r=1477
Wiki: CustomOptions_AllowFileDownload

Original comment by Anatoly....@gmail.com on 25 Mar 2011 at 6:29

GoogleCodeExporter commented 8 years ago

Original comment by Anatoly....@gmail.com on 25 Mar 2011 at 6:34

GoogleCodeExporter commented 8 years ago
Just post a sample of XML here.

Original comment by zetapri...@gmail.com on 25 Mar 2011 at 8:20

GoogleCodeExporter commented 8 years ago
Sample XML:

<config>
  <webtoprint>
    <file-download>
      <users allow="1" />
    </file-download>
  </webtoprint>
</config>

Original comment by Anatoly....@gmail.com on 25 Mar 2011 at 9:08

GoogleCodeExporter commented 8 years ago
Plese, test it with 1.8.4.0beta1 release.

Original comment by Anatoly....@gmail.com on 25 Mar 2011 at 10:34

GoogleCodeExporter commented 8 years ago
Tested on /mageimage/
web_to_print_store_incl_theme   1.8.4.0beta1 (beta)

- Set download options to "Deny" for these templates in w2p portal:
http://cname.zetaprints.com/?page=template;TemplateID=EAC50899-D745-4669-80D8-D9
3D1E2F99EE
http://cname.zetaprints.com/?page=template;TemplateID=079D7045-6979-4365-9B06-D6
EEDCEEA0E4

For these M products:
http://ec2-174-129-95-130.compute-1.amazonaws.com/mageimage/index.php/magentot-0
2/remax-3img.html
http://ec2-174-129-95-130.compute-1.amazonaws.com/mageimage/index.php/magentot-0
2/text-img-01.html

- Ran Template Sync profile,
- placed an order = no links to output files.
- Uploaded custom-options.xml file
- placed order on same templates - got links to outputs
----------------------------
Test OK

Question:
This feature has a retroactive effect. The config file changes do not effect 
future orders only but orders placed in the past as well. If the value is set 
to:
<users allow="1" />
All orders (old and new) have output file download enabled.
Even if this is how it should work, might be a good idea to mention it in the 
Wiki.

Original comment by agur...@gmail.com on 25 Mar 2011 at 2:19

GoogleCodeExporter commented 8 years ago
Mentioned in CustomOptions_AllowFileDownload
Also note was added to scheme file.

Diff: 
http://code.google.com/p/magento-w2p/source/diff?spec=svn1487&r=1487&format=side
&path=/trunk/app/code/local/ZetaPrints/WebToPrint/etc/custom-options.xsd

Original comment by Anatoly....@gmail.com on 25 Mar 2011 at 7:53

GoogleCodeExporter commented 8 years ago

Original comment by agur...@gmail.com on 28 Mar 2011 at 9:45

GoogleCodeExporter commented 8 years ago

Original comment by zetapri...@gmail.com on 28 Mar 2011 at 10:35

GoogleCodeExporter commented 8 years ago
Made a help post for this as well, although was not marked Help-X. I figured it 
should have a separate instructions post since we're introducing the custom 
options file and this is involved.
http://www.zetaprints.com/magentohelp/override-file-download-permissions/

Original comment by agur...@gmail.com on 14 Apr 2011 at 7:28