Friday, 19 October 2012

OpenCart Loginza plug in addon

In my previous post I did VQMod option for the Loginza plug in. Recently I've found if you logged in with this module, but don't add any address and try to checkout, you will fail, because of the bug in the original module. To fix this bug you can go to catalog/view/theme/default/template/checkout/payment_address.tpl and add following lines:

Sunday, 14 October 2012

OpenCart OpenId integration with Loginza

Recently I've found OpenId integration module for OpenCart via Loginza service. You can find the module here. But if you want to get it to work you need to replace the default files related to login or checkout. I thought why do I need to change the original files if I have VQMod installed in my OpenCart instance, and since there was no VQMod option from the author, so I've decided to write it by myself.

Friday, 5 October 2012

Xubuntu proxy settings

I have my laptop running Xubuntu 12.04. And there is no GUI to set up proxy settings. So it can be done via terminal. Open /etc/environment and add the following lines
http_proxy="http://user:password@proxy:port/"
https_proxy="https://user:password@proxy:port/"
ftp_proxy="ftp://user:password@proxy:port/"
socks_proxy="socks://user:password@proxy:port/"
Also if you want the apt-get is working behind proxy, go to /etc/apt/apt.conf and add
Acquire::http::proxy "http://user:password@proxy:port/";
Acquire::https::proxy "https://user:password@proxy:port/";
Acquire::ftp::proxy "ftp://user:password@proxy:port/";
Acquire::socks::proxy "socks://user:password@proxy:port/";
Restart X by log out and back in again for settings to take effect.

Tuesday, 2 October 2012

OpenCart Flat Rate shipping module cloning

I have some online shop based on ocStore which is Russian version of the OpenCart CMS. I will show the example of how to clone the Flat Rate shipping module. Here is the original module

Monday, 17 September 2012

Monday, 10 September 2012

Video files concatenation

How to concatenate 2 files in Ubuntu? Using Pitivi is not good when you want to preserve the original quality. Actually while playing with Pitivi I haven't found good enough rendering options that will be suitable for me and have quality similar to the original. So I've tried to use command line. The software is called ffmpeg or  avconv in the Ubuntu 12.04.

Friday, 7 September 2012

Pitivi video editing tutorial

Pitivi is a free video editor software for Linux. Here is a small example of how to use it. I have 2 movie clips 10 minutes long each from my car DVR, and I want to stick them together and cut some unnecessary parts. So let's start by opening Pitivi editor.

Avoid header manipulation issue in ADF

Sometimes when you need to make redirect from current page to another page and pass some GET parameters you can find this solution.


Tuesday, 21 August 2012

How to increment SQL value

Here how it works. If we have table, for example table 'store' with 'id' and 'price' columns and we need to increment price to 5% for example.

UPDATE store SET price = price + ROUND(5*price/100, 0) WHERE id LIKE '%pattern%'


Wednesday, 27 June 2012

Java / Oracle SOA blog: ADF development with Eclipse (OEPE)

Java / Oracle SOA blog: ADF development with Eclipse (OEPE): Finally  with Eclipse ( OEPE ) as IDE  we can use the ADF Binding framework in our ADF applications development ( works with PS3 and higher ...

How to close a TaskFlow Popup Launched Using an af:Popup

Our way was to pass RichPopup to the parent task-flow as parameter, here is better solution:

Marvin's ADF Blog: How to close a TaskFlow Popup Launched Using an af...: Been awhile since I've posted something, so I decided to make a quick and easy hint in ADF. TaskFlows can be launched as a Popup in a coup...

Saturday, 9 June 2012