Robrecht JACQUES | 1 Jan 2005 12:28
Picon

Re: How to control sort order of sortable table

Op Fri, 31 Dec 2004 12:05:01 -0700, schreef Lars Hansen:
> Robrecht JACQUES wrote:

[snip]

> Wow! That is quite an undertaking. I am just a user --- a content
> writer. I have no access to source, scripts or templates. I can add html
> links and images. That is about it.

I'm not sure that you can add javascripts to the content of your documents
if you can add documents in 'html' format (eg like: <a onclick="...">). In
any case, you would then have to add the same javascript to each document
you edit - not nice!

So I don't see any way of doing it, without this "display: none" solution
you've posted.

> Actually, I would like to have more access, but it seams like that is
> only granted to our system admin. On the other hand, I do not think
> everybody should be able to mess with plone_javascript_variables.js and
> plone_javascripts.js. Is there some middle ground? I would like to be
> able to upload scripts and templates. I cannot do that as a local owner.
>   What about local manager?

I'm not sure what you mean by 'local manager'. A 'Manager' (a role in
Plone and Zope) can change the scripts and templates from within the ZMI
(not from within the Plone-interface), you don't need to be a 'system
admin' for that (where 'sysadmin' == the one setting up the server etc).

If you own the PloneSite, you probably are 'Manager' for this PloneSite,
(Continue reading)

David Pratt | 1 Jan 2005 15:34
Picon
Favicon

Re: session management sucks

I am not aware of the exuserfolder product.  This might help you with 
the first part.

Expiry timeout for session in zope can be set by changing your 
zope.conf:

# Directive: session-timeout-minutes
#
# Description:
#     An integer value representing the number of minutes to be used as 
the
#     "data object timeout" of the '/temp_folder/session_data' transient
#     object container.
#
# Default: 20
#
# Example:
#
#    session-timeout-minutes 30

On Friday, December 31, 2004, at 03:44 AM, Uwe C. Schroeder wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi all,
>
> I've been trying to do something really simple for about 2 weeks now 
> without
(Continue reading)

Tiberiu Ichim | 1 Jan 2005 17:58
Picon

epydoc, windows & plone

What should I do to be able to generate the documentation with epydoc on 
a plone 2 windows install?

I've installed epydoc using the python binary provided by plone and it 
installed epydoc in the correct site-packages folder.
I can run it succesfully and after I've added "D:\Plone 
2\Zope\lib\python" to the PYTHONPATH environment variable I can even 
generate documentation for zope.
But I can't do it for any product located in d:\Plones 2\Data\Products\ 
, even after adding this path to the PYTHONPATH.

Any idea on this? Help would be really apreciated.

Thanks

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Dieter Maurer | 1 Jan 2005 19:08
Picon

Re: session management sucks

Uwe C. Schroeder wrote at 2004-12-30 23:44 -0800:
> ...
>I've been trying to do something really simple for about 2 weeks now without 
>any success:
>I'm using plone + exuserfolder + standard session mgmt.
>All I want to do is expire the user after a given amount of time AND have some 
>script called when the session expires (to clean up my database states).

As you experience, it is not so simple:

  you try to integrate 2 independently developped subsystems
  that did not envisage integration...

The easiest way might be to use PAS (Pluggable Authentication Services).

  Recently, there was a discussion (on "zope-dev", I think) how to use PAS to
  have authentication information in the session (alone).

You have a way to let your script be called when a session
expires (and you have full knowledge about the session).
We are using this feature...

--

-- 
Dieter

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
(Continue reading)

Dieter Maurer | 1 Jan 2005 19:10
Picon

Re: Copying Plone sites

Pingveno wrote at 2004-12-31 11:03 -0800:
>I'm trying to set up several Plone sites on different servers with an 
>identical layout. Can I just use export in the ZMI, or is a more complex 
>solution needed?

When you complete layout is inside the ZODB...

There is a HowTo about moving Plone sites -- sometimes the
skin paths need adjustment.

--

-- 
Dieter

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
+lupa+ | 1 Jan 2005 22:13

[ANN] CalendarX-0.4.10(stable) released

Hi Folks,

The development branch of CalendarX is now stable, and released on 
Sourceforge as both a tarball (CalendarX-0.4.10.tar.gz) and in CVS as 
Release-0_4_10.  There is also a draft version of a Manual for CalendarX in 
PDF format included, so that you don't have to hunt through all the 
textfiles in /docs to find how to configure something.

Many people have been using the 0.4 branch in production for some months 
now, so it is quite stable and much more flexible than the previous stable 
release (0.2 branch).

Here's the scoop from the OVERVIEW.txt file.

