I've got another question about zpts. Does anybody have a good way of making content stored in a zpt catalogaware? I'm presuming that there's nothing out-of-the-box here. Actually, given zpts of the following form (used throughout a site), where 'BLAH' is the true content of the object: <html metal:use-macro="here/standard_template/macros/master"> <head> <title>title</title> </head> <body> <div metal:fill-slot="main"> BLAH </div> <br> </body> </html> and say I managed to get this working with the catalog. Am I right in thinking that every time I do a catalog query for the string 'title', I'll actually receive results for every zpt in the catalog because it appears within the <title /> tags? tim
Tim Hicks writes:
I've got another question about zpts. Does anybody have a good way of making content stored in a zpt catalogaware? I'm presuming that there's nothing out-of-the-box here. You should not store content in ZPTs.
Look at the CMF to learn how to separate content (content objects) from presentation (ZPTs). Dieter
participants (2)
-
Dieter Maurer -
Tim Hicks