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