Sunday, December 30, 2012

Copy to multiple destination

We can't copy a single file to multiple destination with just a single cp command. But we have a workaround.
If we want to copy a single file to multiple destination folders, then just follow the below command:
echo dir1 dir2 dir3 | xargs -n 1 cp file1


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

How to fix WARNING: You are not using an encrypted connection

There was an warning message on drupal.
WARNING: You are not using an encrypted connection, so your password will be sent in plain text. Learn more.

How to fix
To fix the above warning message, we need to change the permission and ownership of the file.
type this command:
chown www-data:www-data -R /var/www/drupal(or your drupal web root name)/sites



See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Git remote repo address

We can get the remote repository address with the below git command:
git remote show origin



See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

How to fix “The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.”

We are getting error with ckfinder in drupal. It was showing the below error message:
The file browser is disabled for security reasons. Please contact your system administrator and check the CKFinder configuration file.

    Follow the below steps to solve this problem.
  • 1. Open settings.php file: drupal_site_name/sites/default/settings.
  • 2. Uncomment “$cookie_domain = ‘example.com’;” and give your domain name. eg: $cookie_domain = ‘localhost’;


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

failed to load java vm library in OpenProj

We have set java jre. But still it was showing the message:
failed to load java vm library in OpenProj

Later we found that we have install jre for 64bit on a windows7. So, OpenProj couldn't find the java jre path. We have found that OpenProj runs on 32bit machine. So, we need to install java jre for 32 bit machine.
To edit the path, we need to go to the below path to edit OpenProj configuration file.
  • go to this path: C:\Users\tahsin.hasan\AppData\Roaming\OpenProj\{13702021-43FB-480C-912F-D9B74A538288}
  • Set the java jre to 32bit(x86) path.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

unwanted <p> tag in drupal content

I found there was some unwanted

tags coming into the drupal contents. To solve this issue, I followed the steps below:

  • go to configure.
  • > content authoring
  • > text formats
  • > configure
  • > uncheck convert line breaks to <br>, <p> tags


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Same cookie deletion problem

Two cookies will be identical if they have same cookie name, domain & path. For example,
setcookie('a','value','/','www.example.com'); 
setcookie('a','value','/','example.com'); 

The above two cookie variable are not same. Their domain name is different.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

how to update svn in mac?

We will follow the below steps to upgrade our svn version on mac machine.
  • In Terminal, type "svn --version" to find out what version you currently have.
  • Install macports and using macports install svn. this will install the latest svn into your system.
  • Got to your terminal and check your $PATH by typing "echo $PATH". If you don't see /opt/subversion/bin in there, make sure you add it by typing export PATH=/opt/subversion/bin:$PATH. If it DOES exist and appears AFTER /usr/bin, then you may need to remove an older copy of svn that came installed on OS X. To do so, go to /usr/bin and remove all files starting with svn. This isn't an exact science but it should do the trick.
  • Make sure you reload your .profile first by typing . ./.profile* or you can close the terminal and reopen again. also you can type source .profile. this will also reload profile.
  • Type "svn --version". You should see that you have the newest version installed!


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Missing table borders in FF

I was working on displaying a report on a website. I was applying a border to the table cells. some of the cells are not displaying border on firefox. But they are ok with other browsers.

Then I apply the below code block for table property:
table{
border-collapse: separate;
border-spacing: 0;
}


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Saturday, December 29, 2012

how to install apache mpm worker

Apache mpm worker is a multi-preprocessing module of apache. By default Apache runs with mpm prefork. If you install worker type of multiprocessor, then it will uninstall the prefork module from the system.
By installing mpm worker process, it will uninstall the php5 process for apache. you need to use fastcgi for working with worker thread.
To install worker thread, type the following commands:
sudo apt-get install apache2-mpm-worker


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Friday, December 28, 2012

