Index Statistiques Constantes Fonctions Classes Variables Tables

Télécharger paquet

Voir tous les codes sources Code Libre

title

Body

[close]

/ -> release.txt (source)

   1  2011/1/20 VERSION 1.2.0 alpha1
   2   * List/Grid View for Product Category and Product Search Result
   3      The view of the products will be displayed as a grid or list.The product short description and reveiws&rating are added.The sort options are added too.
   4      
   5      Modification:
   6        .Modify the product_listing.php in 'includes/modules/'.
   7        .Add the products_list.php in 'includes/modules/'.
   8        .Add the products_grid.php in 'includes/modules/'.
   9        .Modify the US.xml 'includes/languages/' for adding the language definitions which are shown below.
  10           <definition>
  11             <key>listing_products_reviews_heading</key>
  12             <value><![CDATA[Reviews]]></value>
  13             <group>general</group>
  14           </definition>
  15           
  16           <definition>
  17            <key>products_sort_label</key>
  18            <value><![CDATA[Sort By: ]]></value>
  19            <group>general</group>
  20          </definition>
  21          
  22          <definition>
  23            <key>products_views_label</key>
  24            <value><![CDATA[View As: ]]></value>
  25            <group>general</group>
  26          </definition>
  27          
  28          <definition>
  29            <key>products_list_view</key>
  30            <value><![CDATA[List]]></value>
  31            <group>general</group>
  32          </definition>
  33          
  34          <definition>
  35            <key>products_grid_view</key>
  36            <value><![CDATA[Grid]]></value>
  37            <group>general</group>
  38          </definition>
  39          
  40          <definition>
  41            <key>no_products_short_description</key>
  42            <value><![CDATA[No short descriptions]]></value>
  43            <group>general</group>
  44          </definition>
  45          
  46        .Modify the stylesheet.css in 'templates/glass_gray/'.
  47          /*serarh result*/
  48            .productListing{
  49              background-color: #f3f3f3;
  50              border-top: none;
  51              border-left: 1px solid #DDDDDD;
  52              border-right: 1px solid #DDDDDD;
  53              border-bottom: 1px solid #8B8A8A;
  54            }
  55            
  56            #pageContent .productListing .productListing-name p {
  57              border: none;
  58            }
  59            
  60            .productListing .productImage {
  61              margin-top:3px;
  62            }
  63            
  64            .productListing .productListing-heading {
  65              height: 25px;
  66              color: #ffffff;
  67              padding: 3px 3px;
  68              background: #f3f3f3 url(images/content_header_bg.png) repeat-x left top;
  69            }
  70            
  71            .productListing a.productListing-heading {
  72              background: none;
  73            }
  74            
  75            .productListing .productListing-odd td, .productListing .productListing-even td {
  76              padding: 10px 5px;
  77              border-bottom: 1px dashed #E0E0E0;
  78            }
  79            
  80            .productListing .productListing-odd td p, .productListing .productListing-even td p {
  81              padding: 5px 0;
  82              border-bottom: 1px dashed #E0E0E0;
  83            }
  84            
  85            .productListing-data a {
  86              text-decoration: underline;
  87              line-height: 150%;
  88            }
  89            
  90            .productListing-name {
  91              width: 180px;
  92            }
  93            
  94            .productGrid-name {
  95              display:block;
  96              height: 20px;
  97            }
  98            
  99            .productListing .reviews_total a {
 100              display: block;
 101              margin-top:5px;
 102              text-decoration: none;
 103            }
 104            
 105            .productListing .reviews_total a:hover {
 106              text-decoration: underline;
 107            }
 108            
 109            .productsGrid {
 110              margin-top: 10px; 
 111              float:left; 
 112              width: 33%; 
 113              text-align: center;
 114            }
 115            
 116            .productsGrid-item {
 117              text-align: center;
 118              margin: 7px 0;
 119            }
 120            
 121            .productsGrid-item p {
 122              margin-bottom: 0;
 123              height: 50px;
 124              line-height: 15px;
 125            }
 126            
 127            .productsGrid-item .reviewTotal {
 128              margin-left: 5px;
 129            }
 130            
 131        .Modify the 'install/tomatocart.sql'.
 132          INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Image', 'PRODUCT_LIST_IMAGE', '1', 'Do you want to display the Product Image?', '8', '1', now());
 133          INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Name', 'PRODUCT_LIST_NAME', '2', 'Do you want to display the Product Name?', '8', '4', now());
 134          INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Reviews', 'PRODUCT_LIST_REVIEWS', '3', 'Do you want to display the Product Reviews?', '8', '4', now());
 135          INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Product Price', 'PRODUCT_LIST_PRICE', '4', 'Do you want to display the Product Price', '8', '5', now());
 136          INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Display Buy Now column', 'PRODUCT_LIST_BUY_NOW', '5', 'Do you want to display the Buy Now column?', '8', '8', now());
 137          
 138        .add six start images for reviews in 'images'
 139          stars_0.png, stars_1.png, stars_2.png, stars_3.png, stars_4.png, stars_5.png
 140          
 141   * Integrate TomatoCart with Social Network sites such as Twitter, Facebook to attract more customers
 142       1. Social Bookmarks box for product info page
 143         . Add product_social_bookmarks.php in 'includes/modules/boxes'
 144         . Add social_bookmarks directory in 'includes/modules'
 145         . Add product_social_bookmarks.php in 'templates/glass_gray/modules/boxes'
 146         . Add language definition product_social_bookmarks.xml in 'includes/languages/en_US/modules/boxes'
 147       
 148       2. Social bookmarks for product listing page
 149         . Add social bookmarks html and javascript in 'includes/modules/product_listing.php'
 150         . Add PRODUCT_LIST_SOCIAL_BOOKMARKS in 'install/tomatocart.sql'
 151            INSERT INTO toc_configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) VALUES ('Display Social BookMarks', 'PRODUCT_LIST_SOCIAL_BOOKMARKS', '1', 'Do you want to display the social bookmarks on the product listing page?', '8', '9', 'osc_cfg_use_get_boolean_value', 'osc_cfg_set_boolean_value(array(1, -1))', now());
 152   
 153   * Integrate the Google Adsense as a box module and content module that can be controlled in the admin panel      
 154       . Add google_adsense.php in 'includes/modules/boxes'
 155       . Add google_adsense.php in 'templates/glass_gray/modules/boxes'
 156       . Add google_adsense.xml in 'includes/languages/en_US/modules/boxes'
 157       
 158       . Add google_adsense.php in 'includes/modules/content'
 159       . Add google_adsense.php in 'templates/glass_gray/modules/content'
 160       . Add google_adsense.xml in 'includes/languages/en_US/modules/content'
 161       
 162       . Modify the templates_modules_config_dialog.php in 'admin/includes/extmodules/templates_modules'
 163  
 164   * Integrate the flying image effect for the popup cart as the ajax shopping cart box is closed.
 165       .Modify the popup_cart.js in 'includes/javascript'
 166       .Modify the popup_cart.php in 'templates/glass_gray/modules/jsons'
 167       
 168   * Integrate the functionality that the frontend and the backend could use the different language.
 169      . Modify the languages.grid.php in 'admin/includes/extmodules/languages'
 170      . Modify the languages.edit_dialog.php in 'admin/includes/extmodules/languages'
 171      . Modify the language.php in 'admin/includes/classes'
 172      . Modify the languages.php in 'admin/includes/jsons'
 173      . Modify the language.php in 'includes/classes'
 174      . Modify the index.php in 'templates/glass_gray'
 175         <div id="navLanguages">
 176          <?php
 177            foreach ($osC_Language->getEnabled() as $value) {
 178              echo osc_link_object(osc_href_link(basename($_SERVER['SCRIPT_FILENAME']), osc_get_all_get_params(array('language', 'currency')) . '&language=' . $value['code'], 'AUTO'), $osC_Language->showImage($value['code']));
 179            }
 180          ?>
 181        </div>
 182        
 183        DROP TABLE IF EXISTS toc_languages;
 184        CREATE TABLE toc_languages (
 185          languages_id int(11) NOT NULL auto_increment,
 186          name varchar(32) NOT NULL,
 187          code char(5) NOT NULL,
 188          locale varchar(255) NOT NULL,
 189          charset varchar(32) NOT NULL,
 190          date_format_short varchar(32) NOT NULL,
 191          date_format_long varchar(32) NOT NULL,
 192          time_format varchar(32) NOT NULL,
 193          text_direction varchar(12) NOT NULL,
 194          currencies_id int(11) NOT NULL,
 195          numeric_separator_decimal varchar(12) NOT NULL,
 196          numeric_separator_thousands varchar(12) NOT NULL,
 197          parent_id int(11) default '0',
 198          sort_order int(3) default NULL,
 199          status tinyint(1) NOT NULL,
 200          PRIMARY KEY  (languages_id)
 201        ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
 202        
 203        INSERT INTO toc_languages VALUES (1,'English','en_US','en_US.UTF-8,en_US,english','utf-8','%m/%d/%Y','%A %d %B, %Y','%H:%M:%S','ltr',1,'.',',',0,1,1);


Généré le: Tue Feb 22 13:20:54 2011 par Boyquotes grâce au logiciel: PHPXref 0.7