12 Jun
2003
12 Jun
'03
5:57 p.m.
Hi, I don't know what I made wrong here but as it doesn't work, something must be wrong. I try to attach Files to a Folder. handle.manage_addDocument('standard_html_footer', 'Website Standard Footer', HTMLFile('DTML_Methods/standard_html_footer', globals())) -> works perfectly !! handle.manage_addFile('Style Sheet', HTMLFile('DTML_Methods/css/styles.css', globals()), 'Title of File') -> Error Type: AttributeError Error Value: seek handle.manage_addFile('Style Sheet', 'Title of File', HTMLFile('DTML_Methods/css/styles.css', globals())) -> works, but the Content of the File is 'Title of File', and within ZOPE the Title is the Content of the File !! How does this work correctly please?