[Zope] Apache with Zope

2001-01-17 Thread Nuno Goncalves

Hi there !! I have zope and apache listeners in one machine !!
Is there any way to have only apache receiving requests for zope 
and apache, without having two listeners ???

I'm thinking of some module that provide zope funcionalaty to apache !
Without having ProxyPass and RewriteRule directives !!!

Is this not possible ? If you have some ideas, just shoot them :)
Best regards
thanks in advance
Nuno


___
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] Apache with Zope

2001-01-17 Thread Nuno Goncalves


Hi !
Yes i agree with you ! Besides, it was what i had in mind ! But
that way we have to listners to maintain ! apachectl stop / startssl
and the usual stop start in Zope directory !!! 
Is there a way of administrating the two listners in a easy way ?
You talked about some cgis ! What was your idea ?
thanks and best regards
Nuno
On Wed, 17 Jan 2001, Simon Coles wrote:

 Hi there !! I have zope and apache listeners in one machine !!
 Is there any way to have only apache receiving requests for zope
 and apache, without having two listeners ???
 
 I'm thinking of some module that provide zope funcionalaty to apache !
 Without having ProxyPass and RewriteRule directives !!!
 
 Is this not possible ? If you have some ideas, just shoot them :)
 
 I think what you're asking for is a way of having just Apache 
 listening on port 80 of your server, and then Apache passing on 
 requests to Zope - and you want to do this without using ProxyPass.
 
 There are various CGI-derived ways of doing this, but to be honest 
 the ProxyPass setup works very well indeed and doesn't seem to incur 
 any massive performance hit. So unless you have a really good reason 
 for not using ProxyPass, I would just move your Zope onto a port 
 other than 80 and use ProxyPass.
 
 
 
 Simon
 -- 
 - My opinions are my own, NIP's opinions are theirs --
 Simon J. Coles Email: [EMAIL PROTECTED]
 New Information Paradigms  Work Phone: +44 1344 753703
 http://www.nipltd.com/ Work Fax:   +44 1344 753742
 === Life is too precious to take seriously ===
 


___
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 with Word Documents

2001-01-12 Thread Nuno Goncalves

Hi there !
Is it possible to catalog the content of a word document with Zcatalog ?
If so i would apreciate that someone could tell me how !!

Thanks !
Best regards

Nuno
k


___
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] images transfering

2001-01-09 Thread Nuno Goncalves

Hello !!
I'm trying to import to zope an directory in my file system which has
several images (about 1000) !
How can i do this without importing an image one by one (little bit
tiring :) !!!
I have searched several ways, including building a XML-RPC function
to transfering all the images, but unsuccessful !!!

I apreciate any suggestions

thanks !
Nuno


___
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] images bi XML-RPC

2001-01-05 Thread Nuno Goncalves

Hi there !
I'm trying to add imagens with a perl XML-RPC script
Does anyone knows how to do that ??
I'm tring something like this
but Zope adds a conten-type like text/x-unknown-content-type
and i wanted a image content-type !

here's the code :
-
#!/usr/bin/perl

use Frontier::Client;

$c = new
Frontier::Client(url="http://localhost:/name/Template/images");

$arr_teste[0]='primeiro';
$arr_teste[1]='segundo';

$arr = $c-call('manage_addImage',('id-img_pl','banner_bck.gif'));



thanks !!
Nuno


___
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] parameters

2000-12-19 Thread Nuno Goncalves

Hi everybody !
I'm trying to pass some parameters to a dtml method.
It's something like dtml-var expr="template(menu, menu2)"
written in a dtml document XPTO.

template is a dtml method !

Question is :
Is it possible to catch in a dtml method the parameters passed by
dtml-var expr="template(menu, menu2)" ???

How can i catch menu and menu2 in the dtml method template ??

thanks in advance
best regards, Nuno


___
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] site structure

2000-12-14 Thread Nuno Goncalves

