Hi, I can write pages with ZTP via the ZMI and I can add pages to my Plone site via the Plone interface. But I can't seem to combine the two! If I work in ZMI and add a ZTP page to the Plone folder, it doesn't appear as a Plone page. If I add ZTP to a Plone document, it's not interpreted. I must be missing something really obvious. Please, what is it? How do I get ZTP working inside a page that is visible in the Plone site? I've looked through the Plone docs, but can't find anything relevant, and I've searched the net (honestly! - I know it must be staring me in the face...) Thanks, Andrew -- http://www.acooke.org/andrew
If I work in ZMI and add a ZTP page to the Plone folder, it doesn't appear as a Plone page. If I add ZTP to a Plone document, it's not interpreted.
I must be missing something really obvious. Please, what is it? How do I get ZTP working inside a page that is visible in the Plone site? I've looked through the Plone docs, but can't find anything relevant, and I've searched the net (honestly! - I know it must be staring me in the face...)
You're missing the basic premise that CMF, and by extension Plone, are about *content* and not *scripting* as far as what you can add through their respective user interfaces goes. jens
I can see why it's not possible to add ZTP via the Plone interface, but I don't see why it's not possible to extend the Plone site via the ZMI. If I want to mix content and scripting then surely I don't have to start from zero? I'm trying to make a site that has areas where users discuss stuff etc, but which also contains some dynamic pages displaying data in a database. Can I not build on Plone for that? Andrew Jens Vagelpohl said:
If I work in ZMI and add a ZTP page to the Plone folder, it doesn't appear as a Plone page. If I add ZTP to a Plone document, it's not interpreted.
I must be missing something really obvious. Please, what is it? How do I get ZTP working inside a page that is visible in the Plone site? I've looked through the Plone docs, but can't find anything relevant, and I've searched the net (honestly! - I know it must be staring me in the face...)
You're missing the basic premise that CMF, and by extension Plone, are about *content* and not *scripting* as far as what you can add through their respective user interfaces goes.
jens
On Oct 26, 2003, at 11:13, andrew cooke wrote:
I can see why it's not possible to add ZTP via the Plone interface, but I don't see why it's not possible to extend the Plone site via the ZMI. If I want to mix content and scripting then surely I don't have to start from zero?
I'm trying to make a site that has areas where users discuss stuff etc, but which also contains some dynamic pages displaying data in a database. Can I not build on Plone for that?
Scripts and logic for CMF/Plone based sites is in the skins directories inside the portal_skins tools. It's not in the actual folder structure of the portal. jens
Done it! The ZTP page can be linked to from a Plone page. I knew it was obvious :o) Cheers, Andrew andrew cooke said:
I can see why it's not possible to add ZTP via the Plone interface, but I don't see why it's not possible to extend the Plone site via the ZMI. If I want to mix content and scripting then surely I don't have to start from zero?
I'm trying to make a site that has areas where users discuss stuff etc, but which also contains some dynamic pages displaying data in a database. Can I not build on Plone for that?
Andrew
Jens Vagelpohl said:
If I work in ZMI and add a ZTP page to the Plone folder, it doesn't appear as a Plone page. If I add ZTP to a Plone document, it's not interpreted.
I must be missing something really obvious. Please, what is it? How do I get ZTP working inside a page that is visible in the Plone site? I've looked through the Plone docs, but can't find anything relevant, and I've searched the net (honestly! - I know it must be staring me in the face...)
You're missing the basic premise that CMF, and by extension Plone, are about *content* and not *scripting* as far as what you can add through their respective user interfaces goes.
jens
-- http://www.acooke.org/andrew
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
andrew cooke wrote:
I can write pages with ZTP via the ZMI and I can add pages to my Plone site via the Plone interface. But I can't seem to combine the two!
Using individual ZPT's in Plone folders is not how it is supposed to be done. You *can* do it that way however. But a ZPT is not a document and will not act like one. There is no cataloging, workflow, meta data etc. But sometimes it can be usefull to create a ZPT in a folder. Ie. for making a complex layout in a folder other that the home page. So you just put a ZPT called index_html or something into a Plone folder, and it will work as expected. You must be aware though, that you still need to use a layout following the layout in main_template. It is most easily done by modifying any page from the skin that looks most like the one you want to acheive. Regards Max M
participants (3)
-
andrew cooke -
Jens Vagelpohl -
Max M