Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Daniel Horn 319 posts 344 karma points
    Apr 19, 2011 @ 13:23
    Daniel Horn
    0

    Different questions

    Hi

    Does this package work with Umbraco 4.7?

    And would it be possible to make this package create a PDF file from the submitted content from a form that then put it in a predefined pdf document?

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Apr 19, 2011 @ 13:32
    Darren Ferguson
    0

    Yes it does work with 4.7.

    You could have a form that create an Umbraco document and then render a PDF from that. The package works against the Umbraco content cache.

     

  • Pieter 19 posts 39 karma points
    Oct 08, 2011 @ 13:39
    Pieter
    0

     

    Hi Darren,

     

    I've imported your package in Umbraco.  I'm using your package olso in combination with uWebshop.  When I'm on the orderoverview page of uWebshop I've made a button export the order overview to pdf.

     

    I've got a problem when everything is good and well organised on the screen and when I'm clicking on the pdf button I'm getting this:

     

    ProductAmountPrice TotalTotalprice€29,00Somother text- todive€29,00 €29,00CustomerFirstname:pieterLastname:testnameStreet:..........................................

     

    Where do I have to look to modify so that I have control (layout) what's exported to the pdf.  I just want to export the content of my page exactly the same and not like above.

     

    Best regards,

     

    Pieter 

     

  • Pieter 19 posts 39 karma points
    Oct 08, 2011 @ 13:52
    Pieter
    0

    Hi Darren,

    I've one extra question: I doesn't when I'm trying to make a simple popup of the generated pdf.  Because I want to stay on the orderoverview page.

    Best regards,

    Pieter

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Oct 08, 2011 @ 14:33
    Darren Ferguson
    0

    Hi Pieter,

    I've not used uWebshop and it isn't related to my package so I can't address specific concerns relating to it. Also, whether or not to open the PDF in a popup is not something controlled or rgeulated by my package.

    The default layout for the package is defined in an XSLT file in the developer section of Umbraco.

    To be honest I don't understand your issue at all - Does uWebShop use Umbraco documents to store order details? Are you just linking to a node using an altTemplate?

    For me to be able to help you - I'll need you to be a lot more detailed about your implementation.

    Thanks.

     

     

     

  • Pieter 19 posts 39 karma points
    Oct 09, 2011 @ 09:34
    Pieter
    0

    Hi Darren,

    uWebshop stores the most order details I need in the db.cmsContentXml tabel in the Umbraco database.  So all order detail are stored in one XML field per row for example:

    <sswsOrder id="8450" parentID="8390" level="7" writerID="0" creatorID="0" nodeType="1110" template="0" sortOrder="1" createDate="2011-10-08T19:02:20" updateDate="2011-10-08T19:02:21" nodeName="NL_ORDER_201110080006" urlName="nl_order_201110080006" writerName="Ismael" creatorName="Ismael" path="-1,1115,1126,1133,1134,8366,8390,8450" isDoc=""><orderNumber>NL_ORDER_201110080006</orderNumber><orderStatusPicker><![CDATA[]]></orderStatusPicker><orderInfo><![CDATA[<?xml version="1.0" encoding="utf-8"?><OrderInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><OrderId>8450</OrderId><OrderNumber>NL_ORDER_201110080006</OrderNumber><Status>Offline_Payment</Status><OrderLines><OrderLine><PricingInfo><PricingId>8303</PricingId><PricingVariants /><Title>Safari joggen</Title><Number>800</Number><Weight>0</Weight><Stock>0</Stock><PriceWithoutTax>€ 19,50</PriceWithoutTax><PriceWithoutTaxWithoutCurrencySign>19,50</PriceWithoutTaxWithoutCurrencySign><Tax>€ 0,00</Tax><TaxWithoutCurrencySign>0,00</TaxWithoutCurrencySign><PriceWithTax>€ 19,50</PriceWithTax><PriceWithTaxWithoutCurrencySign>19,50</PriceWithTaxWithoutCurrencySign><CurrentPriceWithTax>€ 19,50</CurrentPriceWithTax><CurrentPriceWithTaxWithoutCurrencySign>19,50</CurrentPriceWithTaxWithoutCurrencySign><CurrentPriceWithoutTax>€ 19,50</CurrentPriceWithoutTax><CurrentPriceWithoutTaxWithoutCurrencySign>19,50</CurrentPriceWithoutTaxWithoutCurrencySign><ItemCount>1</ItemCount></PricingInfo><ProductId>8296</ProductId><ProductTitle>Actie en Avontuur</ProductTitle><ItemCount>1</ItemCount><OrderlineWeight>0</OrderlineWeight><OrderlineAmountWithoutTax>€ 19,50</OrderlineAmountWithoutTax><OrderlineAmountWithoutTaxWithoutCurrencySign>19,50</OrderlineAmountWithoutTaxWithoutCurrencySign><OrderlineTax>€ 0,00</OrderlineTax><OrderlineTaxWithoutCurrencySign>0,00</OrderlineTaxWithoutCurrencySign><OrderlineAmountWithTax>€ 19,50</OrderlineAmountWithTax><OrderlineAmountWithTaxWithoutCurrencySign>19,50</OrderlineAmountWithTaxWithoutCurrencySign></OrderLine></OrderLines><Coupons /><CustomerInfo><CustomerCountryCode>NL</CustomerCountryCode></CustomerInfo><ShippingInfo><ShippingCountry>NL</ShippingCountry><ShippingProviderId>1139</ShippingProviderId><ShippingProviderTitle>Pickup at store</ShippingProviderTitle></ShippingInfo><PaymentInfo><PaymentModule>PickUp</PaymentModule><PaymentProviderTitle>Pay in store</PaymentProviderTitle><PaymentProviderName>PickUp</PaymentProviderName><PaymentProviderNodeName>PickUp</PaymentProviderNodeName><PaymentProviderMethodName /><PaymentParameterRenderMethod>QueryString</PaymentParameterRenderMethod></PaymentInfo><ShopCountry>NL</ShopCountry><ShopLanguage>nl</ShopLanguage><Alias>NL</Alias><TotalAmountWithoutTax>€ 19,50</TotalAmountWithoutTax><TotalAmountWithoutTaxWithoutCurrencySign>19,50</TotalAmountWithoutTaxWithoutCurrencySign><TotalTax>€ 0,00</TotalTax><TotalTaxWithoutCurrencySign>0,00</TotalTaxWithoutCurrencySign><TotalAmountWithTax>€ 19,50</TotalAmountWithTax><TotalAmountWithTaxWithoutCurrencySign>19,50</TotalAmountWithTaxWithoutCurrencySign><ShippingCosts>€ 0,00</ShippingCosts><ShippingCostsWithoutCurrencySign>0</ShippingCostsWithoutCurrencySign><TotalAmount>€ 19,50</TotalAmount><TotalAmountWithoutCurrencySign>19,50</TotalAmountWithoutCurrencySign><IsDiscounted>False</IsDiscounted><DiscountAmount>€ 0,00</DiscountAmount><DiscountAmountWithoutCurrencySign>0</DiscountAmountWithoutCurrencySign></OrderInfo>]]></orderInfo><shippingStreet>tentoonstellingslaan 12b2</shippingStreet><customerFirstName>pieter</customerFirstName><shippingPostalcode>1000</shippingPostalcode><shippingCity>Myowncity</shippingCity><shippingCountry><![CDATA[BR]]></shippingCountry><customerLastName>dingemans</customerLastName><customerStreet>avenue park lane14</customerStreet><customerPostalcode>1000</customerPostalcode><customerCity>mycityyyyyytest</customerCity><customerCountry><![CDATA[BR]]></customerCountry><customerEmail>[email protected]</customerEmail></sswsOrder>

    When I use your the template PDF XSL FO and put the details orders (a macro is used here) into the body.  I'm getting the following result:

    ProductAmountPrice TotalTotalprice€29,00Somother text- todive€29,00 €29,00CustomerFirstname:pieterLastname:testnameStreet:..........................................

    So my problem here is that I can't control the result for the moment (for example place it in a table or something).  I think it's logical to modify the PDF XSL FO, but it doesn't work for me at the moment. 

    If you've a solution for me ... my client will buy 2 licenses for 2 domains.

    Kinds regards,

    Pieter

     

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Oct 09, 2011 @ 09:40
    Darren Ferguson
    0

    Hi Pieter,

    When you say:

     

    I'm getting the following result:

    ProductAmountPrice TotalTotalprice€29,00Somother text- todive€29,00 €29,00CustomerFirstname:pieterLastname:testnameStreet:..........................................

    I don't understand - is your output PDF? or HTML? Can you post the URL that you are using to link to your PDF? You can't just put the XSL PDF Macro into an HTML template - it needs to be in it's own template and be able to modiy the content headers in order to output a PDF.

    When you say that modifying the XSL "doesn't work for you at the moment" what do you mean?

    FInally, how do you link to the PDF? generally you would just use a link with an altTemplate.

    As I said last time - you'll need to be a lot more detailed about your implementation.

     

     

     

  • Pieter 19 posts 39 karma points
    Oct 09, 2011 @ 10:10
    Pieter
    0

    Hi Darren,

    When I'm on this page http://localhost/nl/basket/customerdata/shippingmethod/paymentchoice/orderoverview.aspx.  The link I'm using is: http://localhost/nl/print-order.aspx ? 

    So the first page is indeed a generated html. 

     

     

  • Pieter 19 posts 39 karma points
    Oct 09, 2011 @ 10:27
    Pieter
    0

    Hi Darren,

    To give more info... I've tried also this.   I've have an orderoverview page with two macro's added.   

    Macro (Module) on page

    Macro:

    Remove Macro

    Macro:

    Macro Settings Show/Hide

    Next Order Process Node

    OrderConfirmation Delete Choose...

     

  • Darren Ferguson 1022 posts 3259 karma points MVP c-trib
    Oct 09, 2011 @ 10:31
    Darren Ferguson
    0

    Please post a link to the template you are using for print-order.aspx or post it here.

    Thanks.

     

Please Sign in or register to post replies

Write your reply to:

Draft