Jump to content

Marco Angeli

Members
  • Posts

    119
  • Joined

  • Last visited

Posts posted by Marco Angeli

  1. Hi fruid,

    Quote

    Also, is there an alternative shopping module to snipcart because my requirements are very primitive. Just buying a product, no insights, no stats, no fancy stuff like "clients also bought" and whatnot. Really just a shopping cart, enter shipping and billing address and then checkout with paypal. Maybe a confirmation email. 

    If your requirements are more basic you can always use snipcart with their default Dashboard. There's a good tutorial here:

    https://snipcart.com/blog/processwire-ecommerce-tutorial

     

    • Like 1
  2. hey zoeck, thank you for the feedback.

    I finally resolved the issue: I installed the module by uploading the zip file: that didn't work. Then I uninstalled everything and followed the instructions:

    I created a folder named "FieldtypeLeafleftMapMarker" with everything inside and that worked.

    Thanks again.

  3. hey zoeck,

    thanks for the suggestions.

    On my html I've got this code:

    <link rel="stylesheet" type="text/css" href="/site/modules/FieldtypeLeafletMapMarker/assets/font-awesome-4.6.3/css/font-awesome.min.css">

    but there's no FieldtypeLeafletMapMarker folder inside my module directory.

    Instead I have MarkupLeafletMap folder with all the assets inside...

    very strange.

    I'll investigate further...

  4. Hi everybody,

    I'm using the dev-version, sans google api with ProcessWire 3.0.123 but unfortunately my map doesn't appear (blank div on the page): http://processwire.marcoangeli.net/about/

    here are my settings:

     

    _init.php

    $map = $modules->get('MarkupLeafletMap');


    _head.php

    <?php echo $map->getLeafletMapHeaderLines(); ?>
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>


    basic-page.php

    echo $map->render($page, 'map');

     

    Do I miss some basic setting?

     

    Thanks!

     

     

     

  5. well...solved!

    my .htaccess file on dev at the very end of the page (after the processwire directives)

    #################################################################################################
    # END PROCESSWIRE HTACCESS DIRECTIVES
    #################################################################################################

    had this little code that caused the issue:

    RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]

    I deleted it and now I'm feeling better...

    ?

    • Like 1
  6. Hi there,

    I migrated my site from dev to live server. Copied all files in the new location, transferred MySQL db from dev to live.

    The site works properly, but the images not.

    Even the processwire logo in control panel is not visible: is it something related with files permissions?

    Is there an easy way to solve this issue?

    EDIT: if I update a page via control panel, adding a new image, the thumbnail is blank...

  7. Hey guys,

    thanks for pointing me to the PW htaccess code. I wasn't aware of it.

    Anyway that code is a bulk redirection of all existings http urls to to the home page. I would avoid it for seo reasons. I found many advices that suggest to redirect the single http page url to the equivalent https page url.

    For example, if I needed to redirect the about page:

    Redirect 301 /about https://www.mysite.it/about

    Unfortunately that code doesn't work in the default .htaccess file  (Too many redirects error), and I don't know why.

    Maybe some of you already found a solution?

  8. Hi there,

    I added a ssl certificate to my site and I'd like to redirect every single http url to its new https version

    So I added this code in the .htacces file, after the RewriteEngine On :

    Redirect 301 /about https://www.mysite.it/about

    Unfortunately this is now working: I get the "too many redirects" error.

    The following code works, but it's a bulk redirection to the home page, something I don't want for SEO reasons (https://moz.com/blog/save-your-website-with-redirects?

    RewriteCond %{HTTP_HOST} mysite\.it [NC]
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://www.mysite.it/$1 [R,L]

    Any suggestions?

  9. Hey there,

    anyone having problems with paypal redirection? After payment with paypal, customer is not redirected to my site.

    I try to replicate the steps with my paypal sandbox:

    1. I add a product to shopping cart
    2. on checkout page I choose paypal method (already selected)
    3. I access paypal with my fake customer account and pay
    4. message saying "payment completed" appears
    5. I'M NOT REDIRECTED TO MY DEMO SITE (http://padloper.marcoangeli.net/return)

    My browser's url is the following:

    http://padloper.marc...yment/?failure=

    and the message in the body: The page isn't redirecting properly

    Strange behaviour, because I set my paypal facilitator account (seller) with apeisa's info (https://www.padloper...157/capture.jpg).

    On paypal sandbox is all OK: money is transferred from customer to seller.

    On Padloper the new order is missing; furthermore the item's quantity remains the same.

    Any suggestions?

  10. hi apeisa,

    I'm really interested in Padloper, I think it has great potentiality.

    I am looking forward replacing invoice mode with separate Invoice payment module soon.

    Could you please tell me what does it mean soon to you? :) I'm testing Padloper, but as you know clients want work to be done for yesterday...

    Also, it would be a GREAT thing to have pdf invoice sent to the client after purchase. When could it be implemented?

    Last thing: what do you recommend? I'm on a demo site. Should I uninstall Padloper and related modules and reinstall the new version or go for an upgrade?

    Thanks apeisa!

  11. Hi apeisa,

    just testing with a fresh install (pw 2.7.2) but I think I made something wrong... I'm stuck at point 5 of "installing padloper": adding checkout process

    here's the error message on my checkout page:

    Error: Exception: Method PadOnePageCheckout::setInvoiceMode does not exist or is not callable in this context (in /home/marcoang/public_html/pwshop/wire/core/Wire.php line 358)
    
    #0 [internal function]: Wire->___callUnknown('setInvoiceMode', Array)
    #1 /home/marcoang/public_html/pwshop/wire/core/Wire.php(398): call_user_func_array(Array, Array)
    #2 /home/marcoang/public_html/pwshop/wire/core/Wire.php(333): Wire->runHooks('callUnknown', Array)
    #3 /home/marcoang/public_html/pwshop/wire/core/Wire.php(337): Wire->__call('callUnknown', Array)
    #4 /home/marcoang/public_html/pwshop/wire/core/Wire.php(337): PadOnePageCheckout->callUnknown('setInvoiceMode', Array)
    #5 /home/marcoang/public_html/pwshop/site/templates/checkout.php(13): Wire->__call('setInvoiceMode', Array)
    #6 /home/marcoang/public_html/pwshop/site/templates/checkout.php(13): PadOnePageCheckout->setInvoiceMode(true)
    #7 /home/marcoang/public_html/pwshop/wire/core/TemplateFile.php(182): require('/home/marcoang/...')
    #8 [internal function]: TemplateFile->___render()
    #9
    

    I'm using this code in checkout.php (not using delayed output):

         $checkout = $modules->get("PadOnePageCheckout");
         $checkout->setInvoiceMode(true); 
         $checkout->setShippingModule("ShippingFixed"); 
         echo $content = $checkout->render(); 
    		
    

    Also, in point 7 (Customizing the customer information) you state: "Go into template => padorder"...but there's no padorder template in my install. I only have padshipping and padshipping_rate (and, of course, basic-page, checkout, home)

    Any suggestions?

    Thanks!

×
×
  • Create New...