How to open the File in View mode

3 messages Options
Embed this post
Permalink
micks80 () How to open the File in View mode
Reply Threaded More More options
Print post
Permalink
Hi Friends,
I have a simple question and would appreciate if someone can help.

Whenever I upload a file on my Plone instance, the link I get via email directly points to the file. Same thing happens when qPloneComments sends out the link when somebody posts a comment to that file e.g.:

View new comment added to the following page "Test File":
http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf

This is causing a lot of trouble becuase people like to click that link to read the comment instead when they click, it opens the open/save file dialog box pops-up. I know this qPloneComments specific issue but I just gave that as an example and I have other cases as well where I need to see the file 'view'.

So, how can I make my Plone instance append /view to all outgoing URLs i.e.
http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf/view

Here's my environment details:

Plone Version Overview

    * Plone 3.1.2
    * CMF 2.1.1
    * Zope (Zope 2.10.6-final, python 2.4.4, win32)
    * Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
    * PIL 1.1.6

I would really appreciate if someone can help.
Thanks
Mick
micks80 () Re: How to open the File in View mode
Reply Threaded More More options
Print post
Permalink
Anyone?? I need some help ...

micks80 wrote:
Hi Friends,
I have a simple question and would appreciate if someone can help.

Whenever I upload a file on my Plone instance, the link I get via email directly points to the file. Same thing happens when qPloneComments sends out the link when somebody posts a comment to that file e.g.:

View new comment added to the following page "Test File":
http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf

This is causing a lot of trouble becuase people like to click that link to read the comment instead when they click, it opens the open/save file dialog box pops-up. I know this qPloneComments specific issue but I just gave that as an example and I have other cases as well where I need to see the file 'view'.

So, how can I make my Plone instance append /view to all outgoing URLs i.e.
http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf/view

Here's my environment details:

Plone Version Overview

    * Plone 3.1.2
    * CMF 2.1.1
    * Zope (Zope 2.10.6-final, python 2.4.4, win32)
    * Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit (Intel)]
    * PIL 1.1.6

I would really appreciate if someone can help.
Thanks
Mick
Donna Snow (SnowWrite)-2 () Re: How to open the File in View mode
Reply Threaded More More options
Print post
Permalink
Lots of people in US probably busy with family and events for the holiday weekend :-)

Check under portal_types for the file content type and look to see what the default template is.. I believe you have to append /view in that file.

Donna 'SnowWrite' Snow, Principal
C Squared Enterprises

On Fri, Jul 3, 2009 at 4:57 PM, micks80 <[hidden email]> wrote:

Anyone?? I need some help ...


micks80 wrote:
>
> Hi Friends,
> I have a simple question and would appreciate if someone can help.
>
> Whenever I upload a file on my Plone instance, the link I get via email
> directly points to the file. Same thing happens when qPloneComments sends
> out the link when somebody posts a comment to that file e.g.:
>
> View new comment added to the following page "Test File":
> http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf
>
> This is causing a lot of trouble becuase people like to click that link to
> read the comment instead when they click, it opens the open/save file
> dialog box pops-up. I know this qPloneComments specific issue but I just
> gave that as an example and I have other cases as well where I need to see
> the file 'view'.
>
> So, how can I make my Plone instance append /view to all outgoing URLs
> i.e.
> http://mysite/testfolder/test%20File%20Application%20-v1.4.pdf/view
>
> Here's my environment details:
>
> Plone Version Overview
>
>     * Plone 3.1.2
>     * CMF 2.1.1
>     * Zope (Zope 2.10.6-final, python 2.4.4, win32)
>     * Python 2.4.4 (#71, Oct 18 2006, 08:34:43) [MSC v.1310 32 bit
> (Intel)]
>     * PIL 1.1.6
>
> I would really appreciate if someone can help.
> Thanks
> Mick
>

--
View this message in context: http://n2.nabble.com/How-to-open-the-File-in-View-mode-tp3185370p3203923.html
Sent from the General Questions mailing list archive at Nabble.com.


------------------------------------------------------------------------------
_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users


------------------------------------------------------------------------------

_______________________________________________
Plone-Users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/plone-users