jackp
committed
on 04 Oct 01

----------------------------------------------------------------------
Straight port of wimpy point to postgreSQL version.
Porters: Jackā€¦ Show more

----------------------------------------------------------------------

Straight port of wimpy point to postgreSQL version.

Porters: Jack PUrswani and Sidharth Widge

Date: 4 October 2001

Committing in .

Modified Files:

       attach-del.tcl attach-detail.adp attach-detail.tcl

       attach-list.adp attach-list.tcl attach.tcl

       create-presentation-2.tcl create-presentation.adp

       create-presentation.tcl create-slide-2.tcl create-slide.adp

       create-slide.tcl delete-presentation-2.tcl

       delete-presentation.adp delete-presentation.tcl

       delete-slide-2.tcl delete-slide.adp delete-slide.tcl

       display-change.tcl edit-presentation-2.tcl

       edit-presentation.adp edit-presentation.tcl edit-slide-2.tcl

       edit-slide.adp edit-slide.tcl get-binary-data.tcl index.adp

       index.tcl index-unregistered.adp index.vuh invite-2.adp

       invite-2.tcl invite.adp invite.tcl live-revision-set.tcl

       master.adp presentation-acl-add-2.adp

       presentation-acl-add-2.tcl presentation-acl-add-3.tcl

       presentation-acl-add.adp presentation-acl-add-group-2.adp

       presentation-acl-add-group-2.tcl

       presentation-acl-add-group-3.tcl

       presentation-acl-add-group.adp presentation-acl-add-group.tcl

       presentation-acl-add.tcl presentation-acl.adp

       presentation-acl-delete.tcl presentation-acl.tcl

       presentation-public.tcl presentation-publish.tcl

       presentation-revisions.adp presentation-revisions.tcl

       presentation-top.adp presentation-top.tcl

       serve-presentation.adp serve-presentation-revision.adp

       serve-presentation-revision.tcl serve-presentation.tcl

       serve-slide.adp serve-slide-revision.adp

       serve-slide-revision.tcl serve-slide.tcl slide-publish.tcl

       slide-revisions.adp slide-revisions.tcl slides-reorder-2.tcl

       slides-reorder.adp slides-reorder.tcl upload-attachments.adp

       users.adp users.tcl

Added Files:

       attach-detail.xql attach-list.xql create-slide.xql

       display-change.xql edit-slide-2.xql get-binary-data.xql

       invite-2.xql presentation-acl-add-2.xql

       presentation-acl-add-3.xql presentation-acl-add-group-2.xql

       presentation-acl-add-group.xql presentation-acl.xql

       presentation-public.xql presentation-top.xql

       serve-presentation.xql serve-slide-revision.xql

       serve-slide.xql slides-reorder-2.xql slides-reorder.xql

       users.xql

----------------------------------------------------------------------

Show less

openacs-4/.../products/upload-utilities.tcl (+3 -63)
1 1 #  www/[ec_url_concat [ec_url] /admin]/products/upload-utilities.tcl
2 2 ad_page_contract {
3 3   Upload utilites admin page.
4 4
5 5   @author Eve Andersson (eveander@arsdigita.com)
6 6   @creation-date Summer 1999
7 7   @cvs-id $Id$
8 8   @author ported by Jerry Asher (jerry@theashergroup.com)
9 9 } {
10 10 }
11 11
12 12 ad_require_permission [ad_conn package_id] admin
13 13
14   doc_body_append "[ad_admin_header "Upload Utilities"]
  14 set page_title "Upload Utilities"
  15 set context_bar [template::adp_parse [acs_root_dir]/packages/[ad_conn package_key]/www/contextbar [list context_addition "Upload Utilities"]]
15 16
16   <h2>Upload Utilities</h2>
17  
18   [ad_context_bar [list "../" "Ecommerce([ec_system_name])"] [list "index.tcl" "Products"] "Upload Utilities"]
19  
20   <hr>
21  
22   These utilities help you load catalog data into the database:
23  
24   <ul>
25   <li><p><a href=\"upload\">Product Loader</a>
26    uploads a data file that contains one line per product
27    in your catalog.  Each line has fields corresponding to a subset of the
28    columns in the <tt>ec_products</tt> table.  The first line of the data file is a
29    header that defines which fields are being loaded and the order that
30    they appear in the data file.  The remaining lines contain the product
31    data.
32   </p></li>
33   <li><p><a href=\"extras-upload\">Product Extras Loader</a>
34    is similar to the product loader except it
35    loads data into <tt>ec_custom_product_field_values</tt>, the table which contains
36    the values for each product of the custom fields you have added.
37    The file format resembles the products import data file format.
38   </p></li>
39   <li><p><a href=\"categories-upload\">Product Category Map Loader By Name-Matching</a>
40    creates the mappings between products in <tt>ec_products</tt> table
41    and categories in <tt>ec_categories</tt>, <tt>ec_subcategories</tt>, and <tt>ec_subsubcategories</tt> tables
42    by inserting rows into <tt>ec_category_product_map</tt> and <tt>ec_subcategory_product_map</tt>.)  The
43    data file you create for uploading should consist of product sku and
44    category or subcategory names, one per row.  This process attempts to be
45    smart by using the SQL \"LIKE\" function to resolve close matches between
46    categories listed in the data file and those known in the database.
47   </p></li>
48   <li><p><a href=\"categories-upload-by-id\">Product Category Map Loader By Index Matching</a>
49    creates the product-categories mappings by finding exact matches to the
50    category tables' indexes <tt>category_id</tt>, <tt>subcategory_id</tt>, <tt>subsubcategory_id</tt>.
51   </p></li>
52  
53   <li><p>
54    <a href=\"import-images\">Bulk Product Image Loader</a> imports product images for existing
55    products, and creates thumbnails for them. 
56    Place product images in a set of directories accessible by this server. Then use this utility
57    to upload a file that maps product <tt>sku</tt> to the location of the product images
58    <tt>full_imagepathname</tt>.
59   </p></li>
60  
61   </ul>
62  
63   <p>
64     <b>Note:</b> Products need to be loaded and their extra fields need to be defined before
65     loading product extras.
66   </p>
67   <p>
68     <b>Note:</b> Categories and subcategories need to be created before using
69     a Product Category Map Loader.
70   </p>
71   <p>
72     <b>Note: </b>There may be a peak load condition on the server for an extended period
73     when bulk loading of product images create product thumbnails (optional feature).
74   </p>
75   [ad_admin_footer]
76   "