Re: [Zope] How to instruct my Zope to use another pytrhon than the one it was budled with.

2005-08-04 Thread tomatbiz-tominfo
  Thank you Puttaraju that was very good. I thought it
would be something like this but I am a rookie-Zope so
I can now go on and try with more confidence.
  Thank you Jim Abramson that was also some good piece
for me. I will have it in mind.
  I 'll try it some weekend and give you the feedback here.






___ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 

___
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 instruct my Zope to use another pytrhon than the one it was budled with.

2005-08-03 Thread tomatbiz-tominfo
Hello everybody,
its a hot day here today and pytho-zope-plone is the
best   refreshment of them all...
By the way i run on windows and my weapons bay as
follows :
 Zope Version (mast be 2.7.0)
(unreleased version, python 2.3.3, win32)

Python Version
2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200 32 bit
(Intel)]

System Platform
win32

SOFTWARE_HOME
C:\Program Files\Plone 2\Zope\lib\python

ZOPE_HOME
C:\Program Files\Plone 2\Zope

INSTANCE_HOME
C:\Program Files\Plone 2\Data

CLIENT_HOME
C:\Program Files\Plone 2\Data\var

Network Services
ZServer.HTTPServer.zhttp_server (Port: 80)
ZServer.HTTPServer.zhttp_server (Port: 8080)


I also have another Python version on my system and i
was wondering how could i tell Zope to use that one
instead of the one it comes with from the installation
executable package.






___ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 

___
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] Using relative paths doesn't seem to work as i thought

2005-08-01 Thread tomatbiz-tominfo

--- Dieter Maurer [EMAIL PROTECTED] έγραψε:

 [EMAIL PROTECTED] wrote at 2005-7-29
 12:48 +0100:
 Using relative paths doesn't seem to work as i
 thought.
 For example :
 I have a Plone site Plone
 Under that i have a folder object named Sales
 In Sales i have a Page Template object named
 SalesPage.
 I also put an index_html file object inside Sales
 Folder.
 I thought that the href inside index_html linking
 to
 SalesPage to the same folder would be
 ./SalesPage.
 This works fine from inside the ZMI witch gives me
 http://localhost:8080/Plone/Sales/SalesPage;.
 The problem is when i try to see the page from
 outside
 ZMI witch gives me http://localhost/SalesPage;.
 
 When Zope internally modifies the URL (to something
 different
 than what is know by the browser), it must tell the
 browser
 about this -- using the so called HTML base tag.
 
 Zope can set the base tag automatically provided
 the generated page contains a head tag without a
 base tag.
 
 If your page meats this requirements and you do not
 see
 the generated base tag (tell you browser to show
 you the
 HTML source and look out for the base tag) or the
 base tag has the wrong value (it should end in
 sales/),
 then you hit a bug (such bugs have been occationally
 introduced
 in the past).
 
 
 -- 
 Dieter
 

Thank you very much Dieter,
that was a lot of help for a novice like me. I did not
have a head in my page. After i did add it, Zope
automaticaly added the base tag and everything is
the way i expected to be...

Thanks again,
Thomas







___ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 

___
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] Using relative paths doesn't seem to work as i thought

2005-07-29 Thread tomatbiz-tominfo
Using relative paths doesn't seem to work as i
thought.
For example :
I have a Plone site Plone
Under that i have a folder object named Sales
In Sales i have a Page Template object named
SalesPage.
I also put an index_html file object inside Sales
Folder.
I thought that the href inside index_html linking to
SalesPage to the same folder would be ./SalesPage.
This works fine from inside the ZMI witch gives me
http://localhost:8080/Plone/Sales/SalesPage;.
The problem is when i try to see the page from outside
ZMI witch gives me http://localhost/SalesPage;.

So i had to change the href to ./Sales/SalesPage
This one gives
http://localhost:8080/Plone/Sales/Sales/SalesPage;
inside ZMI and
http://localhost/Plone/Sales/SalesPage; outside the
ZMI.
The funny thing is that they both work and give the
page i wantto see but i thing
http://localhost:8080/Plone/Sales/Sales/SalesPage;
sould not work since i do not have any
/Plone/Sales/Sales Folder object.

I use Zope 2.7.0 on Windows XP Pro and i have
installed Hotfix_20040714
Could anyone help me on this?
How sould i reffer to current folder instead of .
from an html inside this folder?


Thanks in advance.










___ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 

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