Re: [Zope] Re: Preserving Context
----- Original Message ---- From: Maciej Wisniowski maciej.wisniowski@coig.katowice.pl
There is 'return 0' at the beginning, or it is a mistake? If it is 'return 0' then the code below it is never executed...
Yes there is a 'return 0' at the beginning. This code always executes and works just fine, as I've mentioned before, as long as the template is in the root folder of the given Web site. I'm trying to put this template in a "root" folder that services all the Web sites of the portal, and that's where I'm having trouble. TIA, Javier ____________________________________________________________________________________ Yahoo! Music Unlimited Access over 1 million songs. http://music.yahoo.com/unlimited
Yes there is a 'return 0' at the beginning. This code always executes and works just fine, as I've mentioned before, as long as the template is in the root folder of the given Web site. I'm trying to put this template in a "root" folder that services all the Web sites of the portal, and that's where I'm having trouble.
So this is not because of this code. Your script ALWAYS returns '0' and does nothing more. Just try to remove everything after 'return 0' and see if it changes anything or remove 'return 0' and see what happens then. -- Maciej Wisniowski
participants (2)
-
Javier Subervi -
Maciej Wisniowski