[Fwd: ] How to add new content, like file, image programmatically?

1 Message Forum Options Options
Embed this topic
Permalink
elena-2
[Fwd: ] How to add new content, like file, image programmatically?
Reply Threaded More
Print post
Permalink

Perhaps, I should be more specific. Our users can download their
information which is saved in a MySql database. But there is some
information that we would like to have outside of the database, like realy
big texts and images created analizing database data. How could it be
saved in their member folders, so it wouldn't be problem with writing
permission

Elena.

> J Cameron Cooper wrote:
>
>> elena@... wrote:
>>
>>> I would like to add some text files and images to a member content.
>>> Could anybody help me with it.
>>
>>
>>
>> http://plone.org/documentation/how-to/pre-populated-folder
>>
>> does it several times.
>>
>>     --jcc
>
> ...except, apparently, not for 2.1

The semantics of 'invokeFactory' have not changed, even if the STI hook
has been broken by the new folder UI.

Were the question about adding content on creation, then the howto would
indeed be unhelpful. However, it was about programmatically adding content.

                --jcc

--
"Building Websites with Plone"
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.com






-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Plone-users mailing list
Plone-users@...
https://lists.sourceforge.net/lists/listinfo/plone-users