Hi !
How can we define a structure for an entire site with Zope ?
for example i want that all the site's pages have a table with 3
colums. it's kind of a template for the web site !

thanks in advance !
best regards,
Nuno


___
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] site structure

2000-12-14 Thread Nuno Goncalves

 On Thu, 14 Dec 2000, Nuno Goncalves wrote:
  How can we define a structure for an entire site with Zope ?
  for example i want that all the site's pages have a table with 3
  colums. it's kind of a template for the web site !
 
Using standard_html_header and standard_html_footer in every Document on
 your site...
But that way if i want to change the structure, i have to change on every
page.
My ideia was to create a template(3 colums) where i add objects (dtml
documents).
If i want to change the site structure to 2 colums i only change the
template !

Nuno

 
 Oleg.
 
  Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
 
 


___
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] site structure (fwd)

2000-12-14 Thread Nuno Goncalves

i see !!!
i have just found a package ZopeFish that has ZFSuite.
ZFSuite has an object (ZF document template) that 
defines a layout and structure for the entire site.

More info at
http://www.zope.org/WikiCentral/ZFWiki

still
i installed it (it is a bunch of libs) but i haven't tested it !

if i get it work i will tell you 

thanks


On Thu, 14 Dec 2000, Max M wrote:

 From: Oleg Broytmann
 
  But that way if i want to change the structure, i have to change on every
  page.
 
No, you only need to change 2 places: standard_html_header and
 standard_html_footer :) All Documents that use these header/footer will be
 rendered using new structure.
 
 I think you misunderstand him. He is actually right.
 
 Some things are pretty hard to do in zope, because of the header/footer
 principle.
 
 Making a global look to a site can be pretty difficult if it doesn't fit
 nicely into a header/footer structure, with a main area being the pages'
 unique content.
 
 If I where to do it in regular Python I would use special classes for
 special layouts. That is hard to do in Zope.
 
 Regards maxm
 
 Max M. W. Rasmussen,Denmark.   New Media Director
 private: [EMAIL PROTECTED] work: [EMAIL PROTECTED]
 -
 Specialization is for insects.  -  Robert A. Heinlein
 
 
 ___
 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] site structure (fwd)

2000-12-14 Thread Nuno Goncalves

On Thu, 14 Dec 2000, Oleg Broytmann wrote:

 On Thu, 14 Dec 2000, Max M wrote:
  If I where to do it in regular Python I would use special classes for
  special layouts. That is hard to do in Zope.
 
Why hard? Not hard at all - develop your own set of classes, make it
 into a Product, and use instance of these classes instead of DTML
 Documents. Actually, there is nothing special in DTML Documents - they are
 instances of DTMLDocument class, nothing more. Creating your own type of
 document is not harder, IMHO.

I was thinking about that to !
But how could you build a page with the template developed ??
something like:
dtml var template(COMPONENTS LIKE HEADER AND FOOTER AS ARGUMENTS)
and how can you generelize the objects to beeing used by the template ?


 
 Oleg.
 
  Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
 
 
 ___
 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] site structure (fwd)

2000-12-14 Thread Nuno Goncalves

  But how could you build a page with the template developed ??
  something like:
  dtml var template(COMPONENTS LIKE HEADER AND FOOTER AS ARGUMENTS)
  and how can you generelize the objects to beeing used by the template ?
 
No, no, no! :)
You misunderstand how the Zope works. You think that basic building
 block is a piece of HTML (probably you think to put it into DTML
 Documents). No. In Zope basic building block is "instance of some python
 class". A DTML Document is an instance of DTMLDocument class, e.g.
If you develop your own set of classes, you'll just build Zope sites
 creating instances of these classes - you put HTML fragmenst just into
 these instances. Zope will call your objects, you don't need to use DTML to
 call them.

humm !!! I see now !!
So i can have a general structure for all my site and when create a
page, specifying the template to use and consequently adding the objects
that i want ??

Nuno

 
 Oleg.
 
  Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
 
 


___
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 )