How can I customize appearance of new ZSearch interface pages. I want to change defaults for all generated ZSearch interfaces. Mariusz
Mariusz B³oñski wrote:
How can I customize appearance of new ZSearch interface pages. I want to change defaults for all generated ZSearch interfaces.
Mariusz
Take a look at the following two files: ZopeDir/lib/python/Shared/DC/ZRDB/Search.py (The code that generates the form is at the end). ZopeDir/lib/python/Shared/DC/ZRDB/dtml/customDefaultReport.dtml There is also some code concerning this in Aqueduct.py in the ZRDB directory. My personal suggestion would be to just lift this code into your own product and customize it instead of modifying the existing code in place. It will save you upgrade headaches later on. Or, create a hotfix to dynamically modify the built-in stuff. hth, -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
participants (2)
-
Casey Duncan -
Mariusz Błoński