Re: [Zope] Z SQL Method question
Hello Thomas, Thanks for your response. Onthis moment my databse writing isbased on DTML. The problem is that when I test this ZMySQL Methodit's working. Arguments: ID:int=1voornaam:string=""achternaam:string="" Query: INSERT INTO users SETID = 1234567894,voornaam = 'Martin',achternaam = 'Koekenberg' Everything is writen in the database. Now the following I submit a form (build with formulator). The action point to a dtml Method witch calls the above Z MySQL Method (dtml-call write_user). Nothing is happening I'm doing something wrong, but what.. The next step is to remove the valuea and replace them with a dtml-sqlvar .. and replace the dtml-call write_user with dtml-call write_user(field_id,field_voornaam,field_acyternaam Can you help me withe the next step I't the first time that I use MySQL/Zope and Z MySQL Method. Regards, Martin Koekenberg -Original Message-From: Thomas Bennett [EMAIL PROTECTED]To: zope@zope.orgDate: Fri, 26 May 2006 09:16:24 -0400Subject: Re: [Zope] Z SQL Method question With a lack of information here I'll answer based fully on assumption based on dtml. In your form the action should go to a dtml method.form action="" ... The dtml method should have a call to your Z SQL Methoddtml-call my_sql_methodAnd then you can add anything in the dtml method which will be viewed as the response page to the user that submitted the form. You can also do some validation here if needed, with conditional statements. I usually add a redirect under the dtml-call to go to a different response page to the user because if the user reloads the page with the dtml-call it will send the data to the database again unless there is a conflict like unique fields etc.. orAre you using ZPT?ThomasOn Friday 26 May 2006 08:54, Martin Koekenberg wrote: Hello, Who has experience with Z SQL Method. I Created a from to enten some data into MySQL server. I used Z SQL Method to write the dat into the databse. Everytime I submit the form I get a screen with the field in my Z SQL Method component. How can I write the dat from a form into my database at once by using Z SQL Method ? I tested the database connetion, that is working. Regards, Martin Koekenberg-- Thomas McMillan Grant Bennett Appalachian State UniversityComputer Consultant III P O Box 32026University Library Boone, North Carolina 28608(828) 262 6587An important measure of effort in coding is the frequency with which you write something that doesn't actually match your mental representation of the problem, and have to backtrack on realizing that what you just typed won't actually tell the language to do what you're thinking. -Eric RaymondLibrary Systems Help Desk: http://linux.library.appstate.edu/help ___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 ) ___ 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 )
[Zope] Z SQL Method question
Hello, Who has experience with Z SQL Method. I Created a from to enten some data into MySQL server. I used Z SQL Method to write the dat into the databse. Everytime I submit the form I get a screen with the field in my Z SQL Method component. How can I write the dat from a form into my database at once by using Z SQL Method ? I tested the database connetion, that isworking. Regards, Martin Koekenberg ___ 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 )
[Zope] DTML-In with date/time filter
Hallo, I can create a dtml-in filte with the following code: return [doc for doc in context.objectValues('DTML Document') if doc.getProperty('a')!='de'] How can I do the same with a date or time ? Regards, Martin Koekenberg -Original Message-From: Tino Wildenhain [EMAIL PROTECTED]To: Martin Koekenberg [EMAIL PROTECTED]Cc: zope@zope.orgDate: Wed, 08 Mar 2006 14:43:41 +0100Subject: Re: [Zope] DTML-In with filter Martin Koekenberg schrieb: Hello, Is it possible to use a DTML-In to display all DTML Documents in a folder exept the one's with a centain value in a property ? Example. DTML Document one with property a=bc DTML Document two with property a=de DTML Document three with property a=bc Now I want to use DTML-IN to display all the dtml documents except the ones with property a=de. I also use the size and batchsize property to create links to the next 10 documents. If I use an if statement the next 10 can be 9 ore less 9 items because there could be one ore more documents with a=de. Just drop this DTML... or at least get help from python:return [doc for doc in context.objectValues('DTML Document') if doc.getProperty('a')!='de'](python script or the like would be your friend - alsoit makes it possible to replace the quite costy objectValues()call with ZCatalog query w/o changing your presentation code)RegardsTino ___ 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 )
Re: [Zope] DTML-In with date/time filter
HelloAndreas, I use this code in a Python script and call this script within a DTML-IN statement. What I need is a script to get only items with a date in the future, today or in the past. The objects are DTML Documents with a date property field. Regards Martin Koekenberg -Original Message-From: Andreas Jung [EMAIL PROTECTED]To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.orgDate: Wed, 03 May 2006 12:20:33 +0200Subject: Re: [Zope] DTML-In with date/time filter --On 3. Mai 2006 12:17:36 +0200 Martin Koekenberg [EMAIL PROTECTED] wrote: Hallo, I can create a dtml-in filte with the following code: return [doc for doc in context.objectValues('DTML Document') if doc.getProperty('a')!='de']Using "return" in DTML does not make sense. Writing such code in DTMLis bad-style. Use Pythonscript for this code and call the script fromDTML (btw. better user ZPT). How can I do the same with a date or time ?What does that mean?-aj-- ZOPYX Ltd. Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376E-Publishing, Python, Zope Plone development, Consulting ___ 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 )
RE: [Zope] error with repozo.py
Hmm, There could be something wrong. I get this: ['', '/usr/lib/python23.zip', '/usr/lib/python2.3', '/usr/lib/python2.3/plat-linux2', '/usr/lib/python2.3/lib-tk', '/usr/lib/python2.3/lib-dynload', '/usr/lib/python2.3/site-packages', '/usr/lib/python2.3/site-packages/PIL', '/usr/lib/python2.3/site-packages/gtk-2.0'] How do I set the right path in Python ? Regards, Martin Koekenberg Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Bernd Dorn Verzonden: maandag 20 maart 2006 8:49 Aan: [Zope] List Mailing Onderwerp: Re: [Zope] error with repozo.py On 20.03.2006, at 07:45, Martin Koekenberg wrote: Hello, I get an error when I want to create a backup with repozo.py. Traceback (most recent call last): File ./repozo.py, line 74, in ? from ZODB.FileStorage import FileStorage ImportError: No module named ZODB.FileStorage I already searched with google for a solution. I found that it could be a problem with PYTHONPATH, but Ive set this path already. are you sure, looks as if the path is not correct you have to set it to your-zope-installation-directory/lib/python just startup the python interpreter and type import sys; sys.path then it should print the path defined above, if not something is wrong What else can be wrong ? Regards, Martin Koekenberg ___ 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 ) ___ 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 )
[Zope] error with repozo.py
Hello, I get an error when I want to create a backup with repozo.py. Traceback (most recent call last): File ./repozo.py, line 74, in ? from ZODB.FileStorage import FileStorage ImportError: No module named ZODB.FileStorage I already searched with google for a solution. I found that it could be a problem with PYTHONPATH, but Ive set this path already. What else can be wrong ? Regards, Martin Koekenberg ___ 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 )
[Zope] Error: gaierror: (-2, 'Name or service not known')
Hello, I get the following error: gaierror: (-2, 'Name or service not known') This happens with some objects in Zope, not all. Does anybody know what this means ? Zope : 2.8.5 OS: CentOS 4.2 Python: 2.3.4 Here are the details: Time 2006/03/13 21:59:52.768 GMT+1 User Name (User Id) Martin Koekenberg (Martin Koekenberg) Request URL http://klanten.digital-adventures.nl/swsportmassage/Downloads/achillespeesblessure.pdf/index_html Exception Type gaierror Exception Value (-2, 'Name of service not known') Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish Module ZPublisher.mapply, line 88, in mapply Module ZPublisher.Publish, line 40, in call_object Module OFS.Image, line 386, in index_html Module OFS.Image, line 269, in _range_request_handler Module mimetools, line 130, in choose_boundary gaierror: (-2, ' Name of service not known ') Who can help me ? Regards, Martin Koekenberg ___ 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 )
[Zope] DTML-In with filter
Hello, Is it possible to use a DTML-In to display all DTML Documents in a folder exept the one's with a centain value in a property ? Example. DTML Documentone with property a=bc DTML Document two with property a=de DTML Documentthree with property a=bc Now I want to use DTML-IN to display all the dtml documents except the ones with property a=de. I also use the size and batchsize property to create links to the next 10 documents. If I use an if statementthe next 10can be 9 ore less9items because there could beone ore more documents with a=de. Who can help me ? regards, Martin Koekenberg ___ 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 )
[Zope] FTP rights problem
Hello, When a user connects with FTP to a Zope folder with only rights onthat subfolder he can'tcreate a folder or delete files.He hasthe Manager role and all the rights. Is this a bug or doI have to give this user Manager rights to the root of the zope instance ? Or is there an other solution to get the FTP working ? Regards, Martin Koekenberg ___ 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 )
[Zope] Creating a DTM Document in a variable folder.
Hello, I don'thave any Python experience yet, so who has a solution for this 'problem'. Example: I 've 3 folders a, b c. I want to create a dtml document in a folder by a form. The folder is a variable in my form. The formis no problem, the form action is no problem. The python script to craete that document is my problem. How can I create a DTM Document in a variable container ? Regards, Martin Koekenberg ___ 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 )
Re: [Zope] convert DTML Document to a folder.
yes, That was my idea. Is there a solution for that convert. Martin Koekenberg -Original Message-From: Jonathan Cyr [EMAIL PROTECTED]To: Martin Koekenberg [EMAIL PROTECTED]Cc: zope@zope.org Date: Fri, 18 Nov 2005 17:21:00 -0500Subject: Re: [Zope] convert DTML Document to a folder.So, you'd like to turn an independent entry into a container to hold more info? -JonMartin Koekenberg wrote: The DTML Documents are userinfo documents. I want to create a photoorder form and generate a dtml document with that users orders. I want to place that in his user folder. Martin Koekenberg -Original Message- From: Andreas Jung [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.org Date: Wed, 16 Nov 2005 15:42:35 +0100 Subject: Re: [Zope] convert DTML Document to a folder. --On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj ___ 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 ) -- Jonathan Cyr http://www.cyr.info http://www.weddingweblog.com [EMAIL PROTECTED] ___ 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 )
Re: [Zope] convert DTML Document to a folder.
The DTML Documents are userinfo documents. I want to create a photoorder form and generate a dtml document with that users orders. I want to place that in his user folder. Martin Koekenberg -Original Message- From: Andreas Jung [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED], zope@zope.org Date: Wed, 16 Nov 2005 15:42:35 +0100 Subject: Re: [Zope] convert DTML Document to a folder. --On 16. November 2005 15:35:14 +0100 Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Converting a piece of textual content to a folder makes no sense. WHat are you trying to do??? -aj ___ 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 )
[Zope] convert DTML Document to a folder.
Hello, Is it possible to convert a DTML Document to a folder, Both with properties ? I use Zope 2.8.4. Regards, Martin Koekenberg ___ 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 )
[Zope] Parse a XML file in Zope, zopeXMLmethods Product not working in Zope 2.8.1
Hello, I've a xml file on the file system (the source is on an other webserver and the download is scheduled). How ca I parse this file with a xslt in Zope. ZopeXMLmethods isn't working annymore in Zope 2.8.1. Does annyone knows a Product of method to parse xml in Zope without the zopeXMLmethods product ? Regards, Martin Koekenberg ___ 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 )
Re: [Zope] Strange warning after removing products
Hello All, You put me into the right way. I found a good function in SupperLogger. Just instal and uninstal that product and it will cleanup the control pannel. Regards, Martin Koekenberg Peter Bengtsson schreef: http://www.peterbe.com/uninstall-LeakFinder On 9/10/05, Martin Koekenberg [EMAIL PROTECTED] wrote: Hello, A while ago I used the products 'Superlogger' and 'Quicklinks.' I Also removed 'PlacelessTranslationService'. All the products were available in the control_panel. But I still get the following warnings ? 2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks' Does anybody has a solutiuon for this ? Zope is still running. but the warning isn't there without a reason. regards, Martin Koekenberg ___ 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 ) ___ 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 )
[Zope] Put a property value for a DTML document in Formulator field
Hello, Im building a edit form. The original values are in a DTML document. My question, how can I get a default value from a DTML Document property in formulator field (string) as de default value ? regards, Martin Koekenberg ___ 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 )
[Zope] Strange warning after removing products
Hello, A while ago I used the products 'Superlogger' and 'Quicklinks.' I Also removed 'PlacelessTranslationService'. All the products were available in the control_panel. But I still get the following warnings ? 2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks' Does anybody has a solutiuon for this ? Zope is still running. but the warning isn't there without a reason. regards, Martin Koekenberg ___ 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 )
Re: [Zope] Strange warning after removing products
Hello, These were all products for the configuration panel. Ik see that they are broken, but how can I remove them there ? Martin Koekenberg Bakhtiar A Hamid schreef: On 9/10/05, *Martin Koekenberg* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: snip But I still get the following warnings ? 2005-09-10 16:49:05 WARNING ZODB Could not import class 'PlacelessTranslationService' from module 'Products.PlacelessTranslationService.PlacelessTranslationService' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'SuperLogger' from module 'Products.SuperLogger.SuperLogger ' 2005-09-10 16:49:05 WARNING ZODB Could not import class 'QuickLinks' from module 'Products.QuickLinks.QuickLinks' Does anybody has a solutiuon for this ? Zope is still running. but the warning isn't there without a reason. probably because you still have instances of these products? try and remove all broken instances of the products. hth regards, Martin Koekenberg ___ Zope maillist - Zope@zope.org mailto: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 http://mail.zope.org/mailman/listinfo/zope-dev ) -- http://myzope.kedai.com.my - my-zope org ___ 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 )
[Zope] How to create a folder in a just created folder using a python script.
Hello, In a python script I use teh following line to create a folder: context.manage_addProduct['OFSP'].manage_addFolder(Unique, title=field_titel) Unique is a unique ID. How can I create to folder is this folder in the same script ? regards, Martin Koekenberg ___ 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 )
[Zope] Zip upload in Photo-1.3.0 doesn't work
Hello, Does anybody use the zip upload in the latest Photo product (1.3.0) ? There is a ftp bug in that release but is has a zip upload feature (that also doesnt work with me). I use Zope 2.7.7 on a Red Hat fedora core 4. Thanks for the help. Martin Koekenberg ___ 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 )
Re: [Zope] recommend a provider
Hello Frank, Where do you want a zope provider and what do you expect from that provider ? Martin Koekenberg -Original Message-From: fs1 [EMAIL PROTECTED]To: zope@zope.org Date: Fri, 03 Jun 2005 08:13:15 -0400Subject: [Zope] recommend a provider Can someone recommend a zope enabled internet provider? Frank ___ 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 )
Re: [Zope] recommend a provider
I can offer you zope hosting in the Netherlands (Zwolle).We are just starting this service after good experiance with zope development foor ourselfs. Martin -Original Message-From: fs1 [EMAIL PROTECTED]To: Martin Koekenberg [EMAIL PROTECTED]Date: Fri, 03 Jun 2005 08:20:59 -0400Subject: Re: [Zope] recommend a provider I'm looking for one that would have enough modules so that I can create an online newspaper. As for the location, I dont think that matters...yes? Frank - Original Message - From: Martin Koekenberg To: zope@zope.org Sent: Friday, June 03, 2005 8:16 AM Subject: Re: [Zope] recommend a provider Hello Frank, Where do you want a zope provider and what do you expect from that provider ? Martin Koekenberg -Original Message-From: fs1 [EMAIL PROTECTED]To: zope@zope.orgDate: Fri, 03 Jun 2005 08:13:15 -0400Subject: [Zope] recommend a provider Can someone recommend a zope enabled internet provider? Frank ___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 ) ___ 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 )
[Zope-dev] How to get 4 Random DTML Documents
Hello, With "dtml-with expr="_.whrandom.choice(links.objectValues('DTML Document'))"" I can gert a radom DTML Dotument. But howcan I et 4 random documents with a probely a dtml-in size =4... statement ? Greetings, Martin Koekenberg ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] TAL, DTML Folder question
Hello, I've the following line in a pagetemplate at the root of my site : span tal:content=structure template/masters/nieuws/homenews/span homenews is a DTML Method with the following code : div align=center class=titelLaatste Masters nieuws/div img src=gfx/tabel/lijn.gif width=100% height=2br dtml-in expr=objectValues('DTML Document') reverse size=3 sort=id orphan=0 dtml-if Publish dtml-var Date fmt=%d-%m-%Y:nbsp; a href=masters/nieuws/dtml-var id/newstemplatedtml-var title/abr /dtml-if /dtml-in This code has to show the last 3 news items (DTML Document's). Something is going wrong with a folder or somethin like that because the DTML Method show no news items. Mayby because there are no DTML Document with the right properties in the root. How can I tel Tal or the DTML Method to look for the news items in the following folder: /masters/nieuws Who can help me ? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
[Zope-dev] Double products in management interface pulldown menu after database copy to new zope version.
Hello, I've made the step from 2.6.2b5 to 2.6.2. Everything is working well, butsomething went wrong. In the management interface are some option in the pulldown menu listed twice: DTML Document DTML Document DTML Method DTML Method File File Folder Folder Image Image User Folder User Folder Version Version How can I correct this ? Thanks, Martin Koekenberg ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )
Re: [Zope-dev] Double products in management interfacepulldownmenu after database copy to new zope version.
Hello Leonard, This worked... Thankx Martin Koekenberg - Original Message - From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Martin Koekenberg [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 1:31 PM Subject: Re: [Zope-dev] Double products in management interfacepulldownmenu after database copy to new zope version. On Wed, 2003-11-05 at 09:40, Martin Koekenberg wrote: Hello Leonardo, Ok but where can I find those default products. Only the default products are listed twice, the others apear once in the list. Well, I told you to delete all the products in the Control_Panel, if everything works as I expect, after you restart Zope, it will reinitialize all disk products and only add the menu items once... But I really have no idea whether this will work for you. Cheers, Leo -- Ideas don't stay in some minds very long because they don't like solitary confinement. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )