I was recently using cPanel to password protect a directory on a website. It was all point-click, so should have been simple and just work, except it didn’t. After entering your login credentials, the server would return an error instead of giving you access to the directory contents: Error 500: Internal Server Error By password […]
Archive | development
WooCommerce – Some Pending New Plugins
I have a number of small customisations for WooCommerce that I have done for a couple of clients. These are customisations that could possibly be of use to others, and can be installed as a plugin. Depending on demand, I may release them, but it really does depend on demand. Here is a summary. If […]
Laravel Multipart Registration and Reminder Emails
Laravel 4 comes with a password reminder and registration interface. The interface sends out reminder emails with unique tokens, so that the application can confirm the user trying to recover their password does have access to the email address they claim is theirs. Using the interface is easy. To recover a password, an anonymous user […]
Laravel 4 – moving uploaded files
Note: This article was written for Laravel 4.x and now very outdated. Please see the comments below for recommendations on other resources you can use for later versions of Laravel. When handling uploaded files in the controller, there is a point where the file needs to be moved to its final destination. Unusually for Laravel, […]
Google Web Fonts API – categories and subsets
Each font provided by the Google Web Fonts API is in a category, and comes in a variety of one or more subsets. The category provides a broad grouping of the fonts into styles. These are the categories: Sans Serif Display Serif Handwriting Each font will appear in just one of these categories. When you […]
REST API Library for SugarCRM
I’m working on this library for a couple of projects, and it may be useful if you want to talk to SugarCRM from your PHP application: https://github.com/academe/sugarrestapi The library contains access to all of SugarCRM’s REST API functions (V4, so far) and attempts to wrap the Sugar data up into a number of models (Entry, […]
Google Webfonts for Woo Framework
Bradley Charbonneau has put together a video that demonstrates this plugin in action. Thanks Bradley 🙂 WooThemes are a big WordPress theme provider. They have taken the lean approach of releasing themes that fit the needs of a lot of people, but may be rough around the edges, but work enough. Constant updates then fill […]
PHP Design Patterns
Some great examples here: github.com/domnikl/DesignPatternsPHP Sometimes it is difficult to get a handle on the implementation of a design pattern, no matter how many times you read the theory. This repository is a collection of some practical examples of what they look like. Being a github repository, if you want to add to the list, […]
SugarCRM: relate field passing default values to pop-up select form
Note: This article needs some pictures, which I will do in good time. These are notes on how to set up a pop-up select form on a relate field in SugarCRM 6.5 to default to a value from the parent form. So for example, you have a module Job Applications, and each application is made […]
SugarCRM Module Builder – Deploying A Module Craps Over Other Modules
The bugs and limitations in SugarCRM Module Builder are infuriating, and the support that the company provides (and I don’t mean free one-to-one support) is appalling. I am finding that building more than one module at the same time in Module Builder is a big no-no. When you deploy a module, it will remove some […]