Last change
on this file since 1844 was
1844,
checked in by olha, 14 years ago
|
doc files updated more.
|
-
Property svn:eol-style set to
native
|
File size:
1.2 KB
|
Rev | Line | |
---|
[1841] | 1 | quintagroup.catalogupdater |
---|
| 2 | ========================== |
---|
[1739] | 3 | |
---|
[1841] | 4 | quintagroup.catalogupdater package is intended for extending ZCatalog API |
---|
| 5 | with possiblity to update selected columns only. This package registers |
---|
| 6 | 'catalog_updater' utility for that. |
---|
[1739] | 7 | |
---|
[1842] | 8 | To simplify usage of the utility, quintagroup.catalogupdater extends GenericSetup's |
---|
| 9 | ZCatalog XMLAdapter handler, which allows to *update* attribute usage in *column* |
---|
| 10 | tag of *catalog.xml* file. |
---|
[1763] | 11 | |
---|
[1800] | 12 | So, when you add a new column to the catalog, you add catalog.xml file |
---|
[1841] | 13 | in some profile with following part:: |
---|
[1763] | 14 | |
---|
[1843] | 15 | ... |
---|
| 16 | <column value="new_column" /> |
---|
| 17 | ... |
---|
[1763] | 18 | |
---|
[1800] | 19 | This adds *new_column* metadata to the portal_catalog, BUT, this |
---|
| 20 | metadata will be empty untill you rebuild the catalog. To automate |
---|
| 21 | this step you can add 'update="True"' attribute to the tag. And this |
---|
| 22 | will lead to column update after adding. Thus, result usage should look |
---|
[1841] | 23 | like this:: |
---|
[1763] | 24 | |
---|
[1843] | 25 | ... |
---|
| 26 | <column value="new_column" update="True" /> |
---|
| 27 | ... |
---|
[1766] | 28 | |
---|
[1841] | 29 | It also supports subtransactions, based on threshold property of ZCatalog. |
---|
| 30 | |
---|
| 31 | Installation |
---|
| 32 | ------------ |
---|
| 33 | |
---|
[1844] | 34 | See docs/INSTALL.txt file within product package for instructions. |
---|
[1841] | 35 | |
---|
| 36 | Requirements |
---|
| 37 | ------------ |
---|
| 38 | |
---|
| 39 | * Plone 3.x |
---|
| 40 | |
---|
| 41 | Author |
---|
| 42 | ------ |
---|
| 43 | |
---|
| 44 | * Andriy Mylenkyi |
---|
| 45 | |
---|
[1844] | 46 | |
---|
| 47 | Copyright (c) "Quintagroup": http://quintagroup.com, 2004 - 2010 |
---|
Note: See
TracBrowser
for help on using the repository browser.