I had this problem when I did my PPL back in 1993 - the trick I found was both a flexible nearby flying school and a tolerant boss. I persuaded my boss to allow me to run off for lessons whenever the weather was good, and catch up with the leave paperwork at the end of each month - I did it in months rather than years, but weeks in the UK is going to require more luck than anything else.
G