Re: [Zope] [Newbie] Can Zope ...
>>>>> SR == "Smith Ray" <[EMAIL PROTECTED]> writes: SR> Are there any "Intranet" type packages which have similar SR> functionality to what I have quickly described? there aren't any intranet packages per se, but there is a wonderful zope product called worldpilot which you should take a look at. its available at http://demo.worldpilot.com:8080/site/ it has a very nice web based mail client / calendar / todo / address book features. that fulfils half of your requirements in an intranet. for the other half, go out and create something based on other zope tools, e.g. zwiki / squishdot / ptk the drawback is in integrating worldpilot with whatever you create. the code is definitely not the most manageable, however, the source is there - so you can do whatever you want :) SR> If I had to build something like this myself would SR> Zope be the tool of choice? (I'm assuming it would SR> be since I'm on a Zope list!) zope is without doubt one of the best ways to do this. most important for me is the ability to extend the product in a rapid and easy manner at esp (company i work for), we desperately looked around for good intranet solutions and ended up making our own 'xnet' product based on zope. it does pretty much anything you would want from an intranet, and using zope was definitely the best decision we made about it. i would offer you this product, however, its been made primarily for internal use, but with a few days work, i guess it could be be made non-esp centric. pop onto irc (irc.espnow.com / #esp) if you want to talk about it. SR> How long (rough estimate) would something like SR> this take to develop for a Zope newbie? if you dedicate yourself to this, then about two months. zope has a steep learning curve. but once you get to a certain level, everything becomes much clearer... that is, until you want to rise to the next level of zope meisters -- best regards, tav [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Creating Member folders with the Membership Product
Hi, I have been trying to mimic the way the PTK (and zope.org) automatically creates a Member folder with specific objects, when someone signs up. I want to do something similar, but call it something other than Members/ and have 5 objects in a subfolder copied over to the User's directory that is created. Currently I am using the PTK, but am also interested in Bill's Membership Product. So, if anyone could guide me as to how I can achieve this with either, I would be very grateful. -- best regards, tav [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] A DTML problem using Namespaces
hi, i am running into a slight problem due to STILL not being able to understand namespaces perfectly, and would appreciate if someone could help out. - the situation is this: - i have a dtml document called "pageowners", on which i have a list property called owners. which changes every hour. lets assume right now, it says tav and Bill. now, in the same folder, i have a dtml method called "parseit", and i have three dtml documents, called "tav", "noa" and "Bill". there is a dtml document corresponding to each owner. each of the three documents have a title and content. parseit simply gives them a table layout, which simplified immensely, looks like: what i want to do is display whomever is listed as an owner, in such nice tables. - the problem is this: - in "standard_html_header", it looks up which owners are listed in "pageowners", and then runs through them in a sequence. however, (and this is where it gets tricky), i want the owners to be formatted by running them thru "parseit". however i get stuck when in parseit, as i dont know how to do , i tried to set Bill in the namespace by using , and then tried to call within "parseit" but that doesn't work :/ and, again, i want this to be done automatically, so i dont want to have to manually list Bill, tav, noa, etc i am pretty sure that DTML can handle this, and this is one of the reasons why i like zope, because it lends itself to a structured system which is easily maintainable, e.g. the owners could increase from 5 to a 1000, and this would still work. Any help would be much appreciated. Thanks in advance -- best regards, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] wherefore art thou NotMail?
i was going to make use of the Bank Holiday weekend by trying out some zope products that i havent had time to play with... and NotMail was high on my list. i managed to install the IMAP server that it needed and went to get the tarball, and it has gone missing from the zope.org site ;p can someone please direct me to where i might find this elusive product. thanks -- best regards, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] on ZCatalog
since ZCatalog refuses to work with SiteRoot (SiteAccess), i have thought of implementing a temporary solution of making a dtml method which: - deletes the SiteRoot object - traverses the site for ZWiki pages to add to the ZCatalog - adds the SiteRoot object back again i am lost as to the dtml for getting ZCatalog to find and update all the ZWiki pages... :/ also, can someone advise me on how often i should call this method... so as to not cause too much strain on the machine many thanks in advance -- best regards, tav http://plexnews.com
[Zope] a corrupted ZODB?
was working happily on the server, when all of a sudden it keeled over and didnt restart automatically. so, i went to restart it manually, and got the following error message: charizard:/usr/local/zope/z1# Traceback (innermost last): File "/usr/local/zope/z1/z2.py", line 554, in ? exec "import "+MODULE in {} File "", line 1, in ? File "/usr/local/zope/z1/lib/python/Zope/__init__.py", line 110, in ? DB=ZODB.FileStorage.FileStorage(Globals.BobobaseName) File "/usr/local/zope/z1/lib/python/ZODB/FileStorage.py", line 303, in __init__ self._pos, self._oid, tid = read_index( File "/usr/local/zope/z1/lib/python/ZODB/FileStorage.py", line 1515, in read_index if read(4) != packed_version: raise FileStorageFormatError, name ZODB.FileStorage.FileStorageFormatError: /usr/local/zope/z1/var/Data.fs i really really really hope that this isnt doesnt mean a corrupted ZODB. please say that it aint so, cos if it is - bye bye three weeks worth of work, including design and content ): -- hoping for a positive reply, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] Using ZCatalog with SiteAccess in Zope 2.2
ZCatalog does not seem to like Site Access2 i applied the patch from http://www.zope.org/Members/4am//SiteAccess/patch and then updated Zope with all the patches from CVS and it still gives me: Error Type: IndexError Error Value: list index out of range if i get rid of SiteRoot from the folder, then ZCatalog works, but Z Search Interface doesnt :/ any help would be much appreciated -- best regards, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] page properties (part II)
apologies if i overwhelmed people with the issues i was having. i should have probably dealt it out in smaller chunks. but, if anyone can help out with even just 1 of the 5 problems below, then i would very much appreciate it. heartful of thanks in advance. ;) -- best regards, tav - Original Message - From: "tav" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 01, 2000 11:10 AM Subject: [Zope] page properties (part II) > apologies for the delay with the site, to anyone who was expecting it, i had > some "real life" issues to deal with :/ which, i have now managed to deal > with for the time being, and got back to dear zope. i worked away at it all > nite, and ended up with a handful of problems, which i am hoping someone > will be able to solve ;) > > (1) following up from last time > > i thought it would be more functional if the user could define the pagename > and a pagetopic (section) and press enter, when the user does this, it sends > the info to a dtml document, which puts the page(pagename) into > managed_mode, and i would also like to now set the pagetopic as a new > property... page_topic > > atm, the code looks like this... > > -- > > > > -- > > but, i have no idea how i would get the second pagetopic passed along, and > set as a new property on whatever page, pagename is > > (2) sorting by two values > > i wa trying to sort through all the pages, and display the 10 most recently > changed ones which have page_status set to approved. > > -- > sort="bobobase_modification_time" reverse> > > > > > -- > > i came close with the above code, however, it sorts out the 10 most recent > pages first, and then 'filters' and displays the ones which have approved > status. whereas i want 10 approved pages :( > > (3) search > > how would i create a page that allowed people to search a host of pages by > specific properties, e.g. page_status or page_name? > > - so, user selects property from a drop-down list and types in what he is > searching for into a text field, and presses search. > > - perhaps even search by time? e.g. person says, only display pages created > in the last [person enters value here] days > > - and of course, search by time when last edited. person enters start time, > and end time, and all pages last edited within that time frame are shown > > - would it be possible for someone to search on two criteria? say page_name > and time last changed? > > (4) these questions related to PTK (i am running the latest CVS version) > > - the /Members/membername section seems to be fucked ): going there directly > tells me that the object cant be found. digging through the PTK-list, i > found out that /Members/membername/index_html/index_html works, but that is > one damned nuisance > > it works nicely on zope.org, so i am hoping that there is a workaround for > it ;) > > - i would like to also limit what users can upload to 100kb. any way of > doing this? > > (5) imo, this is the hardest of what i want to do > > in the root folder of the site, i have 3 "boxes" (box1, box2, box3 ;), these > are all dtml documents. each of those boxes have a corresponding, simple > dtml document: color1, color2, and color3 > > i also have a dtml document called featurepage, which looks like: > > -- > > > > > > > > > > > > > -- > > now, what i would like to do is, when user signs up (this uses PTK's default > system), featurepage is copied over to the user's directory > /Members/username > > again, i notice that zope.org copies over a zwiki folder... so this must be > possible. also, if possible, i would like to customise the user's > index_html, which i dont seem to be able to do atm :/ > > anyways, once the featurepage is copied over, i would like to let the user > do two things > > (1) tick which boxes they want to show > > (2) define which order they want the boxes they have chosen to appear... > > (3) define the different colors for the boxes that they have chosen > > letting a person do all this through a webpage "seems" to be possible, just > dont know how :/ > > apologies in advance for such a long list of problems. i have spent many > sleepless nites trying to work them all out. managed to solve half the > problems, but the above are beyond me ): > > thanks in advance for any help > > -- > best regards, tav > > > ps, with PTK, is there any way to copy a certain file/fodler into the > Members/username section of each member who has already registered? or does > this have to be done *shudder* manually? > > pps, with the PTK, is there any way to change the user's roles, e.g. add > Reviewer role to Member, without altering the password? thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] page properties (part II)
apologies for the delay with the site, to anyone who was expecting it, i had some "real life" issues to deal with :/ which, i have now managed to deal with for the time being, and got back to dear zope. i worked away at it all nite, and ended up with a handful of problems, which i am hoping someone will be able to solve ;) (1) following up from last time i thought it would be more functional if the user could define the pagename and a pagetopic (section) and press enter, when the user does this, it sends the info to a dtml document, which puts the page(pagename) into managed_mode, and i would also like to now set the pagetopic as a new property... page_topic atm, the code looks like this... -- -- but, i have no idea how i would get the second pagetopic passed along, and set as a new property on whatever page, pagename is (2) sorting by two values i wa trying to sort through all the pages, and display the 10 most recently changed ones which have page_status set to approved. -- -- i came close with the above code, however, it sorts out the 10 most recent pages first, and then 'filters' and displays the ones which have approved status. whereas i want 10 approved pages :( (3) search how would i create a page that allowed people to search a host of pages by specific properties, e.g. page_status or page_name? - so, user selects property from a drop-down list and types in what he is searching for into a text field, and presses search. - perhaps even search by time? e.g. person says, only display pages created in the last [person enters value here] days - and of course, search by time when last edited. person enters start time, and end time, and all pages last edited within that time frame are shown - would it be possible for someone to search on two criteria? say page_name and time last changed? (4) these questions related to PTK (i am running the latest CVS version) - the /Members/membername section seems to be fucked ): going there directly tells me that the object cant be found. digging through the PTK-list, i found out that /Members/membername/index_html/index_html works, but that is one damned nuisance it works nicely on zope.org, so i am hoping that there is a workaround for it ;) - i would like to also limit what users can upload to 100kb. any way of doing this? (5) imo, this is the hardest of what i want to do in the root folder of the site, i have 3 "boxes" (box1, box2, box3 ;), these are all dtml documents. each of those boxes have a corresponding, simple dtml document: color1, color2, and color3 i also have a dtml document called featurepage, which looks like: -- > > > -- now, what i would like to do is, when user signs up (this uses PTK's default system), featurepage is copied over to the user's directory /Members/username again, i notice that zope.org copies over a zwiki folder... so this must be possible. also, if possible, i would like to customise the user's index_html, which i dont seem to be able to do atm :/ anyways, once the featurepage is copied over, i would like to let the user do two things (1) tick which boxes they want to show (2) define which order they want the boxes they have chosen to appear... (3) define the different colors for the boxes that they have chosen letting a person do all this through a webpage "seems" to be possible, just dont know how :/ apologies in advance for such a long list of problems. i have spent many sleepless nites trying to work them all out. managed to solve half the problems, but the above are beyond me ): thanks in advance for any help -- best regards, tav ps, with PTK, is there any way to copy a certain file/fodler into the Members/username section of each member who has already registered? or does this have to be done *shudder* manually? pps, with the PTK, is there any way to change the user's roles, e.g. add Reviewer role to Member, without altering the password? thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] anyone skilled in the ways of changing page properties?
> tav, > > try > > manage_changeProperties(page_owner=AUTHENTICATED_USER.getUserName()) Phil, cheers, that works =) though, the strangest thing is that i had tried that and had gotten attribute errors, which i thought was arising due to the lack of ' ' around it... hmz, strange, but it works now... so. thanks i hope that i do justice to the help that you have all given me; i just need to do a bit more work, and then i can launch the site for everyone to see -- best regards, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] anyone skilled in the ways of changing page properties?
Chris Withers wrote: > Try changing all your _[pagename] to _.getitem(pagename,0), > especially when you're getting errors about strings not having > attributes. Chris, you are a star! I made the whole of the site in two days, but wasnt able to work out this particular problem for over another two days!. learnt a lot of dtml in an attempt to do so, but still hadnt solved it :/ once again, thanks Chris for the lifesaver. Also, special thanks to AdamK, who followed me up on IRC, and helped resolve it. now, only one more thing needs resolving... ... when i do the following: manage_changeProperties(page_owner=AUTHENTICATED_USER) i get the error - Error Type: ValueError Error Value: Invalid property value: wrapped object - course, if i put ' ' around AUTHENTICATED_USER, it works but it then uses that literally, which is not what is needed. any ideas as to how i can insert the username into the property field? much appreciated, and once again, thanks in advance. -- best regards, tav ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
[Zope] anyone skilled in the ways of changing page properties?
::: on a standard page served by zope, user enters pagename into a field and presses submit ::: createwikipage is a dtml method to which pagename is passed onto ::: a ZWiki page is now successfully created with the pagename specified by the user as the id ::: thanks to Geoff Gardiner's managed mode additions, the ZWiki page has an extra boolean property called managed_mode, which i would like to set to true (1) : this is where, my troubles begin, and i have tried with the help of those helpful souls in #zope on irc.openprojects.net, many many combinations the above proceeds with no problems, but doesnt change the managed_mode to 1 which again "works" but without any change like the first one, and after digging through the mailing list archive, i tried: which unfortunately leads to an attribute error with Error Value: 'string' object has no attribute 'propertysheets' i have tried god knows how many different combinations along similar lines, but they either give me zope errors or even worse, "work" but without having changed the value of the property. i would appreciate it if anyone could point me to what i am doing wrong here. i believe the main problem lies in "passing" the pagename to the dtml method for it to change the properties of. other than that, i have no idea what i am doing wrong, and i am close to tearing out my hair in frustration ::: now, if ever, i get that solved, i would also like to set the user who submitted the pagename as the page_owner of the new page. again, page_owner is a new ZWiki property due to Geoff's work =) and for this, i presume, whatever dtml works with the above change for managed mode, with the slight change of : manage_changeProperties(page_owner=AUTHENTICATED_USER) or manage_changeProperties('page_owner', 'AUTHENTICATED_USER.getUserName()', 'string') ::: now, i would like to create a new property on the ZWiki page, called page_creation_time, and set the the creation time/date as the value manage_addProperty('page_creation_time',ZopeTime(),'date') ::: and finally, the user is redirected to the editform of the page (and i am proud to say that this is working ;) if anyone can help me with the setting of the managed_mode, i would be delighted and they would earn a big spot on this site of mine and, if anyone can also provide code that works to set the page_owner and page_creation_time, then i will do anything to make you happy. thanks in advance for any help -- best regards, tav [slackware, running zope 2.2, served through Apache ProxyPass + Site Access, with ZWiki 0.6.1 with Geoff Gardiner's mm3 and the CVS version of PTK from two days ago] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )