View on external tables in Views with custom module
Step 1) Create module info file " custom_views_table.info ".
name = custom_views_table
description = Create external table view.
package = Custom Drupal 7 Development
core = 7.x
Step 2) Create module file " custom_views_table.module ".
<?php
function custom_views_table_views_api(){ // Register view API information
$view = array();
$view = array('api'=>3,
'path'=>drupa_get_path('module','custom_views_table')
);
return $view;
}
function custom_views_table_views_data(){ //Describes data tables
$table = array();
$table['custom table']['table']['group'] => t('custom table');
$table['custom table']['table']['base'] =>array(
'title'=>t('Courses'), //Courses is Custom external table
'field'=>'id',
'help'=>t('Contains courses, departments, and descriptions'));
$table['custom table']['title']=>array(
'title'=>t('Course name'), //Custom external table field
'help'=>t('Course name'),
'field'=> array(
'handler'=> 'views_handler_field',
'click sortable'=> TRUE,),
'sort'=>array(handler=>'views_handler_sort',),
Webform Enquiry Cart
Extends Webform & Drupal Commerce to provide enquiry cart functionality.
This module adds an extra field component to Webform allowing the storage of commerce orders. Order details can be emailed upon form submission, rendered in a table.
The intended use cases include pre launch shops, ambiguous goods & or services, new & or pre released goods.
Please provide feedback.
views_totem
Integrate jQuery totem lugin with views.
views_easypaginate
Integrate jquery easypaginate plugin with Views.


