Posted by Praveen Kumar on September 22, 2008
I need the authenticated userid and password from plone, to pass it to another application. is there any approach to it?
context.portal_membership.getAuthenticatedUser()
Since passwords are stored as hash, you can not get back the original password – only the password hash.
Posted in Plone | Leave a Comment »
Posted by Praveen Kumar on July 26, 2008
C compiler
To compile python
Python
To compile Zope
Zope
Web server for plone
Plone
Plone Products
Download python
http://www.python.org
Download zope
http://www.zope.org/Products
Download plone
http://plone.org/
Zope for Windows
Binary release
Bundled with Python
Zope for Unix-like OS
Source format
Can be compiled on almost any Unix-like OS
Python required
Installing Python
—————————–
Download the source to your home directory.
$tar –xvzf python.xxx.tar
e.g. /home/portal/src/
$cd pythone-xxx
e.g $/home/portal/src/python-xxx
$./configure –prefix=/where/to/install/python
e.g $./configure –prefix=/home/portal/src/python
make
make install
Installing Zope
————————–
Download the source to your home directory.
$tar –xvzf zope.xxx.tar
e.g. /home/portal/src/
$cd zope-xxx
e.g $/home/portal/src/python-xxx
$./configure –prefix=/where/to/install/zope
e.g $./configure –prefix=/home/portal/src/zopexxx –with-python=/home/portal/src/python-xxx/bin/python
make
make install
$cd /home/portal/src/zopexxx
$./mkzopeinstance.py
Install zope in a directory, where your instance should be located.
e.g. /home/porta/zope-portal
Username and password for an initial Zope user.
Installing Plone
——————————-
Download the source to your home directory.
$tar –xvzf plone.xxx.tar
e.g. /home/portal/src/
$cd plone-xxx
e.g $/home/portal/src/plone-xxx
$cp * /home/portal/zope-portal/Products
Starting Zope
————————-
$cd /home/portal/zope-portal
./runzope
./zopectl start
Installing Zope with Apache
Install at root
SiteAccess or VirtualHostMonster
Add following in httpd.conf file
<VirtualHost *>
ServerName site_name.nic.in
ProxyPass / http://127.0.0.1:8080/VirtualHostBase/http/site_name.nic.in:80/site_name/VirtualHostRoot/
ProxyPassReverse / http://127.0.0.1:8080/VirtualHostBase/http/site_name.nic.in:80/site_name/VirtualHostRoot/
</VirtualHost>
Posted in Installation | 3 Comments »