Integrate Xcode with Corona SDK

    Follow these steps to integrate XCode 3.x with Corona SDK. NOTE: Not suitable for XCode4.0
  • 1. Launch XCode, Create a new project, “File” > “New Project”
  • 2. Template for project should be “Other” > “External Build System” and give the project a name and save it.
  • 3. Under “Targets” in the left hand “Groups & Files” window in the main xcode editing window, then double click “Your Projects Name”
  • 4. Remove all the “Build Settings”, dont know what they did but removing them didnt hurt
  • 5. In “Build Tool” enter the path to either the “simulator” link or the “Corona Terminal” app just so you know, if you put the Corona folder in your Applications folder the the paths are as follows “/Applications/CoronaSDK/Corona Terminal” .
  • 6. Under “Arguments” enter “$(PROJECT_DIR)”, this passes the location of the folder, what Corona looks for, to the simulator so it launches and builds the app without asking for the location of the project folder
  • 7. Right click on the top of the main xcode window, the toolbar, and select “Customize Toolbar” and add the “Build” icon to the bar and click “Done”
  • 8. Clicking the “Build” icon will now launch your application in Corona
  • 9. If the corona simulator is already on and you save changes to the main.lua file, the simulator will prompt you to reload the lua file.
  • 10. The project directory must contain a file that goes by the name of ‘main.lua’, this file can link itself to other modules.
  • 11. Place Lua.pbfilespec and Lua.xclangspec in: ~/Library/Application Support/Developer/Shared/Xcode/Specifications/ and/or /Developer/Library/Xcode/Specifications/ http://f3gamesig.pbworks.com/w/file/42079531/Lua.pbfilespec http://f3gamesig.pbworks.com/w/file/42079528/Lua.xclangspec
  • 12. reboot Xcode.
NOTE: If the directories don’t exist create them.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Sunday, December 23, 2012

How to remove Clamav

To remove clamav from ubuntu, type the below commands:
sudo apt-get --purge remove clamav clamav-base clamav-daemon clamav-freshclam libclamav2

Clamav anti virus takes some memory as it continuously checks for virus database update. It takes slows down server.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Saturday, December 22, 2012

session.gc_maxlifetime value

This value (default 1440 seconds) defines how long an unused PHP session will be kept alive. For example: A user logs in, browses through your application or web site, for hours, for days. No problem. As long as the time between his clicks never exceed 1440 seconds. It's a timeout value. PHP's session garbage collector runs with a probability defined by session.gc_probability divided by session.gc_divisor. By default this is 1/100, which means that above timeout value is checked with a probability of 1 in 100. session.cookie_lifetime This value (default 0, which means until the browser's next restart) defines how long (in seconds) a session cookie will live. Sounds similar to session.gc_maxlifetime, but it's a completely different approach. This value indirectly defines the "absolute" maximum lifetime of a session, whether the user is active or not. If this value is set to 60, every session ends after an hour a minute.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Sunday, December 2, 2012

How to Check What's Using Port 80 or 443

I am using Xampp. And Apache runs on port 80. When I install Skype or some other HTTP services, then it also runs on the same port. Hence, Apache can't run on this machine. So, I need to check which port is running on that port. To check this, need to do the followings:
  • 1) Go to START-->Run and type cmd to bring up a Command prompt.
  • 2) In the Command Prompt window. type netstat -aon.
  • 3) Open up the Windows Task Manager
  • 4) Then stop the process ID that was running on port 80.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

files & folder permission in linux server

We will set the appropriate file permission on the files and folders on the server. Below is the standard file permission settings.
files - 640
folder - 755

If you want to change the folder permission for all the subfolders, then run the below command:
chmod 0755 * $(find . -type d) -R
If you want to change the file permission for all the subfolders, then run the below command:
chmod 0640 * $(find . ! -type d) -R


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

size and daily/weekly/monthly not work together in logrotator

I have configured the logrotate file. And I have noticed that for some reason, my logrotate is not working. When I googled, I found that if you set the size value and the period together, they won't work.
The size and daily option don't work together in logrotate. So, I removed the period option and left the size option only, then it worked like a charm.
size 10K


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

How to remove v9 from Firefox/ crome / and any other browser,

