Brenda Bell | 2 May 19:47

Where do I start?

I've inherited a Plone project and I'm having some trouble sorting 
things out.  I first headed for the documentation which proved to be 
somewhat overwhelming.  So my first question is whether I can start with 
the Plone documentation or whether I need to start with the Zope 
documentation.

I have a clear idea of what I need to accomplish and I actually have a 
Plone site up and running on Mac OS X 10.5.  Clicking on the Control 
Panel gives me the following version info:

Zope Version
(Zope 2.10.5-final, python 2.4.4, darwin)
Python Version
2.4.4 (#1, Dec 20 2007, 22:27:19) [GCC 4.0.1 (Apple Computer, Inc. build 
5370)]

So my second question is how does one determine which version of Plone I 
have? I didn't install anything -- all I did was check out a bunch of 
files from SVN, follow some instructions to run a setup.py, bootstrap.py 
and buildout, and it basically came up running.

I have a long list of "Products", but the indicated versions don't seem 
to tell me whether I'm running Plone 3.x or 2.5.

What I'm trying to accomplish is relatively simple:  I need to populate 
a Plone Site from files (text and images) stored in the file system and 
have users be able to modify those files, either by editing the text or 
uploading a new image.  I've successfully used ExternalFile, but all I 
see in my Plone Site is a bunch of empty folders.  And ExternalFile is 
only available from the management interface -- not from my Plone Site.
(Continue reading)

Martin Aspeli | 3 May 11:58
Picon
Gravatar

Re: Where do I start?

Brenda Bell wrote:
> I've inherited a Plone project and I'm having some trouble sorting 
> things out.  I first headed for the documentation which proved to be 
> somewhat overwhelming.  So my first question is whether I can start with 
> the Plone documentation or whether I need to start with the Zope 
> documentation.

I'd start with the Plone documentation. The Zope Page Template chapters 
of the Zope Book (see plope.com) are reasonably useful, but the Plone 
docs are typically most relevant.

> I have a clear idea of what I need to accomplish and I actually have a 
> Plone site up and running on Mac OS X 10.5.  Clicking on the Control 
> Panel gives me the following version info:
> 
> Zope Version
> (Zope 2.10.5-final, python 2.4.4, darwin)
> Python Version
> 2.4.4 (#1, Dec 20 2007, 22:27:19) [GCC 4.0.1 (Apple Computer, Inc. build 
> 5370)]

Which version of Plone? I'd guess 3.0.x since you have Zope 2.10.5, but 
best to be sure.

> So my second question is how does one determine which version of Plone I 
> have? 

:-)

It should say in "Site Setup".
(Continue reading)

Brenda Bell | 4 May 03:46

Re: Where do I start?

Martin Aspeli <optilude@...> writes:

> Which version of Plone? I'd guess 3.0.x since you have Zope 2.10.5, but 
> best to be sure.
> 
> > So my second question is how does one determine which version of Plone I 
> > have? 
> 
> It should say in "Site Setup".

Found it!  I'm using 3.0.6

> Plone doesn't typically deal directly with files stored on the 
> filesystem. Things like ExternalFile (as far as I know) still presume 
> the files were created by and are managed by Plone. There's a product 
> called Reflecto that can view a filesystem folder, but I'm unsure 
> whether it lets you edit content.

Hmmm.  ExternalFile definitely lets me create "links" between a Plone object
and a file that existed in the file system before even launching Zope.  It has 
an interface that lets me edit text files or upload images.  Uploading an image
actually replaces the image in the file system.

It works fine from ZMI.  I just can't figure out how to expose that same 
functionality in my Plone site.  So it's back to the docs!

Thanks.

Brenda

(Continue reading)

MLimburg | 5 May 07:14
Picon
Picon

Please help with Plone 3.1.1 with LDAP, using Buildout


Howdy all,

Whilst fairly new to python, I do have a fair bit of generic Linux
experience and thought I'd trial Plone for a project I'm on.  My first look
was simplicity itself, and demonstrated that indeed, Plone rocked and rocked
hard.  However, it all fell into pieces trying to get the install to
function with our internal LDAP environment.  Drupal works well enough with
it, but I found myself chasing my tail trying to find the solution for
Plone.

I left it a few weeks, and tried again with a fresh head and with a fresher
3.1.1 install.

I've hit the wall again, and just don't know which of the conflicting
readmes, FAQs, or web postings are going to get me over the line ... so here
I am.

What I'm after, and I'm sure it's a document that would be well regarded by
many newbies, is a step-by-step guide to how to install the LDAP
functionality into the buildout process.  Between simplon and PloneLDAP,
where to place them, what configuration files to alter, and the glue in
between .. I'm lost.

I do think that a document that explains how to get a buildout powered Plone
and LDAP, would be of great use.  Firstly, just for it's content of course,
but secondly, as a basis of understanding for others who want to create
their own buildouts.  I think it would be an excellent example, as it
incorporates different "styles" of addons for Plone (egg and otherwise).

(Continue reading)

CERETTO Thierry | 5 May 10:18
Picon

RE : Where do I start?

Hi,

Welcome in Zope/Plone's world...

My comments after ">>>"

-----Message d'origine-----
De : setup-bounces@...
[mailto:setup-bounces@...] De la part de Brenda Bell
Envoyé : vendredi 2 mai 2008 19:47
À : setup@...
Objet : [Setup] Where do I start?

I've inherited a Plone project and I'm having some trouble sorting 
things out.  I first headed for the documentation which proved to be 
somewhat overwhelming.  So my first question is whether I can start with 
the Plone documentation or whether I need to start with the Zope 
documentation.

