Archive for the ‘CMS/Framework’ Category


Magento Commerce: How to change configuration

Jdam

Mostly new user to magento commerce encounter problem on migration or switching to new database.

Here is some tips how to avoid that:
1. Always backup your database.
2. Make sure you know what your doing. Consult to Magento forums if needed.
3. Go to app/etc/local.xml, look for this code
Read More »

  • Share/Bookmark

Codeigniter: Get the last row of table

center

         // you can use the where clause
         $this->db->where('field1', 'string');
         $query = $this->db->get('tabledb');
         // Returns the "last" row
         $last = $query->last_row('array');
         // retrieve last inserted id from table
         $last_id = $last['id'];
  • Share/Bookmark

Pagination Class – Codeigniter

center

Hello everyone!
CodeIgniter’s Pagination class is very easy to use. I set up following code.

Create this file Pagination.php in the system/libraries/Pagination.php folder
Read More »

  • Share/Bookmark

This is for multiple forms with validation on codeigniter

center

Hi there everyone, this is my second tutorial on code igniter. Here, I will discuss about using multiple forms with validation.

Here is the procedure:
Read More »

  • Share/Bookmark

How to upload array of files with thumbnail in Code Igniter

center

Hello everyone, I would like to share with you on how to upload array of files with Thumbnail in Code Igniter.

Here’s the step by step guide for you to follow:
In views, you can create a form including input files in an array then submit to the controller to be saved in a folder or directory where the upload path is located.
Read More »

  • Share/Bookmark