Every time, I opened up a new window, it brings the below url:
www.v9.com/us/newtab
This is very much annoying. I need to remove it. I searched google and came up with the following solution:
  • Go to your control panel
  • uninstall program
  • their scroll down you will see one application without any image named new tab uninstaller and publisher elec software uninstall this bug and boom, everything is normal now.
  • now just for confirmation check your homepage is set to default or what ever u like.


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Error: bad username; while reading /etc/crontab

This error means we haven't set up the username on the crontab for a cron job. you need to define the username before the command section. Like the following:
0 1 * * *  root /var/www/ispcp/engine/backup/ispcp-backup-all yes &>/var/log/ispcp/ispcp-backup-all-mngr.log


See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

how to debug crontab

If you want to see the status of your crontab or see why your cronjob is not running, then run the below command:
cat syslog | grep cron

Crontab related errors are written on the syslog file. So, we can get related information from there.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Location picker in Joomla! mobile

We find our location on google map using searches. jQuery comes with a nice plugin to get the location on google map using search. The below mentions the procedures to follow:
  • We use this site’s http://webcoda.co.uk/2010/10/the-jquery-location-picker/ plugin for this purpose.
  • We get the required javascript file from http://code.google.com/p/locationpicker/.
  • Place the javascript file under /templates/mobile_pda/resources/scripts.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Lavalamp menu in Joomla! mobile

Now we are going to add lavalamp menu to our site. Let’s discuss it’s integration process here:
  • We get a discussion on the lavalamp menu plugin on http://www.geektantra.com/2010/02/jquery-sliding-menu/.
  • We go to this site to download the related files for this plugin: http://www.geektantra.com/. We get the styles, scripts and images files.
  • Now take the script files, jquery.sliding-menu.js to /templates/mobile_pda/resources/scripts.
  • We add horizontal and vertical menu here. We have different styling for them. So, we define different ids.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Styling dropdown in Joomla! mobile

We apply styling to our select box. We use some jquery plugin to style our select boxes.Let’s discuss the steps to integrate the plugin:
  • We use http://jamielottering.github.com/DropKick/ to style our select box.
  • First download the files from http://github.com/JamieLottering/DropKick/zipball/master. There will be some js file, some styling files and some images.
  • We place the jquery-1.6.2.js, jquery.dropkick-1.0.0.js under /templates/mobile_pda/resources/scripts.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Dynamic rating on Joomla! mobile

We use feedback or rating system in our site for different purposes. We use http://www.greepit.com/Opineo/ jquery plugin for our feedback system. We follow the below steps to integrate the feedback plugin in our mobile site:
  • 1. First we download the files from http://www.greepit.com/Opineo/admin-form.html. There will be images, js, style folders and demo.php and result.php files.
  • 2. For this plugin, we use jquery-1.4.2.js. We place this file and opineo.js in the templates/[your_module_name]/html/scripts folder.
  • 3. In the default.php the html code describes three different options to display the feedback system.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Creating a sliding menu in Mobile Joomla!

    We will follow the steps to have a sliding menu in our mobile:
  • 1. The menu section is handled by the menu module. We will create this sliding menu for Android devices. The menu section of Android device is controlled by mod_mj_pda_menu module.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Integrating Ocean Blue menu in Mobile Joomla!

We will integrate a menu to our Mobile Joomla!. Let's see the steps:
  • Now we will add a new menu for Android phones. We will go to templates->mobile_pda->css.
  • We open up the mj_xhtml.css file in an editor.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Mobile Joomla! Template file structure

To design on the joomla Mobile menu, we first need to understand the template file structure of them. Under the template folder, we will see four different folders.These are the template files that are created due to installation of mobile joomla. These template file structure are same as other joomla template file structure.
You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Mobile menu

We follow the step by step procedure to create a menu item for mobile device.
  • 1. In the admin panel, we will go to Menus->Menu Manager->Add New Menu.
  • 2. This will bring new Menu creation page. We will enter title, menu type and description.
  • 3. Then we add menu items under our newly created menu. We can add many items under it. But we will add one menu item here. We will go to Menus-> Mobile Menu->Add New Menu Item.
  • 4. Now we will see the Menu Item creation page. Here we are going to create a category list menu item. We choose the item type as category list, menu title to Mobile Category. We left others as they are. We will discuss about the options later in the chapter.
