RE: [Zope] Re: Lost in name Space...
You can also do the following: dtml-var "RandomGretting.Greet(_.None, _)" Jamey -Original Message- From: Prateep Siamwalla [SMTP:[EMAIL PROTECTED]] Sent: Friday, January 26, 2001 6:20 AM To: [EMAIL PROTECTED] Subject: [Zope] Re: Lost in name Space... Ok, found the answer: dtml-with RandomGreeting dtml-var Greet /dtml-with - Original Message - From: Prateep Siamwalla [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 26, 2001 5:55 PM Subject: Lost in name Space... Sorry if you happen to see this for the third time, I have been trying to post this on egroups, but have failed on several occasions. Hi, Zope newbie here, a bit lost on namespaces... I have created a folder in the zope root called "RandomGreeting". Inside this folder, there is one DTML METHOD called "Greet". "Greet" contains the following line: pdtml-var expr="_.whrandom.choice(sayHellos)"/p "sayHellos" is a property of the "RandomGreeting" folder, and contains 4 lines which are various ways to say hello : "Ola","Hi","Bonjour","Sawasdi". The purpose of this method is to print out a random greeting. Everytime i click "View" for this DTML Method, i get a random hello. Fine, that is exactly what I want. The problem is that I am trying to use this "method" from its parent folder (the root folder as a matter of fact). I have inserted the following bit into the top level "index_html" DTML Method of my Zope root near the begining, so that it produces a random hello on the front page everytime someone accesses it. I have tried : dtml-var RandomGreeting.Greet dtml-var RandomGreeting.Greet() dtml-var "RandomGreeting.Greet()" dtml-var /RandomGreeting/Greet all of these, to know avail. I am getting either a NameError or KeyError. I am pretty sure I'm missing a simple concept here. It is possible to call functions from child objects is it not? Please help with some enlightenment. Many thanks in advance. teep ___ 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 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] How to list objects across different containers in Zope's tree?
Ausum, It may be time to re-think your site structure. I have a news type site as well and here is how I handle it (my way... not saying it is by any means the best or right way). Instead of storing your news items in a series of folderish objects, maybe create folders for each section and then create a news item ZClass with the article date or goLiveDate as the ID. zopesite:8080/sports/2000.10.17/newsobjectid_htm Then do some dtml to pull out the ones you want on the main "sport/thislist_htm" page. Better yet use ZCatalog to search for the range of news items you want to appear in the list. Hope this helps!! Jamey Sintz -Original Message- From: Ausum [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 1:35 PM To: [EMAIL PROTECTED] Subject: [Zope] How to list objects across different containers in Zope's tree? Few days ago there was this same question although remained unsolved. This is the case for a news site: News objects are within section folders, within day folders, within months, and within a year folder. Just like this, at the root: http://zopesite:8080/2000/October/17/sports/newsobjectid_htm If I were at, ie, root/2001/January/thislist_htm , how can I list(and retrieve) sport news appeared from October 29th to November 10th in year 2000? Is it time to look for a database? Thanks in advance, Ausum ___ 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 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] How to list objects across different containers in Zope's tree?
Right off the top of my head, since the sections are folder objects you could simply dtml-in through the folders and then inbed another dtml-in. Example (nothing fancy). I did not include any date range stuff, but you can probably figure that out on your own. It may be better to include a 'section' property in your zClass and then just search your Catalog (see catalog example below for an UNTESTED example). dtml-in "objectValues(['Folder'])" dtml-var name_or_idbr !-- now use the folder id to move into the correct namespace -- dtml-with id !-- news stories here -- dtml-in "objectValues(['newItems'])" dtml-var headlinebr dtml-var summarybr /dtml-in br /dtml-with br /dtml-in Catalog example dtml-in "objectValues(['Folder'])" dtml-var name_or_idbr dtml-in "Catalog( { 'meta_type' : 'newsItem', 'section' : id, 'goLiveDate' : [ 2000/27/12 , 2001/05/01], 'goLiveDate_usage' : 'range:min:max' } )" dtml-var headlinebr dtml-var summarybr /dtml-in br /dtml-in -Original Message- From: Ausum [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, January 17, 2001 3:18 PM To: James Sintz; [EMAIL PROTECTED] Subject: Re: [Zope] How to list objects across different containers in Zope's tree? Thanks for the tip, James. It seems a clever approach although I must keep it for the time being. Anyway if that were the case, the question could be this one: How can I list all the headlines and summaries for all the news appeared for sports, locals and politics sections (in example) from December 27th,2000 and January 5th, 2001 ? Greetings, Ausum James Sintz wrote: Ausum, It may be time to re-think your site structure. I have a news type site as well and here is how I handle it (my way... not saying it is by any means the best or right way). Instead of storing your news items in a series of folderish objects, maybe create folders for each section and then create a news item ZClass with the article date or goLiveDate as the ID. zopesite:8080/sports/2000.10.17/newsobjectid_htm Then do some dtml to pull out the ones you want on the main "sport/thislist_htm" page. Better yet use ZCatalog to search for the range of news items you want to appear in the list. Hope this helps!! Jamey Sintz ___ 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] Re: EMarket 0.1.04b1
Steve, I think that may be what I'm missing. I don't see any way to add MarketItems from within the marketItems folder. The only form is ShopperMarketItemAddForm which doesn't seem to let me actually add MarketItems and always returns the following message "You must be validated for submission first..." no matter who I am logged in as (Zope manager or EMartket Shopper). Is a ShopperMarketItem the same as a MarketItem? I'm aware that more effort is being put into 0.2 for obvious reasons so I don't want to take up too much more of your time. I just really don't need the power of the ZPattern version nor do I want to waste time trying to get ZPatterns installed. I have tried a few of the other e-commerce products and EMartet seems to have the best mix of simplicity and power. Thanks!! Jamey -Original Message- From: Steve Spicklemire [SMTP:[EMAIL PROTECTED]] Sent: Monday, January 08, 2001 10:36 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope] Re: EMarket 0.1.04b1 Hi Jamey, Sorry.. you're right. I haven't used 0.1.x in quite a while. Have you tried just using the administrative interface to add a MarketItem in the marketItems folder? -steve "James" == James Sintz [EMAIL PROTECTED] writes: James Do I need to have ZPatterns installed to use Emarket James 0.1.04b1? I thought Zpatterns was only needed for EMarket James 0.2. James Jamey James -Original Message- From: Steve Spicklemire To: James [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] James Sent: 1/8/2001 4:25 PM Subject: [Zope] Re: EMarket 0.1.04b1 James Sorry.. it's my fault for not providing better docs.. sadly James it's not been something I've had time for... esp since all James the ZPatterns changes were added. James 1) Create ZClasses for your MarketItems, Baskets, James BasketItems and Shoppers (be sure to subclass from James ZPatterns:DataSkin) James 2) In the Racks for each of these Specialists set the James storage to the appropriate ZClass. James 3) There is a very simple marketItem management interface James in the marketItems specialist that you should modify to James suit your taste. It should be enough to get you going. James When I get some time... dunno when... I'll try to make a James more complete example for folks. James -steve "James" == James Sintz [EMAIL PROTECTED] writes: James Perhaps I'm missing something fundamental, but I can't seem James to figure out how to add products to EMarket 0.1.04b1 James running on Zope 2.2.2 James Everything installed just fine and I can add an EMarket James object, but I don't see where, or how I go about adding James things to sell. I don't care about the auction features, I James just want to sell a handful of products on my site. James When I go to the MarketItems folder, and try submitting an James item using the ShopperMarketItemAddForm it returns a screen James saying "You must be validated for submission first...". I James am logged in as a manager. If I log out and then register a James new user and then try I'm told I don't have permission to James add a new MarketItem. What gives? The read me doesn't James provide much insight on what I am doing wrong. Are there James zClasses I need to add or templates I need to create before James the thing will work? Thanks!! Jamey James ___ Zope James maillist - [EMAIL PROTECTED] James http://lists.zope.org/mailman/listinfo/zope ** No cross James posts or HTML encoding! ** (Related lists - James http://lists.zope.org/mailman/listinfo/zope-announce James http://lists.zope.org/mailman/listinfo/zope-dev ) ___ 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 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] EMarket 0.1.04b1
Perhaps I'm missing something fundamental, but I can't seem to figure out how to add products to EMarket 0.1.04b1 running on Zope 2.2.2 Everything installed just fine and I can add an EMarket object, but I don't see where, or how I go about adding things to sell. I don't care about the auction features, I just want to sell a handful of products on my site. When I go to the MarketItems folder, and try submitting an item using the ShopperMarketItemAddForm it returns a screen saying "You must be validated for submission first...". I am logged in as a manager. If I log out and then register a new user and then try I'm told I don't have permission to add a new MarketItem. What gives? The read me doesn't provide much insight on what I am doing wrong. Are there zClasses I need to add or templates I need to create before the thing will work? Thanks!! Jamey ___ 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] Re: EMarket 0.1.04b1
Do I need to have ZPatterns installed to use Emarket 0.1.04b1? I thought Zpatterns was only needed for EMarket 0.2. Jamey -Original Message- From: Steve Spicklemire To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: 1/8/2001 4:25 PM Subject: [Zope] Re: EMarket 0.1.04b1 Sorry.. it's my fault for not providing better docs.. sadly it's not been something I've had time for... esp since all the ZPatterns changes were added. 1) Create ZClasses for your MarketItems, Baskets, BasketItems and Shoppers (be sure to subclass from ZPatterns:DataSkin) 2) In the Racks for each of these Specialists set the storage to the appropriate ZClass. 3) There is a very simple marketItem management interface in the marketItems specialist that you should modify to suit your taste. It should be enough to get you going. When I get some time... dunno when... I'll try to make a more complete example for folks. -steve "James" == James Sintz [EMAIL PROTECTED] writes: James Perhaps I'm missing something fundamental, but I can't seem James to figure out how to add products to EMarket 0.1.04b1 James running on Zope 2.2.2 James Everything installed just fine and I can add an EMarket James object, but I don't see where, or how I go about adding James things to sell. I don't care about the auction features, I James just want to sell a handful of products on my site. James When I go to the MarketItems folder, and try submitting an James item using the ShopperMarketItemAddForm it returns a screen James saying "You must be validated for submission first...". I James am logged in as a manager. If I log out and then register a James new user and then try I'm told I don't have permission to James add a new MarketItem. What gives? The read me doesn't James provide much insight on what I am doing wrong. Are there James zClasses I need to add or templates I need to create before James the thing will work? Thanks!! Jamey ___ 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 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] ZCatalog and dates
I have a ZCatalog set up to index a date field and a title field. When I do a search for meta_type "news" I get a tabular list back of all 18 cataloged items showing, among other things the date field (goLiveDate) and the title field. If I do a search for both meta_type of "news" a date of 2000/11/16 in the goLiveDate field the results page returns "There was no data matching this Catalog query". Yet when I do a search for the meta_type of "news" alone I see that indeed the Catalog contains 2 entries with 2000/11/16 in the goLiveDate field. Why doesn't it find any entries when I search by date? Jamey ___ 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] ZCatalog and dates
They are a date type. The date index or goLiveDate index is now a keyword index instead of a text index. However, when I try to find items of the meta_type "news" to catalog I get an AttributeError with an error value of __getitem__ !-- Traceback (innermost last): File /usr/local/Zope222/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /usr/local/Zope222/lib/python/ZPublisher/Publish.py, line 187, in publish File /usr/local/Zope222/lib/python/Zope/__init__.py, line 221, in zpublisher_exception_hook (Object: Traversable) File /usr/local/Zope222/lib/python/ZPublisher/Publish.py, line 171, in publish File /usr/local/Zope222/lib/python/ZPublisher/mapply.py, line 160, in mapply (Object: manage_catalogFoundItems) File /usr/local/Zope222/lib/python/ZPublisher/Publish.py, line 112, in call_object (Object: manage_catalogFoundItems) File /usr/local/Zope222/lib/python/Products/ZCatalog/ZCatalog.py, line 335, in manage_catalogFoundItems (Object: Traversable) File /usr/local/Zope222/lib/python/Products/ZCatalog/ZCatalog.py, line 584, in ZopeFindAndApply (Object: Traversable) File /usr/local/Zope222/lib/python/Products/ZCatalog/ZCatalog.py, line 572, in ZopeFindAndApply (Object: Traversable) File /usr/local/Zope222/lib/python/Products/ZCatalog/ZCatalog.py, line 377, in catalog_object (Object: Traversable) File /usr/local/Zope222/lib/python/Products/ZCatalog/Catalog.py, line 379, in catalogObject File /usr/local/Zope222/lib/python/SearchIndex/UnKeywordIndex.py, line 32, in index_object File /usr/local/Zope222/lib/python/DateTime/DateTime.py, line 1096, in __getattr__ AttributeError: (see above) -- What am I doning wrong?? Jamey -Original Message- From: Andy McKay [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, November 28, 2000 3:10 PM To: James Sintz; [EMAIL PROTECTED] Subject: Re: [Zope] ZCatalog and dates Are your dates actually of type date or string? If they are dates make sure your date index is a keyword index and that the input is also of type date. -- Andy McKay, Developer. ActiveState. - Original Message - From: "James Sintz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 28, 2000 11:37 AM Subject: [Zope] ZCatalog and dates I have a ZCatalog set up to index a date field and a title field. When I do a search for meta_type "news" I get a tabular list back of all 18 cataloged items showing, among other things the date field (goLiveDate) and the title field. If I do a search for both meta_type of "news" a date of 2000/11/16 in the goLiveDate field the results page returns "There was no data matching this Catalog query". Yet when I do a search for the meta_type of "news" alone I see that indeed the Catalog contains 2 entries with 2000/11/16 in the goLiveDate field. Why doesn't it find any entries when I search by date? Jamey ___ 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 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] Help!!! (was: sudden ZClass breakage)
My ZClass is broken, but only in Zope 2.2.2 why? I exported my ZClass and imported it into a Zope 2.2.0 installation and it works GREAT. I figured, some how, I must have really screwed up my 2.2.2 installation so I removed it off my server. I then downloaded and installed 2.2.2 again, installed all the products that I use (same products on the 2.2.0 server) and then imported my ZClass. I tried to add an instance and it errors out with "Invalid Date-Time String" again. What is up??? Could some Zope power user fill me in? Why would the same ZClass work fine in 2.2.0 and not work in 2.2.2? HELP!!! Thanks! Jamey -Original Message----- From: James Sintz [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 5:17 PM To: '[EMAIL PROTECTED]' Subject: RE: [zope] sudden ZClass breakage Only seen a couple of posts on this and the suggested fixes did NOT work. My ZClass was working fine until I added a new string type property and now my date type property seems broken. I can't see any reason why I would be getting "Invalid Date-Time String", especially when it was working fine. I'm happy post my code if that will help. Any ideas?? Jamey -Original Message- From: Timothy Wilson [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 4:46 PM To: James Sintz Subject:RE: [zope] sudden ZClass breakage On Fri, 10 Nov 2000, James Sintz wrote: Did you ever figure out how to fix your ZClass problem? I have a application I have been working on and and all of a sudden today I start getting the same error message "Invalid Date-Time String" . The odd thing is that it is only broken when I try and add an instance from my custom add form. When I use the management screen to add the instance my goLiveDate field works just fine. I've never gotten an answer. I figured I would work on other things and wait for 2.2.3 and see if that made any difference. If it doesn't, I'll make some more noise or dig in deeper and try to figure out what's going on. :-( -Tim Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid Date-Time String" and a lengthy traceback. I'm wondering if anyone can glean anything from the traceback. Is this one of those obvious errors that I'm just missing? I'm really puzzled. Any advice would be appreciated. -Tim ___ 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 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] dtml-if and dtml-with problems
Could someone tell me why the follow statement is never true. dtml-in "news.objectValues(['newsLetters'])" sort="nl_goLiveDate" dtml-if "nl_goLiveDate == '2000/11/16'" h2dtml-var nl_subject - dtml-var nl_goLiveDate/h2 p dtml-var nl_body fmt=structured-text /p /dtml-if /dtml-in The news folder contains several newsletters and one of them DOES have a 'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always false. What obvious mistake am I making? Ideally I would like the page to show only the newsletter that has the same date as today's date. Jamey ___ 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] dtml-if and dtml-with problems
Thanks that did the trick... dtml-if "_.str(nl_goLiveDate) == ZopeTime().strftime('%Y/%m/%d')" also found out that dtml-if "nl_goLiveDate.strftime('%Y/%m/%d') == ZopeTime().strftime('%Y/%m/%d')" works as well. -Original Message- From: Andy McKay [SMTP:[EMAIL PROTECTED]] Sent: Thursday, November 16, 2000 12:45 PM To: James Sintz; [EMAIL PROTECTED] Subject: Re: [Zope] dtml-if and dtml-with problems If your nl_goLiveDate is a date, then you might need to str() the variable dtml-if "_.str(nl_goLiveDate)=='2000/11/16'" -- Andy McKay, Developer. ActiveState. - Original Message - From: "James Sintz" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 16, 2000 9:13 AM Subject: [Zope] dtml-if and dtml-with problems Could someone tell me why the follow statement is never true. dtml-in "news.objectValues(['newsLetters'])" sort="nl_goLiveDate" dtml-if "nl_goLiveDate == '2000/11/16'" h2dtml-var nl_subject - dtml-var nl_goLiveDate/h2 p dtml-var nl_body fmt=structured-text /p /dtml-if /dtml-in The news folder contains several newsletters and one of them DOES have a 'nl_goLiveDate' of 2000/11/16 yet the above express seems to be always false. What obvious mistake am I making? Ideally I would like the page to show only the newsletter that has the same date as today's date. Jamey ___ 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 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] sudden ZClass breakage
Only seen a couple of posts on this and the suggested fixes did NOT work. My ZClass was working fine until I added a new string type property and now my date type property seems broken. At least broken when I attempt creating an instance via my custom add form. If I add an instance via the management screen it works fine. I have gone as far as scrapping my custom form and rebuilding it. I can't see any reason why I would be getting "Invalid Date-Time String", especially when it was working fine. I'm happy post my code if that will help. Any ideas?? Jamey -Original Message- From: Timothy Wilson [SMTP:[EMAIL PROTECTED]] Sent: Friday, November 10, 2000 4:46 PM To: James Sintz Subject: RE: [zope] sudden ZClass breakage On Fri, 10 Nov 2000, James Sintz wrote: Did you ever figure out how to fix your ZClass problem? I have a application I have been working on and and all of a sudden today I start getting the same error message "Invalid Date-Time String" . The odd thing is that it is only broken when I try and add an instance from my custom add form. When I use the management screen to add the instance my goLiveDate field works just fine. I've never gotten an answer. I figured I would work on other things and wait for 2.2.3 and see if that made any difference. If it doesn't, I'll make some more noise or dig in deeper and try to figure out what's going on. :-( -Tim Hi everyone, I've been working away on a ZClass-based product that will provide a searchable job board for our Human Resources Dept. here at school. Things were going along fine until, it seemed, out of the blue I started getting an error message about an "Invalid Date-Time String" and a lengthy traceback. I'm wondering if anyone can glean anything from the traceback. Is this one of those obvious errors that I'm just missing? I'm really puzzled. Any advice would be appreciated. -Tim ___ 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] calendar help (newbie)
I want to use the Calendar Tag product to display the subject of my daily newsletters (newsletter archive), but there are no examples of how to display anything other than propval stuff. I would like the calendar to show the subject for each day and link to the newsletter but only show newsletters prior to or equal to today's date (I create most of them weeks in advance). The newsletters are created with a zclass and have a subject, goLiveDate and body fields. Anyone have example of how to do something like this? Thanks!! Jamey ___ 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] importing data
I have created a simple zclass product for a web based newsletter. Each day's newsletter is input into a form and added into the ZODB as instances of this newsletter zclass. My question is... how do I import 2 years worth of newsletters from tab delimited files exported from another database? I searched the archives and how-to section and could not find the answer. Is this possible to do? Thanks!! Jamey ___ 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 )