Trending
Heat Index
Web
Most Recent
 
Read More
April 5, 2022

Change a letsencrypt SSL certificate to a webroot renewal instead of spinning up a standalone server.

When you first use letsencrypt, or certbot, to add an SSL certificate to a Ubuntu or other linux flavour server it will often install the certificate as a standalone certificate. This could have been because of the guide you followed in the past or you may have an old server that you administer that has standalone certificates in place.

Standalone certificates specifically spin up their own web server in order to check the domain and run through the challenges and install the certificate. This can cause issues when another web server such as Apache or Nginx are already running on port 80 (http) and mean more complex renewal processes need to happen where Nginx needs to be [...]

52
 
Read More
January 25, 2022

Converting Formidable Forms date to a Unix Timestamp

Formidable Forms is a great WordPress plugin that provides a simple yet powerful UI for creating forms. It is now the only form plugin we use on our sites.

One of the main features we utilise Formidable forms for is its capability to send API data to any external source.

This is particularly useful for when certain products or, in our case, CRM systems do not have specific actions built into their current “integrations” or plugins.

One recent project required that we use Formidable forms to send a date to an external CRM API to update a date field.

So we setup the Send API Data action to send the resulting date field to the external CRM [...]

244
 
Read More
July 23, 2020

Quick and easy datatables with jquery

You want a nice looking, easy to use, table to display some data.

You can spend some time custom coding the table with various sorting functions and perhaps hiding the odd column but that’s all done for you already. Using Jquery Datatables.

I will show a couple of quick examples on how I now use the datatables Jquery plugin to quickly be able to control various functions of the table to make it simple and easy to use.

First off you include the two required files, A Css file and a JS file.

//cdn.datatables.net/1.10.21/css/jquery.dataTables.min.css //cdn.datatables.net/1.10.21/js/jquery.dataTables.min.js

Then you can just include one piece of js code [...]

388
 
Read More
May 24, 2020

Redirect Nginx Magento front end to new website while maintaining admin access on old website

I had a client who wanted their old Magento based site to redirect all front end users to their new domain while still maintining admin access so they could continue to use their Amazon integration for managing orders and stock.

This is actually fairly straightforward with Nginx but needs a couple of entries to ensure it works.

You will have an entire nginx conf file for this site but qwe will just be modifying the following line

location / { try_files $uri $uri/ /index.php?$args; }

This line usually just sends all requests to be processed by php and we want to change that so that all instead redirected to the new domain

We do this by changing this [...]

62
Latest Headlines
 
 
 

Trending Topics
Web
Python
Flask
Uncategorized
valve
sqlalchemy
Jquery
wordpress
Tech
Top Stories
 
 
 
 
 
 
 
 
Right Now
 
 
 
 
 
 
Top Five
Heat Index
 
1
How to use Blueprint static folders correctly in Python – Flask
 
2
How to forward emails to Freshdesk correctly in Office Exchange 365
 
3
Hass.io Homeassistant Rfxtrx setup for LightwaveRF Devices
 
4
Nginx proxy caching with multiple php pools and WordPress
 
5
Python Flask SQLalchemy Mixins at the end of existing columns