Flemming Bjerke | 1 Jul 2005 01:06
Picon

Re: SV: ZPT as content type

On Thu, 2005-06-30 at 11:25, Kim L. Jacobsen wrote:
> Thanks - I tried it and it worked as expected. :-)
> 
> I guess with this solution you would need to have a content type for
> each page with dynamic content. If you have a lot of dynamic content,
> this would probably be a little messy. As there seems not to be a
> general solution to this, I think I'll make one, if I'm able to (reading
> about Archetypes right now). It seems it should be possible to make at
> content type, which handles this.
> 
It is quite easy to make from the link type. Just make a new type as
described in the plonebook (but based on the link type). After having
customized and renamed link_view, you change the code so that it renders
zpt, instead of displaying a link. When you use it, you insert the
relative link to the zpt in the edit form. In this way, you can make
zpts on your zope instance visible in Plone.

Flemming Bjerke

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Erwin Ambrosch | 1 Jul 2005 01:30
Picon
Favicon

Open an external site within the content area of plone

Hi,

is the following possible.

I've an article with a link to an external site. What I need is to open this
site within the content area of my plone site.

Thanks in Advance

Erwin

--
Open WebMail Project (http://openwebmail.org)
Debian Project (http://www.debian.org)

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Dave Fregon | 1 Jul 2005 02:15
Favicon

Re: Open an external site within the content area of plone

Erwin Ambrosch wrote:
> Hi,
> 
> is the following possible.
> 
> I've an article with a link to an external site. What I need is to open this
> site within the content area of my plone site.

You could do this quickly just modifying the document_view into a new
ZPT and utilizing an IFRAME .. and link to that via your document.

.. or you could grab the content off the site (depending on your
access/rights to it) via an external method that parses the HTML for the
relevant info and displays it.

Dave

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Erwin Ambrosch | 1 Jul 2005 02:05
Picon
Favicon

Re: Open an external site within the content area of plone

Hi,

found a solution myself (a onliner document with the iframe tag). But know
I've another requirement. Is it possible to read the Target-URL from the
REQUEST object within a plone document.

For instance can i do something like this:

<iframe src="REQUEST.url0" />

Thanks

Erwin

On Fri, 1 Jul 2005 01:30:59 +0200, Erwin Ambrosch wrote
> Hi,
> 
> is the following possible.
> 
> I've an article with a link to an external site. What I need is to 
> open this site within the content area of my plone site.
> 
> Thanks in Advance
> 
> Erwin
> 
> --
> Open WebMail Project (http://openwebmail.org)
> Debian Project (http://www.debian.org)
> 
(Continue reading)

Daniel Lee | 1 Jul 2005 02:04
Picon
Favicon

Locked out of Plone instance

After attempting to block anonymous users from commenting on my plone 
instance, I got locked out of it.

Here is what I did.
I went to the ZMI and clicked on the security tab.
Then I scrolled down to "reply to item" and unchecked the "inherit" 
checkbox and unchecked the "anonymous" checkbox.

After doing this, I was unable to access my Plone instance.  It asks for 
a Zope username and password. I think it wants the "Root Root" password 
because I tried my administrator username and password and it didn't 
work.  Unfortunately I am unsure of the root password.  Is there a way I 
can get my plone instance back up again?

In a related topic, is there a way to back up an entire plone instance 
w/out having to copy all the individual files and folders?

Thanks for any help!
-Daniel

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Rene Pijlman | 1 Jul 2005 03:30
Picon

Re: Locked out of Plone instance

Daniel Lee:
>After attempting to block anonymous users from commenting on my plone 
>instance, I got locked out of it.

http://plone.org/documentation/faq/locked-out

>In a related topic, is there a way to back up an entire plone instance 
>w/out having to copy all the individual files and folders?

Backup Data.fs. And any customizations on the file system of
course.

http://plone.org/documentation/faq/plone-backup-move

--

-- 
Regards / Groeten,  http://www.leren.nl
Rene Pijlman        http://www.applinet.nl

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
Peter Shute (NUW | 1 Jul 2005 04:16
Picon
Favicon

Re: adding an item to a folder in right order

On Friday, July 01, 2005 5:27 AM free cetus <free_cetus@...> wrote:

> When I add a document or a file to a folder,
> it's default position is at the bottom and I can move it up only one
> position at a time.
> This creates a problem when I have a folder with over 30 items in it
> and I want new items to be added at the top. Any ideas how to change
> this?
> I don't need to change all folders behavior, only one specific folder.
> Ideally new items will be added at the top of my folder,
> alternatively folder items will be sorted by the items description
> field.
> A better way to quickly move items to their correct position will
> also be helpful.
> How do I go about implementing this?

Someone asked something similar a few days ago.  Does this help
http://article.gmane.org/gmane.comp.web.zope.plone.user/36817 ?

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
bbxrider | 1 Jul 2005 05:18
Picon

try again- form submit requires site login?

i have form with a validate and action script.
if the form data validates it should 'traverse_to' an action script that 
will send a simple acknowledgement page. however, it seems before the 
Contoller page template action, 'traverse_to' script runs, it requires a 
site login. its not an error, its the standard login page.  the sequence of 
events is: 1 submit form., 2 get site login screen, 3. get acknowledgement 
page that the action script delivers. (assuming you login)
the form is collecting site visitor inquiry type information, so most of 
the submitters won't already be site members and i don't want to force them 
to join at this point. i cannot figure what is forcing the site login to be 
invoked after a successful validation and could use some help.

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Ian F. Hood | 1 Jul 2005 07:12
Picon
Favicon

must stop sibling 'plone sites's from traverse/acquiring each other's ...

Hi all.
I found a thread about this from a few months ago but it really wasn't 
solved.
the scenario is 2 (or more) Plone Sites as siblings on the Root.
Since I am the admin for both, they tend to show each other's folders.
The prior thread concluded this was ok since only an auth'd person would 
see it..
but even as admin I expect unrelated content not to break the sites..
I will have more than one person accessing sites with this level of 
permission.. this is a huge potential disaster.  It's impossible to know 
where things are coming from or to whom they belong.

How can I get the Plone Site (just its home folder??) to NOT acquire? or 
not traverse other sites?
I need an elegant solution, and I am still relatively new.
Ian

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
Yannick Biet | 1 Jul 2005 09:15
Picon

Re: skin layer not persistent ?

Dieter Maurer a écrit :
> Yannick Biet wrote at 2005-6-29 15:14 +0200:
> 
>>I install a product skin layer using archetypes install_subskin() method
>>(it's a custom workflow that has its own templates)
>>
>>Problem is that when I restart zope server, the directory is still 
>>mounted in portal_skins but empty.
> 
> 
> This probably means that the corresponding directory is
> not registered.
> 
> Usually, the defining product is responsible to register its
> "skins" directory.
> 
> 
yep was the case, as I posted just the post before

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

Gmane