Changeset 1763 in products


Ignore:
Timestamp:
Feb 17, 2010 7:05:04 PM (14 years ago)
Author:
mylan
Message:

Added package description to README

File:
1 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.catalogupdater/trunk/README.txt

    r1739 r1763  
    22============ 
    33 
     4This package intended for extend ZCatalog API with possiblity to 
     5update selected columns only. This package register 'catalog_updater' 
     6utility for that. 
    47 
     8For simplify usage of the utility, it extend GenericSetup's ZCatalog 
     9XMLAdapter handler, which allows *update* attribute usage in *column* 
     10tag of *catalog.xml* file. 
     11 
     12So, when you add new column to the catalog, you add catalog.xml file 
     13in some profile with following part: 
     14 
     15... 
     16<column value="new_column" /> 
     17... 
     18 
     19This add *new_column* metadata to the portal_catalog, BUT, this 
     20metadata will be empty, untill you rebuild the catalog. For automate 
     21this step - you can add 'update="True"' attribute to the tag. And this 
     22lead to updte the column after adding. So result usage should be look 
     23like: 
     24 
     25... 
     26<column value="new_column" update="True" /> 
     27... 
Note: See TracChangeset for help on using the changeset viewer.