Basic Feature list --

     * Provides basic calendar functionality with standard Plone content 
(CMFEvents, AT Events, custom AT events).
     * Month, Week by day, Week by hour, Day views available.
     * Metacalendar: Categorize your Events using the Subject attribute 
standard on all Plone/CMF events. Choose categories in a bar just below the 
View tabs. Change subjects in portal_metadata tool. Choose between ONE 
subject at a time, or MULTIPLE subjects at one time.
     * Many configuration options available through use of property sheets, 
including decoration of the calendar, decoration of events by Subject or 
Type, putting restrictions on the type, location or subject of events 
shown, etc.
     * Day and WeekByHour views can be easily managed to display fractional 
days: from 8am to 6pm, for example. Hours displayed on these can be set to 
12 or 24 hour formats.
(Continue reading)

Pablo Ibarrolaza | 2 Jan 2005 01:35
Picon

Re: Re: Restricting access to folders

Dear Tom

I'm trying to implement a workflow's member folder to another folder
in the plone site like this:

Create a new folder and publish them...
Created in shared tab permision to users or grups like
member, viewer, owner

doen't work properly
if I log as member i can't create content
if I log as owner i cant create but the document doesn't go to the
workflow it't publish anyway

I need to work with the "member workflow folder" in any folder

Any Idea ?

thank very much,
Pablo

On Fri, 31 Dec 2004 16:03:53 +0100, Thomas Uttenthaler
<tom@...> wrote:
> thus spake thilagam.punithavathy-uxC5H9eHYlcAvxtiuMwx3w@...:
>  > To restrict the access to folders, I tried the solutions 1 & 2 specified
>  > at 'Restricting access to folders with "shared" users' -
>  > http://plone.org/documentation/howto/collective-user/view?searchterm=res
>  > tricted%20access
>  >
>  > But, every user is able to access the content of the restricted folder,
(Continue reading)

Lukas Zdych | 2 Jan 2005 14:53
Picon

SoftwarePackageNG - problem

Hi,

      I'm testing the SoftwarePackageNG-0.2 product on Plone2.0.5 (Zope 
2.7) and I have the problem with saving the package properties.
      When I open the SWpackage object for editing (via Plone interface) 
and I choose section: "package", then I fill the "description" field 
(which is required) and then when I click on "save" I got the error 
message that "description" is required... Can anybody help me to fix it? 
Thanx.

Lukas Zdych
lukas.zdych@...

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Dieter Maurer | 2 Jan 2005 18:52
Picon

Re: epydoc, windows & plone

Tiberiu Ichim wrote at 2005-1-1 18:58 +0200:
>What should I do to be able to generate the documentation with epydoc on 
>a plone 2 windows install?
>
>I've installed epydoc using the python binary provided by plone and it 
>installed epydoc in the correct site-packages folder.
>I can run it succesfully and after I've added "D:\Plone 
>2\Zope\lib\python" to the PYTHONPATH environment variable I can even 
>generate documentation for zope.
>But I can't do it for any product located in d:\Plones 2\Data\Products\ 
>, even after adding this path to the PYTHONPATH.
>
>Any idea on this? Help would be really apreciated.

There is a HowTo around how to set up "epydoc" for Zope.
As I understood, it is not trivial.

--

-- 
Dieter

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
Lars Hansen | 2 Jan 2005 19:10

Re: How to control sort order of sortable table

Robrecht JACQUES wrote:
[ snip]

> 
> I'm not sure what you mean by 'local manager'. A 'Manager' (a role in
> Plone and Zope) can change the scripts and templates from within the ZMI
> (not from within the Plone-interface), you don't need to be a 'system
> admin' for that (where 'sysadmin' == the one setting up the server etc).
> 
> If you own the PloneSite, you probably are 'Manager' for this PloneSite,
> so you shoudl be able to change stuff. You'll need to read some
> documentation first though: the Zope Book, the Plone helpcenter, etc. It
> goes beyond 'adding content'.
> 
> 

When I say local, I mean part of the web site. Right now I have been 
setup as an owner of part of our website. This means I can go ZMI on 
this part (tree of folders). Still, the ZMI does not seems to give me 
more power. I still cannot add scripts or templates. The ZMI "add 
contents" menu has 21 items, but not "Script (Python)", "External 
Method" or "Page Template". Is there a way to setup Plone/Zope so that I 
can add my own scripts etc., without being a manager of the whole site?

I have a couple of books on Plone. "The definitive Guide to Plone" and 
"Building Website with Plone". They seems to expect that whoever build 
the site, i.e. does the scripting and uses templates, are site managers.

Lars

(Continue reading)


Gmane