[Zope] help with running a dtml method

2009-03-26 Thread Dvir Bar-lev
Hi I have a site with the following folder structure in zope: Dvir WebSite contentPages I have and index_html in the WebSite folder, in it I call a dtml method that's in the contentPages folder named overview_html, in the same folder (content Pages) I have another dtm

[Zope] calling javascript method from dtml method

2009-03-15 Thread Dvir Bar-lev
Hi Is there any way to call a javascript method from a dtml method somewhere in the body of it? The method cam be in a different js file which is preferable or in the dtml method if there is no other way, from what I found on the web it looks like I can't but I want to make sure that I didn't

Re: [Zope] CookieCrumbler question

2009-03-12 Thread Dvir Bar-lev
same behavior as if I was logged in. Is this supposed to work like this? If not than how can I fix it? From: Thibaud Morel l'Horset [mailto:tee...@gmail.com] Sent: Thursday, March 12, 2009 4:49 PM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] CookieCrumbler question There is

Re: [Zope] CookieCrumbler question

2009-03-12 Thread Dvir Bar-lev
searched the web but couldn't find any way to do it From: Thibaud Morel l'Horset [mailto:tee...@gmail.com] Sent: Thursday, March 12, 2009 4:29 PM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] CookieCrumbler question Is your cookiecrumbler installed at the root of your sit

[Zope] CookieCrumbler question

2009-03-12 Thread Dvir Bar-lev
Hi I used the CookieCrumbler plugin the make a log in. I added the CookeCrumbler(standalone> from the ZMI , and now I have a log in form that acts oka but I want logout the user, so what I did was call the logout function of cookiecrumbler like this: And that does bring me to the logg

Re: [Zope] redirect timeout doesn't work

2009-03-12 Thread Dvir Bar-lev
It's ok I solved this by using a javascript at the end to achieve this -Original Message- From: Lennart Regebro [mailto:rege...@gmail.com] Sent: Thursday, March 12, 2009 10:22 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] redirect timeout doesn't work On Wed, Mar 1

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
Hi just wanted to add something that I forgot to meantion. The problem I described only happenes on IE, on firefox it does the redirect even after I refresh the page manually -Original Message- From: zope-boun...@zope.org [mailto:zope-boun...@zope.org] On Behalf Of Dvir Bar-lev Sent

Re: [Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
From: Thierry Florac [mailto:thierry.flo...@onf.fr] Sent: Wednesday, March 11, 2009 3:24 PM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] redirect timeout doesn't work Le mercredi 11 mars 2009 à 14:59 +0200, Dvir Bar-lev a écrit : > I want to redirect a user from my page to anoth

[Zope] redirect timeout doesn't work

2009-03-11 Thread Dvir Bar-lev
Hi I want to redirect a user from my page to another page after a certain time, I put this code in the dtml page at the top I want to redirect from: But although it does refresh after the timeout it stays in the same page instead of going to the address listed in URLAddress. Anyone k

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
Yep I refresh after, I'll try to work with cookies than, tx -Original Message- From: Andrew Milton [mailto:a...@theinternet.com.au] Sent: Wednesday, March 11, 2009 11:13 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] session data object question +---[ Dvir Ba

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
. -Original Message- From: Andrew Milton [mailto:a...@theinternet.com.au] Sent: Wednesday, March 11, 2009 10:15 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] session data object question +---[ Dvir Bar-lev ]-- | Hi | | | | I was wondering if there is a

Re: [Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
:15 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] session data object question +---[ Dvir Bar-lev ]-- | Hi | | | | I was wondering if there is a way to connect the creation of a session object | to a button push. | | I?ll explain in more detail: | | | | I

[Zope] session data object question

2009-03-11 Thread Dvir Bar-lev
Hi I was wondering if there is a way to connect the creation of a session object to a button push. I'll explain in more detail: I have a log in from called login_form, and I have a dtml method called looged_in that is called when we push the submit button in the log in form. What I did i

Re: [Zope] refreshing problem

2009-03-10 Thread Dvir Bar-lev
Yep that solved it Tx a lot :) -Original Message- From: Andreas Jung [mailto:li...@zopyx.com] Sent: Tuesday, March 10, 2009 10:11 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] refreshing problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10.03.2009 9:06 Uhr, Dvir Bar

[Zope] refreshing problem

2009-03-10 Thread Dvir Bar-lev
Hi I want to force a certain page to automatically reload itself every time that the user goes to it from another page, meaning I don't want the browser to cache that page, I tried to look around and what I found was that if I included these 2 lines in the dtml method that shows the page it's

[Zope] timeout on a page

2009-03-09 Thread Dvir Bar-lev
Hi all. First of all let me say that I found the solution to my user roles problems by using the coockiecrumbler plugin, so that's behind me now J I need help with something else, I will explain what I want to accomplish: I have a page ( well call it Page a), the user gets to page a

Re: [Zope] how to check a user role with data entred by user?

2009-03-08 Thread Dvir Bar-lev
unday, March 08, 2009 10:42 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] how to check a user role with data entred by user? On Sun, Mar 8, 2009 at 08:07, Dvir Bar-lev wrote: > K, ill try to explain in more detail. :) > What I want to do is this: > > I create 2 roles in z

Re: [Zope] how to check a user role with data entred by user?

2009-03-07 Thread Dvir Bar-lev
hope this clears things up :) -Original Message- From: Lennart Regebro [mailto:rege...@gmail.com] Sent: Thursday, March 05, 2009 11:33 PM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] how to check a user role with data entred by user? On Thu, Mar 5, 2009 at 09:21, Dvir Bar-lev

Re: [Zope] how to check a user role with data entred by user?

2009-03-05 Thread Dvir Bar-lev
ilton [mailto:a...@theinternet.com.au] Sent: Thursday, March 05, 2009 10:29 AM To: Dvir Bar-lev Cc: zope@zope.org Subject: Re: [Zope] how to check a user role with data entred by user? +---[ Dvir Bar-lev ]-- | Hi all. | | | | I have a question and I hope someone can help m

[Zope] how to check a user role with data entred by user?

2009-03-05 Thread Dvir Bar-lev
Hi all. I have a question and I hope someone can help me out. I'm new to zope and the all web thing, I'm using zope2. What I did was this, I created a folder in the ZMI and there I created a user folder(acl_users), in the user folder I defined 2 new roles. Now, I have a log in form where