Technical Notes
-
Get inventory for each attribute in Ecshop - applicable to all versions
Principle: Retrieve inventory information for each attribute from the database, store it in a function, and then retrieve it using a template. Files requiring modification: 1. Theme template goods.dwt 2. lib_goods.php under includes Step 1. Modify goo…
-
Detailed Explanation of JavaScript Regular Expressions
Introduction Simply put, regular expressions are a powerful tool for pattern matching and replacement. Their functions include: testing a string for a specific pattern. For example, you can test an input string to see if it contains a phone number pattern or a credit card number pattern. …
-
Troubleshooting VPN Connection Failures on Android Tablets
Android tablets have a small bug that causes them to fail to connect to a VPN after setup, resulting in failed attempts to bypass internet restrictions. I encountered this problem yesterday and searched online for a long time without finding a solution. Finally, I solved the problem using a workaround. Using the built-in VPN didn't work…
-
HTC phone calendar syncs with Google (Gmail) calendar
The greatest distance in the world isn't the ends of the earth, but the inability to sync between the HTC Calendar and Google Calendar on my G10 phone. Today I flashed a Xiaomi ROM and found the calendar empty. After some investigation, I discovered it's because Google Calendar has no content, while my original…
-
Solutions for Windows 7 file deletion error: "This item is not available and cannot be deleted"
Today, after downloading files from my FTP space, I found I couldn't delete them. It kept saying the item didn't exist. I racked my brains trying to figure out why, and even using CMD and file shredders failed. So I searched online and found a foolproof solution, which I'm sharing with you all. Right-click on the desktop - New…
-
Android system contact synchronization with Gmail practice
Today I suddenly felt like syncing my contacts to Gmail, but I encountered some problems. After referring to information online, I solved them. Below are some answers to frequently asked questions, hoping they will be helpful to others. First, you need to understand your phone's contacts. Your phone's contacts consist of three parts: …
-
How to share WLAN network from laptop to mobile phone
Kids who use Android phones to access the internet often find data usage excessive. However, if they want to use their phones while in bed but have a computer available, they can simply connect to the internet on their computer and turn on Wi-Fi to share the network. Here's how: First, you need a Wi-Fi adapter; most laptops come with one…