Jump to content

benbyf

Members
  • Posts

    796
  • Joined

  • Last visited

  • Days Won

    6

Posts posted by benbyf

    • Get enquiry, chat to them about options (and whether they actually need a custom website and not squarespace or the like (I hate making boring websites))

    Make quote

    if accepted: issue invoice and get 20% up front

    Work on design and build

    Host myself on a shared server or on clients server.

    Pay remainder

    See if they want a service agreement for future tweaks or upgrades

    • Like 1
  1. Pretty easy in jquery and I've done it on this site: http://ciaraphelan.com/

    Pretty much just add an event listener to scroll and when the scrollY is over a certain amount you trigger something (and trigger it back for less than that number).

    I wrote this a while ago so you might be able to do something more succinct:

    $scroll = 0;
    
    $(window).on('scroll', function(e) {
      
      if(window.innerWidth >= 768){
      
        if(window.pageYOffset >= 300){ // desktop menu collapse
          
          // do something
          
        }else if(window.pageYOffset <= 299){
        
          // do something back
          
        }
      }
    }); 
    
    • Like 1
  2. Unfortunately the site has been handed off to my client and I've been trying to advise her - the image sizes seem to be causing her issues and she's yet to make any blog posts. (tired to make it simple as possible)

  3. caching help? As pages can be got directly or via ajax Im having massive caching issues (as it wont work with ajax), anyone have any solutions they can direct me too?

    Currently a page template is if'ing in ./head and ./foot if not ajax so that I'm only grabbing page content instead of all the page resources etc. But, obviously to me now, I'm unable to caching any of the pages with ajax on them as they get served without the head and foot as the ajaz version is more likely to be cached. interesting problem.

  4. ok,  just found the definitions in the config and commented them out for _init and _main. I would still love to see how these are being used to create templates though as I don't usually work this way (but I've seen this sort of thing before in the Ryans Blog template)

  5. Just upgraded a site from 2.4 to 2.5.2 and found all my styling going crazy and half teh site being included again.

    I found the new _main.php files in the templates causing the issue, anyway of turning this file off or by passing it as it works on the old 2.4 themeing way. And is there any information on the use of these new themeing files and why they're there?

    Thanks

  6. hey guys, im using Pages2Pdf v1.0.1 and its been great as far, I have two questions:

    echo '<table>';
      foreach($images as $image){
        $imageSmall = $image;
        echo '<tr><td><img id="'. $image->basename . $image->created .'" src="'. $imageSmall->url. '" /></td></tr>';
      }
    echo '</table>';
    
    <style>
    .head {
    	font-family: Times;
    	font-weight: bold;
    	font-size: 13pt;
    }
    table{
    	text-align: center;
    	vertical-align: middle;
    	padding: 0;
    	width: 100%;
    }
    img{
    	margin: 0 auto;
    }
    </style>
    
    • Is there a way of bypassing the cache and making a request for a new pdf everytime? so that it creates a pdf with a timestamp maybe?
  7. Thanks everyone, an image is still a hard won problem, especially when your not restricting the client in their uploads to much. Will look harder into this, but still loathed to use polyfills for images.

    Really nice and clean website here, top notch photos everywhere!

    May I ask you to point us (at least me) in the right direction to use requests and pushstate with processwire?

    Thanks!

    I was thinking about writing a lengthy description / tutorial on this site, as there's loads in it after it's live. I'll endeavour to do so after your interest.

    • Like 6
  8. Hey Everyone!

    right I'm nearing the end of development on this photography agencies site and I was wondering if anyone could have a quick look for bugs etc.

    http://nicegrp.co.uk/dev/hs/

    It's not quite finished so there may be obvious stuff, also there's ALOT, going on in the front end, for example:

    - pages are cached client side (to prevent unnecessary ajax requests for seen pages)

    - Ajax page requests & pushstate

    - pdf module for gallery pages

    - slideshow animations

    - add image to your custom gallery

    - alot of menu logic

    - responsive

    - lazy loading images on gallery pages

    Let me know what you think.

    Thanks

    • Like 10
  9. looking to create a shop site soon and was wondering whether I should hold fire after all the activity here recently if the the PW shop module is going to get superseeded. i need Stripe payment and multi-postage modules sp would it be worth making them for teh new system or go for it now??

    Thanks

  10. may have found a bug: the module settings doesnt seem to allow L instead of P for the orientation, I ended up changing the module defaults to do it - all other fields seem to validate fine.

    • Like 1
  11. Thanks @soma the url segmentation sorted it.

    Your right, as a seasoned html/css/js designer/dev I usually rely on the docs for modules as I've as yet not created one myself and had good experiences with some fantastic modules. This one is ace and hopefully I'll be able to add to the project once I've created my first shop, I also hope to create a StripPayment option too as it would be my favoured payment system. I think the thing that confuses me most about this project is how the different modules relate and how they should be used together and what methods are available to me - a cheat sheet might be useful for modules with lots of template methods maybe?

    I have successfully created and paid for an item on my dev shop so will endeavor to feedback my experience creating a published eShop once it's finished. Thanks again.

  12. Ok, so I got as far as adding an item, viewing my cart, checking out and then not sure what should be on the /checkout/confirmation page after putting in my details, i've installed the paypal module.

    Literally no idea how I'm supposed to add the paypal payment system. any help would be amazing.

×
×
  • Create New...