>>> The Both... sorry for this answer but Plone and Zope are strongly related. You need to understand Zope
for work with Plone (You will need to use also the Python language...)

I have a clear idea of what I need to accomplish and I actually have a 
Plone site up and running on Mac OS X 10.5.  Clicking on the Control 
Panel gives me the following version info:

Zope Version
(Zope 2.10.5-final, python 2.4.4, darwin)
Python Version
2.4.4 (#1, Dec 20 2007, 22:27:19) [GCC 4.0.1 (Apple Computer, Inc. build 
(Continue reading)

Giovanni Toffoli | 7 May 10:24
Favicon

plone3_buildout cannot install SimpleAttachment and Ploneboard eggs

Hi, all,

on linux I've installed Plone 3.1.1 with ZopeSkel 1.10.
The entire procedure was ok.
I was able to start the instance, to access the ZMI, to create a Plone site 
and  to access it through the web.

Then I

1. added to the buildout.cfg file two Plone products packaged as eggs:
[buildout]
...
eggs =
    elementtree
    Products.SimpleAttachment
    Products.Ploneboard
...

2. run again the buildout:
[admin <at> linux01 plone3]$ ./bin/buildout -No
and the buildout has aborted soon after emitting the message
"Installed /tmp/tmp10OYXZ/Products.SimpleAttachment-3.0.2-py2.4.egg"

I've seen that a similar problem has been mentioned a few weeks ago in a 
post to this list, but apparently it got no reply; reference:
http://www.nabble.com/more-buildout-errors-on-Etch-td16338526s15482.html
However I think that this problem is not specific to the installation of 
SimpleAttachment, since a similar problem occurs to me even in the 
installation of Products.Ploneboard, if I put this package before the other 
one in the eggs list of the [buildout] section; in this case the 
(Continue reading)

bcacheira | 7 May 10:45
Picon

Extend user profile with SQLPAS + remember or CMF Plone override

Good day.

I have previously posted this on product-developers, but I only later realized
it was the wrong thread to do it... sorry.

I'm trying to retrieve some information from a MS SQL database about users,
which is currently working using freetds + unixodbc and can be used to
authenticate into plone via SQLPASPlugin. Plone version is 3.0.6.

Still, now I'd like to extend the fields I can retrieve with SQLPAS Load
properties and display them on the "author" page. I can do this up to a point
with the SQLPAS col_mapping, and hacking the author template to use the
GetUserProperties function, but that only gets me the logged in user
properties.

So basically, I wanted a way for me to be able to map user data on the database
(let's say something like his favourite colour) and have that information
available when anyone looks up the user profile on his author page.

I thought about using membrane + remember, but I don't know if that would enable
me to do it.

The I read the post made by Enrique Pablo Perez Arnaud in
http://plone.org/documentation/how-to/plone-2-5-and-openldap-integration-for-users-and-groups
and it seemed to go in the direction I intended. I had already modified author
and personalize_form, but I don't know how to overwrite CMF Plone in order to
extend the Membershiptool getMemberInfo. I think this might solve my problem,
but I lack the know-how :P

Also, is it possible to mix fields you load from the database with fields that
(Continue reading)

na servus | 7 May 15:26
Picon
Picon

Install PasterScript, ZopeSkel, zc.buildout offline


Hi, python 2.4.4 is allready installed. Now I want to install PasterScript ..
without connection to internet. The EGGs are in /downloads.
How must be the command ?
Now the command is:
/opt/python/Python-2.4.4/bin/easy_install PasterScript

When I start the command all packages are searched in the internet and not
local. Any ideas?
--

-- 
View this message in context: http://www.nabble.com/Install-PasterScript%2C-ZopeSkel%2C-zc.buildout-offline-tp17104859s15482p17104859.html
Sent from the Installation, Setup, Upgrades mailing list archive at Nabble.com.

Martin Aspeli | 7 May 19:11
Picon
Gravatar

Re: Install PasterScript, ZopeSkel, zc.buildout offline

na servus wrote:
> Hi, python 2.4.4 is allready installed. Now I want to install PasterScript ..
> without connection to internet. The EGGs are in /downloads.

For the buildout, you want to put them in the 'eggs' directory.

> How must be the command ?
> Now the command is:
> /opt/python/Python-2.4.4/bin/easy_install PasterScript

You do easy_install <somefile>.egg, I think. Look at the setuptools 
documentation.

Martin

--

-- 
Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

Martin Aspeli | 7 May 19:13
Picon
Gravatar

Re: plone3_buildout cannot install SimpleAttachment and Ploneboard eggs

Giovanni Toffoli wrote:
> Hi, all,
> 
> on linux I've installed Plone 3.1.1 with ZopeSkel 1.10.
> The entire procedure was ok.
> I was able to start the instance, to access the ZMI, to create a Plone site 
> and  to access it through the web.
> 
> Then I
> 
> 1. added to the buildout.cfg file two Plone products packaged as eggs:
> [buildout]
> ...
> eggs =
>     elementtree
>     Products.SimpleAttachment
>     Products.Ploneboard
> ...
> 
> 2. run again the buildout:
> [admin <at> linux01 plone3]$ ./bin/buildout -No
> and the buildout has aborted soon after emitting the message
> "Installed /tmp/tmp10OYXZ/Products.SimpleAttachment-3.0.2-py2.4.egg"

If you run with -o, then it won't try to download the egg. Try without 
the -No.

Martin

--

-- 
(Continue reading)


Gmane