You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Configuring device specific settings in Mobile Joomla!

There are Smartphone, iPhone, WAP, iMode. Let’s start with Smartphone configuration options. There are several options in each device settings section. We will discuss what options do what here:
  • 1. Template Name: There are four different types of template in mobile joomla: mobile_iphone, mobile_imode, mobile_pda, mobile_wap.
  • 2. Homepage: Choose a page for site’s device specific homepage.
  • 3. Image adaptation method: There is image remove or resize options in the drop down menu.
  • 4. Use style to force image size: We can use styles to set the height and width of images.
  • 5. Gzip compression: Gzip compression option enables us to show compressed content for mobile devices.
  • 6. Remove unsupported tags: we can remove the tags that are not supported in a specific device.
  • 7. Remove script tags: We remove different scripts from the site by enabling this option.
You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Configuring mobile joomla

Let’s start with the following steps to configure mobile joomla:
  • 1. To modify the configuration options of mobile joomla, we need to first go to the admin panel. Then we will go to components->mobile joomla->settings.
  • 2. Then we will see the global settings tab for configuration. These will be applied to all the different mobile devices.
  • 3. We can enable file cache and browser caching with this panel.
  • 4. To have different domains for different mobile devices, we can add options in the admin. First we will enable the domain support option.
You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Disabling Mobile Joomla

We sometimes want to remove mobile joomla from our site. In this section we look into this ways to work around the situation.Let’s see the ways to disable Mobile joomla from our site:
  • 1. We will go to the administration section. We go to extension->plug-in manager.
  • 2. In the Plugin Manager we will search for Mobile Joomla.
You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Mobile viewing in web browser

User agent switcher gives us the opportunity to switch between different user agents. To view the appearance of our site in a mobile device we will use this firefox addons. Let’s see how we can implement user agent switcher to meet up our need:
  • 1. First we need to go to this url, https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/, to download the addons.
  • 2. After clicking the download button, the firefox addon installation window will open. We will click the install button. When the installation will be complete, we need to restart our browser.

You will see rest of the steps with images on the Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide

Installation of Joomla and VirtualHost

    Let’s discuss the step by step procedure:
  • 1. We will download the latest release of joomla from the web: http://www.joomla.org/download.html.
  • 2. We extract the folder, name it joomla or what ever you want and place it under the document root folder.
  • 3. Now turn on the apache and mysql server on xampp.
  • 4. And type http://localhost/joomla into the browser.
  • 5. To create a virtual host under windows, go to xampp/conf/extra/httpd-vhosts.conf. write a code block like the below:
    
        ServerAdmin postmaster@joomla.com
        DocumentRoot "D:/xampp/htdocs/joomla "
        ServerName local.joomla.com
        ServerAlias www.local.joomla.com
        ErrorLog " D:/logs/local.joomla-error.log"
        CustomLog " D:/logs/ local.joomla-access.log" combined
    
    
  • 6.And also need to modify the WINDOWS\system32\drivers\etc\hosts file. Add the below line:
    127.0.0.1 local.joomla.com
    

You will see more detail approach on Joomla Mobile Development Beginners Guide.

See the book OpenCart 1.4 Template Design Cookbook.
See the book Joomla Mobile Development Beginners Guide




List of my works:

Opencart Extensions:

  1. Product Based Quantity Wise Shipping: Find it here.
  2. OpenSSLCOMMERZ: integrate SSLCOMMERZ with opencart: Find it here.
  3. Fine Search v.1.0 - Improves Opencart search feature to find relevant: Find it here.
  4. Opensweetcaptcha - An easy way to generate attractive captcha for your system!: Find it here.
  5. Custom Field Product - add unlimited custom fields to the product form: Find it here.
  6. Formcaptcha - add captcha on the register page: Find it here.

My Books:

  1. OpenCart 1.4 Template Design Cookbook.
  2. Joomla Mobile Development Beginners Guide