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