Customize a shipment method in Virtuemart
Source:Open Clip Art Using Under Public Domain Attribution
The shipment plugins can configured by zip code to make the shipment method only available within a range of zip code. But not every country has zip code. So, I need to customize the shipment plugin.
To do this customization, I need to put my own code in:
PHP
protected function checkConditions ($cart, $method, $cart_prices) { |
In my case, I need to check values in $address.
How to open eps file by using Opensource software
I got an .eps file. I know I tried to use GIMP for this purpose. But it doesn't work. Finally, I found an opensoure software, scribus. It can open .eps file and save it into svg. Finally, I can use Inkspace to edit it.
I found scribus is a kind of Opensource alternative for InDesign. That is quite useful.
Surface Pro 3
Last Thursday, I went to harvey norman. I saw there was Surface Pro 3. I spent a few minutes to test it. I know the screen is improved, CPU(4th Generation iCore) is upgraded. However, I cannot experience much different it from Surface Pro 2.
Static Cell Table with sub view
I created an app which is using static table in iOS. Moreover, I tried to plug in a sub view for autocomplete should be underneath a text box.
[self.view addSubview:autocompleteTableView];
But I found it will break the layout. The subview will be overlapping other cells in the table.
Please be careful to use subview in static table.
PHP Error:call to undefined function json_decode()
Source:Open Clip Art Using Under Public Domain Attribution
I just moved a website to a new server. During the first test, I got an error :call to undefined function json_decode().
That is simple, because by default, my new server has not enable json module in PHP. The solution is going to cpanel to enable json in PHP.





