Stephen Burge's Blog, page 71
August 15, 2016
How to Use Stripe and WooCommerce for Point-of-Sale
WooCommerce is the most popular way to build an online store. Stripe is the most popular way to build a point-of-sale solution in many countries. Why not bring the two together?
That's the idea behind the new Square for WooCommerce plugin. This was the most popular requested feature by WooCommerce customers.
Here's an overview of how the Square integration works with WooCommerce.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
That's the idea behind the new Square for WooCommerce plugin. This was the most popular requested feature by WooCommerce customers.
Here's an overview of how the Square integration works with WooCommerce.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 15, 2016 14:40
How to Use Stripe and WooCommerce Together for Point-of-Sale
WooCommerce is the most popular way to build an online store. Stripe is the most popular way to build a point-of-sale solution in many countries. Why not bring the two together?
That's the idea behind the new Square for WooCommerce plugin.
Here's an overview of how the Square integration works with WooCommerce.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
That's the idea behind the new Square for WooCommerce plugin.
Here's an overview of how the Square integration works with WooCommerce.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 15, 2016 14:40
How to Change the Default Language in Joomla
When you create a new install of Joomla, you have to choose a default language.
For example, if you choose English (UK) as default language, your site will use that language in the backend and frontend.
In this tutorial, I'll show you how to change that default. I'll show you how to setup a new language pack in Joomla and set that as the default.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
For example, if you choose English (UK) as default language, your site will use that language in the backend and frontend.
In this tutorial, I'll show you how to change that default. I'll show you how to setup a new language pack in Joomla and set that as the default.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 15, 2016 13:43
August 12, 2016
How to Align Text With a Diagonal Image
One OSTraining customer asked for a way to align text next to a diagonal image, while keeping space between both elements.
My first thought was to add breaklines at specific points of the text, however that didn't work because the site was responsive.
After talking with the customer we came up with a more elegant solution ...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
My first thought was to add breaklines at specific points of the text, however that didn't work because the site was responsive.
After talking with the customer we came up with a more elegant solution ...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 12, 2016 11:20
August 9, 2016
Win a Copy of MySQL Explained and learn MySQL for Free!
Do you use Drupal, WordPress, Joomla, Magento or other PHP software?
If you answered "yes", then you use MySQL.
MySQL is the world's most popular database program and if you build websites, you'll benefit from an understanding of MySQL.
Today we're giving away 10 copies of the best-selling book, MySQL Explained. This book was published 6 months ago, and has been sitting on top of Amazon's listings ever since.
MySQL Explained is a clear, step-by-step guide that will enable you to understand how your data is being stored and give you the ability to design your own custom applications!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
If you answered "yes", then you use MySQL.
MySQL is the world's most popular database program and if you build websites, you'll benefit from an understanding of MySQL.
Today we're giving away 10 copies of the best-selling book, MySQL Explained. This book was published 6 months ago, and has been sitting on top of Amazon's listings ever since.
MySQL Explained is a clear, step-by-step guide that will enable you to understand how your data is being stored and give you the ability to design your own custom applications!
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 09, 2016 13:45
Image Recycle Optimizes Images in Joomla, WordPress and Magento
Many websites have images that much larger and much slower-loading than neccessary.
With the right tool, you can optimize your images so they still look good, but also load much more quickly.
Image Recycle is one of those tools, but it sits directly inside your CMS and makes it really, really easy to optimize images. Here's how it works ...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
With the right tool, you can optimize your images so they still look good, but also load much more quickly.
Image Recycle is one of those tools, but it sits directly inside your CMS and makes it really, really easy to optimize images. Here's how it works ...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 09, 2016 08:31
August 8, 2016
A Beginners Guide to PHP Download Scripts
In this tutorial, I'm going to show you how to write a PHP script that allows downloads.
To allow downloads from a server, you need to write a script that can communicate with it effectively.
PHP is a server-side scripting language and is well-designed for this task, with many versatile tools. I'm going to show you how to power the download using the HTTP header function.
Let's take a look at the HTTP header function. This function is used to send a raw HTTP header to a client:{codecitation}header( string, replace, http_response_code );{/codecitation}
Let's examine the three parts of that function:
string: This is a required parameter and specifies the header string to send.
replace: This is an optional parameter and its indicate whether or not to replace the previous header or add a second header. The default is TRUE which will replace the header, whereas FALSE allows multiple headers of the same type.
http_response_code: This is an optional parameter and forces the HTTP...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
To allow downloads from a server, you need to write a script that can communicate with it effectively.
PHP is a server-side scripting language and is well-designed for this task, with many versatile tools. I'm going to show you how to power the download using the HTTP header function.
Let's take a look at the HTTP header function. This function is used to send a raw HTTP header to a client:{codecitation}header( string, replace, http_response_code );{/codecitation}
Let's examine the three parts of that function:
string: This is a required parameter and specifies the header string to send.
replace: This is an optional parameter and its indicate whether or not to replace the previous header or add a second header. The default is TRUE which will replace the header, whereas FALSE allows multiple headers of the same type.
http_response_code: This is an optional parameter and forces the HTTP...
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 08, 2016 09:16
August 5, 2016
7 New Improvements You'll See in Drupal 8.2
The Beta version of Drupal 8.2 has arrived and is ready for testing.
There are many upgrades to the developer experience, but what changes will end-users see?
Here are 7 improvements that users will see in Drupal 8.2.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
There are many upgrades to the developer experience, but what changes will end-users see?
Here are 7 improvements that users will see in Drupal 8.2.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 05, 2016 13:44
August 4, 2016
There Will Never Be a Drupal 9
Yes, that's a big statement in the title, so let me explain.
Lots of OSTraining customers are looking into Drupal 8 and they have questions about Drupal 8's future. If they invest in the platform today, how long will that invesment last.
This is just my personal opinion, but I think an investment in Drupal 8 will last a long, long time.
Drupal 8 took five years. It was a mammoth undertaking, and no-one in the Drupal community has the energy for a similar re-write.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
Lots of OSTraining customers are looking into Drupal 8 and they have questions about Drupal 8's future. If they invest in the platform today, how long will that invesment last.
This is just my personal opinion, but I think an investment in Drupal 8 will last a long, long time.
Drupal 8 took five years. It was a mammoth undertaking, and no-one in the Drupal community has the energy for a similar re-write.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 04, 2016 06:09
August 3, 2016
How to Validate Field Submissions in Drupal
As OSTraining member asked us how to validate fields in Drupal 8.
In this particular example, they wanted to make sure that every entry in a text field was unique.
For this tutorial, you will need to download, install and enable the following modules.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]
In this particular example, they wanted to make sure that every entry in a text field was unique.
For this tutorial, you will need to download, install and enable the following modules.
[[ This is a content summary only. Visit http://OSTraining.com for full links, other content, and more! ]]

Published on August 03, 2016 07:25