How to make your WAMP runs faster in Windows10

|

I have been using WAMP for years. Sometimes I notice the web page loads slower than the same web page on the internet. So I did research on the internet and found out for my case, I just need to … Read More

My Favorite Visual Studio Code Extensions

|

I have been using the visual studio code since 2016. The cool features that I like the most is the outline code. It is very useful when I develop the complex application or website. Other extensions that I often use, are … Read More

How to change the default drop-down box on iPhone

|

When you are working on the responsive design. You want your design works well across all devices. Today I will share how to change the default dropdown box on the iPhone.   HTML <select> <option value=”Apple”>Apple</option> <option value=”Samsung”>Samsung</option> <option value=”Huawei”>Huawei</option> … Read More

How to send an email via WAMP on your localhost

|

When I develop the email function on my localhost, I like to use the Gmail account for sending an email from my localhost. It is convenient and easy to set up. Today, I will share my method with you how to … Read More

Redirect the old URL to new URL in WordPress

|

It is common that your clients want to change the slugs for the different reasons. When the slug of the page changes, the old URL will return 404 error. Normally, we will redirect the old URL to the new URL … Read More

Remote Debugging On Android Devices From Windows

|

Sometimes, you have a style issue that occurs on the real mobile device only. If you were developing the site on the PC, it is easy to use the inspection tool that comes with the browsers. But for the real … Read More

Add a MailChimp Signup Form to Your Website

|

A few days ago, I got a request to add the signup form from MailChimp to the WordPress site. There are four fields in the form which are first name, last name, phone number, and email. All fields are required. … Read More

How to add the links inside the select box

|

We all know that we can not add the links inside the <option> in the select box. Today I gonna share one simple trick with pure javascript.   Let’s say you want to add the links inside the <option> like … Read More

How to increase the maximum file upload size in Multisite WordPress Network with WHM

|

Today I gonna share how to increase the maximum file upload size in Multisite  WordPress Network with WHM.   WHM What is WHM? WHM stands for WebHost Manager. WHM provides administrative control over your dedicated server or VPS. You can manage … Read More

How to trigger a click on a link using jQuery

|

Today I am working on some small tasks. It should not take long. But I stuck on one issue for a while. Here is what I am trying to do.   I have the page link list that is generated by … Read More

Thai Retirement Visa

|

Today my husband went to apply for the Thai retirement visa at Chiang Mai immigration office at Promenada. The office opened at 8.30 am but we saw many people get in the line when we arrived. We got the latest queue … Read More

I can not access to WP dashboard after migration

|

Today I am working on one WordPress project. The site is very simple. No extreme plugins are on the site. What I did, I just migrate the database (using WP Migrate DB plugin) and transfer all WP files to my … Read More

Multiple grids on one page in Yii2

|

Recently I upgrade my application and I add two Gridview widgets on one page. Everything seems working fine until I notice the pagination of all Gridview widgets won’t work properly. There are two issues that I found.   Issue #1 … Read More

TM30 – report to immigration within 24 hours

|

Lately, if you are the house or condo owner and you have the foreigners stay in your properties, you must report the immigration within 24 hours. If not, you will be fine 1,600 baht. Here is the document you need. … Read More

How to get Thai motorcycle driver’s license in Chiang Mai

|

In Chiang Mai, the best way to get around in the city is using the motorcycle. If you have NON-O visa (NON-Immigrate visa), you can apply for the driver license.   Here is the document you need for apply Passport Copy … Read More

WordPress VS Modx

|

Before you read this post, I want to say the post is my opinion. Some people may think differently from me.   I started to use Modx in 2009. It was fast learning and developing. You can transfer the HTML … Read More

How to get a residence certificate in Chiang Mai

|

My husband is a foreigner and he wants to get a motorcycle driver license in Chiang Mai. Before he applies for a driver’s license he needs to get a residence certificate first. Since we rent a condo, the landlord must … Read More

SASS, CSS framework and Task runners

|

Many years ago, I worked with a web designer. What she did, she designed and created the templates for the web applications and gave to the developers to integrate into the web application. At that time, I never used CSS … Read More

Upload file won’t send to backend with Ajax

|

Sometimes you create a form by containing the file input field(such as upload image file) and other text input fields. And you want to send all form data to the backend using Ajax. But you find out the only the … Read More

Global search box in grid view widget in Yii2

|

One feature that the users like, is the global search. With CRUD from gii module, the index.php comes with filters for each column in grid view. The attribute calls filterModel. It is good and it is working perfectly. But it … Read More

Ajax validation in Yii2

|

Yii version 2.0.13.1  When you are working on a form validation, sometimes it is better for the users if you do the Ajax validation on a form. This way, users will get the warning message after they fill in each … Read More

VScode and XDebug

|

Visual Studio Code version 1.19.3 Recently I change my developing tool from NetBeans to VScode(Visual Studio Code). The main reason is, VScode is faster. Plus I can integrate the XDebug extension to VScode easily. Here I will share with you how … Read More

Override delete confirm dialog in Yii2

|

Yii version 2.0.13.1 In grid view widget, the delete button uses the window confirm dialog which is simple. But it would be better if it can be changed to use the confirm dialog with bootstrap style. Since Yii2 is already integrated with … Read More

Language switcher in Yii2

|

Yii version 2.0.13.1 Currently, I am building the custom application with Yii2. I want to add the language switcher in the application. I found some posts that help but these posts won’t explain well. So I try to explain what … Read More

All js won’t work after Pjax reloads

|

Yii version 2.0.13.1 When you work with Pjax either Pjax jquery or Pjax module, you may face the same issue as me. I am working on Pjax widget in Yii2.0. The widget uses Pjax jquery.   Problem Every time the … Read More

Select2 plugin does not function properly in bootstrap modal

|

Yii version 2.0.13.1 Select2 plugin is very useful plugin when you are building the custom application or website.   Problem When I use the select2 inside a bootstrap modal. I can not type anything in the input field that attaches to … Read More

Pjax is not working, reloads the whole page

|

Yii version 2.0.13.1 Recently I am working on building the custom application with Yii2.0. I have one issue with Pjax widget. It turns out to be a common issue when you are working on Pjax.   Problem I want to … Read More